Intermittent failure in src/test/ui/reify-intrinsic.stderr #65036
Labels
A-pretty
Area: Pretty printing (including `-Z unpretty`)
A-reproducibility
Area: Reproducible / deterministic builds
A-resolve
Area: Name resolution
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The test
src/test/ui/reify-intrinsic.stderr
appears to be intermittently changing its output. Usually, it prints:unsafe extern "rust-intrinsic" fn(_) -> _ {std::intrinsics::transmute::<_, _>}
but sometimes it prints:
unsafe extern "rust-intrinsic" fn(_) -> _ {std::mem::transmute::<_, _>}
See a4cad41 for an example of this happening.
Here's a log snippet from a compiler build which prints
std::intrinsics::transmute
(the current expected output):Note
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: data=ValueNs("transmute") visible_parent=DefId(2:750 ~ core[5cf2]::intrinsics[0]) actual_parent=Some(DefId(2:924 ~ core[5cf2]::intrinsics[0]::[1]))
- this indicates that the chosenvisible_parent
(which is what actually gets printed) iscore::intrinsics
Output from a compiler which prints
std::mem::transmute
:Note
[DEBUG rustc::ty::print::pretty] try_print_visible_def_path: data=ValueNs("transmute") visible_parent=DefId(2:1114 ~ core[5cf2]::mem[0]) actual_parent=Some(DefId(2:924 ~ core[5cf2]::intrinsics[0]::[1]))
- here, thevisible_parent
iscore::mem
.There appears to be some non-determinism occuring, but I'm not sure where.
The text was updated successfully, but these errors were encountered: