Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make ty::Ty: Debug not call the Display impl #107084

Closed
wants to merge 8 commits into from

Conversation

BoxyUwU
Copy link
Member

@BoxyUwU BoxyUwU commented Jan 19, 2023

Ty's Debug impl currently calls Ty's Display impl. This means that ICE messages, debug statements etc in rustc all print out things that are missing useful details.

r? @compiler-errors

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jan 19, 2023
@rustbot
Copy link
Collaborator

rustbot commented Jan 19, 2023

Some changes occurred to the CTFE / Miri engine

cc @rust-lang/miri

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jan 19, 2023

I'm not sure that the change to every single mir-opt .mir file is reasonable lol

@rust-log-analyzer

This comment has been minimized.

@BoxyUwU BoxyUwU force-pushed the ty_debug_actually_debug branch 2 times, most recently from f6cc567 to 920ce60 Compare January 19, 2023 22:57
@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

@rust-log-analyzer

This comment has been minimized.

Copy link
Member

@compiler-errors compiler-errors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aside from one nit in the graphviz printing code, this looks good to me! 🦀

I'm alright with all the UI test changes that have to do with rustc_* testing attributes. The other UI test suite changes seem to do with no longer trimming paths due to using {} over {:?}.

Mir-opt test suite changes seem to do with the fact we debug-print consts, but I don't think that needs fixing.

I'm pretty convinced this does not needs an MCP or anything, since it's predominantly internal-facing and we don't guarantee anything about the stability of the places (e.g. MIR) that this PR pokes through.

I'll wait a few days to approve this just so nightly can branch (in the off chance that changing the path trimming behavior of something might cause an ICE, though really I doubt it) and so that anyone else can bring up comments that they have.

compiler/rustc_middle/src/mir/graphviz.rs Outdated Show resolved Hide resolved
compiler/rustc_middle/src/mir/mod.rs Show resolved Hide resolved
@RalfJung
Copy link
Member

Does this affect debug printing of Layout? It would be rather unfortunate if that would become less readable through a change like this.

The compiler has a bunch of types without Display (because implementing and maintaining that by hand is a pain), where Debug is derived for all printing, meaning the debug impl of the fields should ideally not be too verbose.

@BoxyUwU
Copy link
Member Author

BoxyUwU commented Jan 20, 2023

as far as I can tell rustc_abi::LayoutS does not contain any Ty so it should not be affected. Although I don't know if that's the type you meant

@RalfJung
Copy link
Member

RalfJung commented Jan 20, 2023 via email

@RalfJung
Copy link
Member

Specifically I am referring to this type whose derive(Debug) will become a lot less readable with this PR.

@compiler-errors
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Jan 27, 2023

📌 Commit 868dfc698c22638b081b7b5da12f03dff376d90f has been approved by compiler-errors

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 27, 2023
impl<'a, Ty: fmt::Debug + fmt::Display> fmt::Debug for ArgAbi<'a, Ty> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("ArgAbi").field("layout", &self.layout).field("mode", &self.mode).finish()
}
Copy link
Member

@RalfJung RalfJung Jan 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this become necessary?

EDIT: Oh I see, it's the new trait bounds on the TyAndLayout debug impl. That's unfortunate... but still, this seems like the best option then.

@bors
Copy link
Contributor

bors commented Jan 28, 2023

☔ The latest upstream changes (presumably #101692) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 28, 2023
@rust-log-analyzer
Copy link
Collaborator

The job dist-x86_64-mingw failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
[2610/3025] Building CXX object tools/dsymutil/CMakeFiles/dsymutil.dir/MachOUtils.cpp.obj
[2611/3025] Linking CXX static library lib\libLLVMMIRParser.a
[2612/3025] Linking CXX static library lib\libLLVMipo.a
[2613/3025] Linking CXX static library lib\libLLVMWebAssemblyUtils.a
FAILED: lib/libLLVMWebAssemblyUtils.a 
cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E rm -f lib\libLLVMWebAssemblyUtils.a && D:\a\rust\rust\mingw64\bin\ar.exe qc lib\libLLVMWebAssemblyUtils.a  lib/Target/WebAssembly/Utils/CMakeFiles/LLVMWebAssemblyUtils.dir/WebAssemblyUtilities.cpp.obj lib/Target/WebAssembly/Utils/CMakeFiles/LLVMWebAssemblyUtils.dir/WebAssemblyTypeUtilities.cpp.obj && D:\a\rust\rust\mingw64\bin\ranlib.exe lib\libLLVMWebAssemblyUtils.a && cd ."
D:\a\rust\rust\mingw64\bin\ar.exe: could not create temporary file whilst writing archive: no more archived files
[2614/3025] Linking CXX static library lib\libLLVMInterpreter.a
[2615/3025] Linking CXX static library lib\libLLVMAsmPrinter.a
[2616/3025] Linking CXX static library lib\libLLVMCoroutines.a
[2617/3025] Building CXX object tools/lli/CMakeFiles/lli.dir/ExecutionUtils.cpp.obj
[2617/3025] Building CXX object tools/lli/CMakeFiles/lli.dir/ExecutionUtils.cpp.obj
[2618/3025] Linking CXX static library lib\libLLVMSelectionDAG.a
[2619/3025] Building CXX object tools/lli/CMakeFiles/lli.dir/lli.cpp.obj
[2620/3025] Linking CXX executable bin\llvm-profdata.exe
ninja: build stopped: subcommand failed.
command did not execute successfully, got: exit code: 1


build script failed, must exit now', C:\Users\runneradmin\.cargo\registry\src\github.com-1ecc6299db9ec823\cmake-0.1.48\src\lib.rs:975:5
 finished in 260.072 seconds
Build completed unsuccessfully in 0:07:55

@bors
Copy link
Contributor

bors commented Jan 30, 2023

⌛ Testing commit 31b3373 with merge 084f72ec2807917a72f0c74449505484af9a2ea3...

@bors
Copy link
Contributor

bors commented Jan 30, 2023

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jan 30, 2023
@rust-log-analyzer
Copy link
Collaborator

The job x86_64-gnu-tools failed! Check out the build log: (web) (plain)

Click to see the possible cause of the failure (guessed by this bot)
tests/fail/shims/sync/libc_pthread_rwlock_write_write_deadlock.rs ... ok
tests/fail/panic/double_panic.rs ... ok

tests/fail/function_pointers/cast_fn_ptr2.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/function_pointers/cast_fn_ptr2.rs"
actual output differed from expected
--- tests/fail/function_pointers/cast_fn_ptr2.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: calling a function with argument of type (i32, i32) passing data of type i32
+error: Undefined Behavior: calling a function with argument of type Tuple([Int(I32), Int(I32)]) passing data of type Int(I32)
    |
 LL |     g(42)
 LL |     g(42)
-   |     ^^^^^ calling a function with argument of type (i32, i32) passing data of type i32
+   |     ^^^^^ calling a function with argument of type Tuple([Int(I32), Int(I32)]) passing data of type Int(I32)
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `calling a function with argument of type (i32, i32) passing data of type i32` not found in stderr output

There were 1 unmatched diagnostics at tests/fail/function_pointers/cast_fn_ptr2.rs:6
There were 1 unmatched diagnostics at tests/fail/function_pointers/cast_fn_ptr2.rs:6
    Error: Undefined Behavior: calling a function with argument of type Tuple([Int(I32), Int(I32)]) passing data of type Int(I32)
full stderr:
full stderr:
error: Undefined Behavior: calling a function with argument of type Tuple([Int(I32), Int(I32)]) passing data of type Int(I32)
   |
LL |     g(42)
LL |     g(42)
   |     ^^^^^ calling a function with argument of type Tuple([Int(I32), Int(I32)]) passing data of type Int(I32)
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/function_pointers/cast_fn_ptr2.rs:6:5: 6:10
---



tests/fail/function_pointers/cast_fn_ptr4.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/function_pointers/cast_fn_ptr4.rs"
actual output differed from expected
--- tests/fail/function_pointers/cast_fn_ptr4.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: calling a function with argument of type *const [i32] passing data of type *const i32
+error: Undefined Behavior: calling a function with argument of type RawPtr(TypeAndMut { ty: Slice(Int(I32)), mutbl: Not }) passing data of type RawPtr(TypeAndMut { ty: Int(I32), mutbl: Not })
    |
    |
 LL |     g(&42 as *const i32)
-   |     ^^^^^^^^^^^^^^^^^^^^ calling a function with argument of type *const [i32] passing data of type *const i32
+   |     ^^^^^^^^^^^^^^^^^^^^ calling a function with argument of type RawPtr(TypeAndMut { ty: Slice(Int(I32)), mutbl: Not }) passing data of type RawPtr(TypeAndMut { ty: Int(I32), mutbl: Not })
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `calling a function with argument of type *const [i32] passing data of type *const i32` not found in stderr output

There were 1 unmatched diagnostics at tests/fail/function_pointers/cast_fn_ptr4.rs:6
There were 1 unmatched diagnostics at tests/fail/function_pointers/cast_fn_ptr4.rs:6
    Error: Undefined Behavior: calling a function with argument of type RawPtr(TypeAndMut { ty: Slice(Int(I32)), mutbl: Not }) passing data of type RawPtr(TypeAndMut { ty: Int(I32), mutbl: Not })
full stderr:
full stderr:
error: Undefined Behavior: calling a function with argument of type RawPtr(TypeAndMut { ty: Slice(Int(I32)), mutbl: Not }) passing data of type RawPtr(TypeAndMut { ty: Int(I32), mutbl: Not })
   |
   |
LL |     g(&42 as *const i32)
   |     ^^^^^^^^^^^^^^^^^^^^ calling a function with argument of type RawPtr(TypeAndMut { ty: Slice(Int(I32)), mutbl: Not }) passing data of type RawPtr(TypeAndMut { ty: Int(I32), mutbl: Not })
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/function_pointers/cast_fn_ptr4.rs:6:5: 6:25
---



tests/fail/function_pointers/cast_fn_ptr5.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/function_pointers/cast_fn_ptr5.rs"
actual output differed from expected
--- tests/fail/function_pointers/cast_fn_ptr5.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: calling a function with return type u32 passing return place of type ()
+error: Undefined Behavior: calling a function with return type Uint(U32) passing return place of type Tuple([])
    |
 LL |     g()
 LL |     g()
-   |     ^^^ calling a function with return type u32 passing return place of type ()
+   |     ^^^ calling a function with return type Uint(U32) passing return place of type Tuple([])
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `calling a function with return type u32 passing return place of type ()` not found in stderr output

There were 1 unmatched diagnostics at tests/fail/function_pointers/cast_fn_ptr5.rs:8
There were 1 unmatched diagnostics at tests/fail/function_pointers/cast_fn_ptr5.rs:8
    Error: Undefined Behavior: calling a function with return type Uint(U32) passing return place of type Tuple([])
full stderr:
full stderr:
error: Undefined Behavior: calling a function with return type Uint(U32) passing return place of type Tuple([])
   |
LL |     g()
LL |     g()
   |     ^^^ calling a function with return type Uint(U32) passing return place of type Tuple([])
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/function_pointers/cast_fn_ptr5.rs:8:5: 8:8
---



tests/fail/intrinsics/float_to_int_32_inf1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_inf1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_inf1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Int(I32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, i32>(f32::INFINITY);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `i32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_inf1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_inf1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Int(I32)`
   |
   |
LL |         float_to_int_unchecked::<f32, i32>(f32::INFINITY);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_inf1.rs:10:9: 10:58
---



tests/fail/intrinsics/float_to_int_32_neg.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_neg.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_neg.stderr
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `u32`
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `u32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, u32>(-1.000000001f32);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `u32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_neg.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_neg.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U32)`
   |
   |
LL |         float_to_int_unchecked::<f32, u32>(-1.000000001f32);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_neg.rs:10:9: 10:60
---



tests/fail/intrinsics/float_to_int_32_nanneg.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_nanneg.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_nanneg.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `u32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, u32>(-f32::NAN);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `u32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_nanneg.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_nanneg.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
   |
   |
LL |         float_to_int_unchecked::<f32, u32>(-f32::NAN);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_nanneg.rs:10:9: 10:54
---



tests/fail/intrinsics/float_to_int_32_infneg1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_infneg1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_infneg1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, i32>(f32::NEG_INFINITY);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `i32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_infneg1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_infneg1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I32)`
   |
   |
LL |         float_to_int_unchecked::<f32, i32>(f32::NEG_INFINITY);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_infneg1.rs:10:9: 10:62
---



tests/fail/intrinsics/float_to_int_32_too_big1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_too_big1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_too_big1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `Int(I32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, i32>(2147483648.0f32);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `i32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_too_big1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_too_big1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `Int(I32)`
   |
   |
LL |         float_to_int_unchecked::<f32, i32>(2147483648.0f32);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2.14748365E+9 which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_too_big1.rs:10:9: 10:60
---



tests/fail/intrinsics/float_to_int_32_nan.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_nan.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_nan.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `u32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, u32>(f32::NAN);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `u32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_nan.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_nan.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
   |
   |
LL |         float_to_int_unchecked::<f32, u32>(f32::NAN);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_nan.rs:10:9: 10:53
---



tests/fail/intrinsics/float_to_int_32_too_big2.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_too_big2.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_too_big2.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `u32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `Uint(U32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, u32>((u32::MAX - 127) as f32);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `u32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `Uint(U32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_too_big2.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_too_big2.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `Uint(U32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `Uint(U32)`
   |
   |
LL |         float_to_int_unchecked::<f32, u32>((u32::MAX - 127) as f32);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 4.2949673E+9 which cannot be represented in target type `Uint(U32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_too_big2.rs:10:9: 10:68
---



tests/fail/intrinsics/float_to_int_32_too_small1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_32_too_small1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_32_too_small1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `Int(I32)`
    |
    |
 LL |         float_to_int_unchecked::<f32, i32>(-2147483904.0f32);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `i32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_32_too_small1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_32_too_small1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `Int(I32)`
   |
   |
LL |         float_to_int_unchecked::<f32, i32>(-2147483904.0f32);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2.1474839E+9 which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_32_too_small1.rs:10:9: 10:61
---



tests/fail/intrinsics/float_to_int_64_inf1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_inf1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_inf1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `u128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Uint(U128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u128>(f64::INFINITY);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `u128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Uint(U128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_inf1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_inf1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Uint(U128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Uint(U128)`
   |
   |
LL |         float_to_int_unchecked::<f64, u128>(f64::INFINITY);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on +Inf which cannot be represented in target type `Uint(U128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_inf1.rs:10:9: 10:59
---



tests/fail/intrinsics/float_to_int_64_infneg1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_infneg1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_infneg1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `u128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Uint(U128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u128>(f64::NEG_INFINITY);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `u128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Uint(U128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_infneg1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_infneg1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Uint(U128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Uint(U128)`
   |
   |
LL |         float_to_int_unchecked::<f64, u128>(f64::NEG_INFINITY);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Uint(U128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_infneg1.rs:10:9: 10:63
---



tests/fail/intrinsics/float_to_int_64_infneg2.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_infneg2.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_infneg2.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `i128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i128>(f64::NEG_INFINITY);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `i128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_infneg2.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_infneg2.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I128)`
   |
   |
LL |         float_to_int_unchecked::<f64, i128>(f64::NEG_INFINITY);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -Inf which cannot be represented in target type `Int(I128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_infneg2.rs:10:9: 10:63
---



tests/fail/intrinsics/float_to_int_64_nan.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_nan.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_nan.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `u32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u32>(f64::NAN);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `u32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_nan.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_nan.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
   |
   |
LL |         float_to_int_unchecked::<f64, u32>(f64::NAN);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on NaN which cannot be represented in target type `Uint(U32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_nan.rs:10:9: 10:53
---



tests/fail/intrinsics/float_to_int_64_neg.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_neg.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_neg.stderr
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `u128`
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `u128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u128>(-1.0000000000001f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `u128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_neg.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_neg.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U128)`
   |
   |
LL |         float_to_int_unchecked::<f64, u128>(-1.0000000000001f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1 which cannot be represented in target type `Uint(U128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_neg.rs:10:9: 10:65
---



tests/fail/intrinsics/float_to_int_64_too_big1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big1.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `Int(I32)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i32>(2147483648.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `i32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `Int(I32)`
   |
   |
LL |         float_to_int_unchecked::<f64, i32>(2147483648.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2147483648 which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big1.rs:10:9: 10:60
---



tests/fail/intrinsics/float_to_int_64_too_big3.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big3.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big3.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `u64`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `Uint(U64)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u64>(18446744073709551616.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `u64`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `Uint(U64)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u64`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big3.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big3.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `Uint(U64)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `Uint(U64)`
   |
   |
LL |         float_to_int_unchecked::<f64, u64>(18446744073709551616.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 1.8446744073709552E+19 which cannot be represented in target type `Uint(U64)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big3.rs:10:9: 10:70
---



tests/fail/intrinsics/float_to_int_64_too_big2.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big2.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big2.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `i64`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `Int(I64)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i64>(9223372036854775808.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `i64`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `Int(I64)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i64`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big2.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big2.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `Int(I64)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `Int(I64)`
   |
   |
LL |         float_to_int_unchecked::<f64, i64>(9223372036854775808.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 9.2233720368547758E+18 which cannot be represented in target type `Int(I64)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big2.rs:10:9: 10:69
---



tests/fail/intrinsics/float_to_int_64_too_big5.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big5.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big5.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `i128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i128>(240282366920938463463374607431768211455.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `i128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big5.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big5.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
   |
   |
LL |         float_to_int_unchecked::<f64, i128>(240282366920938463463374607431768211455.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big5.rs:10:9: 10:90
---



tests/fail/intrinsics/float_to_int_64_too_big7.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big7.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big7.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `i128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `Int(I128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i128>(f64::MIN);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `i128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `Int(I128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big7.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big7.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `Int(I128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `Int(I128)`
   |
   |
LL |         float_to_int_unchecked::<f64, i128>(f64::MIN);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -1.7976931348623157E+308 which cannot be represented in target type `Int(I128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big7.rs:10:9: 10:54
---



tests/fail/intrinsics/float_to_int_64_too_small1.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_small1.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_small1.stderr
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `i32`
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `Int(I32)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i32>(-2147483649.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `i32`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_small1.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_small1.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `Int(I32)`
   |
   |
LL |         float_to_int_unchecked::<f64, i32>(-2147483649.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2147483649 which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_small1.rs:10:9: 10:61
---



tests/fail/intrinsics/float_to_int_64_too_big6.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big6.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big6.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `u128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `Uint(U128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u128>(f64::MAX);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `u128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `Uint(U128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big6.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big6.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `Uint(U128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `Uint(U128)`
   |
   |
LL |         float_to_int_unchecked::<f64, u128>(f64::MAX);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 1.7976931348623157E+308 which cannot be represented in target type `Uint(U128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big6.rs:10:9: 10:54
---



tests/fail/intrinsics/float_to_int_64_too_big4.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_big4.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_big4.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `u128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `Uint(U128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, u128>(u128::MAX as f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `u128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `Uint(U128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `u128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_big4.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_big4.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `Uint(U128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `Uint(U128)`
   |
   |
LL |         float_to_int_unchecked::<f64, u128>(u128::MAX as f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 3.4028236692093846E+38 which cannot be represented in target type `Uint(U128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_big4.rs:10:9: 10:62
---



tests/fail/intrinsics/float_to_int_64_too_small2.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_small2.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_small2.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `i64`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `Int(I64)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i64>(-9223372036854777856.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `i64`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `Int(I64)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i64`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_small2.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_small2.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `Int(I64)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `Int(I64)`
   |
   |
LL |         float_to_int_unchecked::<f64, i64>(-9223372036854777856.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -9.2233720368547778E+18 which cannot be represented in target type `Int(I64)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_small2.rs:10:9: 10:70
---



tests/fail/intrinsics/float_to_int_64_too_small3.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/float_to_int_64_too_small3.rs"
actual output differed from expected
--- tests/fail/intrinsics/float_to_int_64_too_small3.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `i128`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
    |
    |
 LL |         float_to_int_unchecked::<f64, i128>(-240282366920938463463374607431768211455.0f64);
-   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `i128`
+   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 9 lines skipped ...



substring `cannot be represented in target type `i128`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/float_to_int_64_too_small3.rs:10

There were 1 unmatched diagnostics at tests/fail/intrinsics/float_to_int_64_too_small3.rs:10
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
   |
   |
LL |         float_to_int_unchecked::<f64, i128>(-240282366920938463463374607431768211455.0f64);
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on -2.4028236692093845E+38 which cannot be represented in target type `Int(I128)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/intrinsics/float_to_int_64_too_small3.rs:10:9: 10:91
---



tests/fail/intrinsics/simd-float-to-int.rs FAILED:
command: "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools-bin/miri" "--error-format=json" "--edition" "2018" "-Astable-features" "-Aunused" "-Zui-testing" "--target" "x86_64-unknown-linux-gnu" "--extern" "getrandom=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-14b1aaee86e20c9a.rmeta" "--extern" "getrandom_1=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libgetrandom-522d1fe1f3fb1413.rmeta" "--extern" "libc=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/liblibc-8df47f1ee3f80022.rmeta" "--extern" "num_cpus=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libnum_cpus-b37fde289af25dca.rmeta" "--extern" "rand=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/librand-be16f3668653c591.rmeta" "--extern" "page_size=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libpage_size-2709be2ca9b220ed.rmeta" "--extern" "tokio=/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps/libtokio-97ba768f8b612a21.rmeta" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/libc-023a677652b471f9" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/syn-83e38450697cf16b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/parking_lot_core-ec0977e83bec4bbb" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/tokio-627adf877df7d3fd" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/x86_64-unknown-linux-gnu/debug/deps" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/lock_api-2402edfbc2151f87" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/quote-d339ad05ba9c2010" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/getrandom-dd8529f5bb54559b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/log-5da2e714312fda90" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/memchr-3aa21f28168e754b" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2-tools/miri/debug/build/proc-macro2-56af15a1a9078f46" "tests/fail/intrinsics/simd-float-to-int.rs"
actual output differed from expected
--- tests/fail/intrinsics/simd-float-to-int.stderr
+++ <stderr output>
+++ <stderr output>
-error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `i32`
+error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `Int(I32)`
    |
 LL |         unsafe { intrinsics::simd_cast(self) }
 LL |         unsafe { intrinsics::simd_cast(self) }
-   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `i32`
+   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `Int(I32)`
    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
... 14 lines skipped ...



substring `cannot be represented in target type `i32`` not found in stderr output
expected because of pattern here: tests/fail/intrinsics/simd-float-to-int.rs:1

There were 1 unmatched diagnostics that occurred outside the testfile and had no pattern
    Error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `Int(I32)`
full stderr:
full stderr:
error: Undefined Behavior: `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `Int(I32)`
   |
LL |         unsafe { intrinsics::simd_cast(self) }
LL |         unsafe { intrinsics::simd_cast(self) }
   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `float_to_int_unchecked` intrinsic called on 3.40282347E+38 which cannot be represented in target type `Int(I32)`
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
   = note: BACKTRACE:
   = note: BACKTRACE:
   = note: inside `std::simd::Simd::<f32, 2>::to_int_unchecked::<i32>` at /checkout/library/core/src/../../portable-simd/crates/core_simd/src/vector.rs:245:18: 245:45
  --> tests/fail/intrinsics/simd-float-to-int.rs:7:25
   |
   |
LL |         let _x: i32x2 = f32x2::from_array([f32::MAX, f32::MIN]).to_int_unchecked();

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to previous error

@bors
Copy link
Contributor

bors commented Feb 1, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
Automatic merge failed; fix conflicts and then commit the result.

1 similar comment
@bors
Copy link
Contributor

bors commented Feb 1, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
Automatic merge failed; fix conflicts and then commit the result.

@compiler-errors
Copy link
Member

@rustbot author

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 2, 2023
@bors
Copy link
Contributor

bors commented Apr 1, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/thir-print/thir-flat.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-flat.stdout
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/impl-trait-captures.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.stderr
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.rs
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.rs
Auto-merging tests/ui/chalkify/bugs/async.stderr
CONFLICT (content): Merge conflict in tests/ui/chalkify/bugs/async.stderr
Auto-merging tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff
CONFLICT (content): Merge conflict in tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff
Auto-merging tests/mir-opt/inline/inline_into_box_place.main.Inline.diff
CONFLICT (content): Merge conflict in tests/mir-opt/inline/inline_into_box_place.main.Inline.diff
Auto-merging tests/mir-opt/generator_tiny.main-{closure#0}.generator_resume.0.mir
Auto-merging tests/mir-opt/building/async_await.b-{closure#0}.generator_resume.0.mir
Adding src/tools/rust-installer/test/image5/dir-to-install/foo
Adding src/tools/rust-installer/test/image4/dir-to-install/qux/bar
Adding src/tools/rust-installer/test/image4/baz
Adding src/tools/rust-installer/test/image3/bin/cargo
Adding src/tools/rust-installer/test/image2/something-to-install
Adding src/tools/rust-installer/test/image2/dir-to-install/bar
Adding src/tools/rust-installer/test/image2/bin/oldprogram
Adding src/tools/rust-installer/test/image1/something-to-not-install
Adding src/tools/rust-installer/test/image1/something-to-install
Adding src/tools/rust-installer/test/image1/dir-to-not-install/foo
Adding src/tools/rust-installer/test/image1/dir-to-install/foo
Adding src/tools/rust-installer/test/image1/bin/program2
Adding src/tools/rust-installer/test/image1/bin/program
Adding src/tools/rust-installer/test/image1/bin/bad-bin
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
Adding src/tools/rust-installer/test.sh
Adding src/tools/rust-installer/src/util.rs
Adding src/tools/rust-installer/src/tarballer.rs
Adding src/tools/rust-installer/src/scripter.rs
Adding src/tools/rust-installer/src/remove_dir_all.rs
Adding src/tools/rust-installer/src/main.rs
Adding src/tools/rust-installer/src/lib.rs
Adding src/tools/rust-installer/src/generator.rs
Adding src/tools/rust-installer/src/compression.rs
Adding src/tools/rust-installer/src/combiner.rs
Adding src/tools/rust-installer/rust-installer-version
Adding src/tools/rust-installer/make-tarballs.sh
Adding src/tools/rust-installer/install-template.sh
Adding src/tools/rust-installer/gen-installer.sh
Adding src/tools/rust-installer/gen-install-script.sh
Adding src/tools/rust-installer/combine-installers.sh
Adding src/tools/rust-installer/README.md
Adding src/tools/rust-installer/Cargo.toml
Adding src/tools/rust-installer/.gitignore
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Auto-merging compiler/rustc_target/src/abi/mod.rs
Auto-merging compiler/rustc_passes/src/layout_test.rs
Auto-merging compiler/rustc_middle/src/ty/typeck_results.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
Auto-merging compiler/rustc_const_eval/src/interpret/validity.rs
Automatic merge failed; fix conflicts and then commit the result.

@bors
Copy link
Contributor

bors commented Apr 5, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/thir-print/thir-flat.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-flat.stdout
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/impl-trait-captures.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.stderr
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.rs
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.rs
Auto-merging tests/ui/chalkify/bugs/async.stderr
CONFLICT (content): Merge conflict in tests/ui/chalkify/bugs/async.stderr
Auto-merging tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff
CONFLICT (content): Merge conflict in tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff
Auto-merging tests/mir-opt/issue_99325.main.built.after.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/issue_99325.main.built.after.32bit.mir
Auto-merging tests/mir-opt/inline/inline_into_box_place.main.Inline.diff
CONFLICT (content): Merge conflict in tests/mir-opt/inline/inline_into_box_place.main.Inline.diff
Auto-merging tests/mir-opt/generator_tiny.main-{closure#0}.generator_resume.0.mir
Auto-merging tests/mir-opt/building/async_await.b-{closure#0}.generator_resume.0.mir
Adding src/tools/rust-installer/test/image5/dir-to-install/foo
Adding src/tools/rust-installer/test/image4/dir-to-install/qux/bar
Adding src/tools/rust-installer/test/image4/baz
Adding src/tools/rust-installer/test/image3/bin/cargo
Adding src/tools/rust-installer/test/image2/something-to-install
Adding src/tools/rust-installer/test/image2/dir-to-install/bar
Adding src/tools/rust-installer/test/image2/bin/oldprogram
Adding src/tools/rust-installer/test/image1/something-to-not-install
Adding src/tools/rust-installer/test/image1/something-to-install
Adding src/tools/rust-installer/test/image1/dir-to-not-install/foo
Adding src/tools/rust-installer/test/image1/dir-to-install/foo
Adding src/tools/rust-installer/test/image1/bin/program2
Adding src/tools/rust-installer/test/image1/bin/program
Adding src/tools/rust-installer/test/image1/bin/bad-bin
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
Adding src/tools/rust-installer/test.sh
Adding src/tools/rust-installer/src/util.rs
Adding src/tools/rust-installer/src/tarballer.rs
Adding src/tools/rust-installer/src/scripter.rs
Adding src/tools/rust-installer/src/remove_dir_all.rs
Adding src/tools/rust-installer/src/main.rs
Adding src/tools/rust-installer/src/lib.rs
Adding src/tools/rust-installer/src/generator.rs
Adding src/tools/rust-installer/src/compression.rs
Adding src/tools/rust-installer/src/combiner.rs
Adding src/tools/rust-installer/rust-installer-version
Adding src/tools/rust-installer/make-tarballs.sh
Adding src/tools/rust-installer/install-template.sh
Adding src/tools/rust-installer/gen-installer.sh
Adding src/tools/rust-installer/gen-install-script.sh
Adding src/tools/rust-installer/combine-installers.sh
Adding src/tools/rust-installer/README.md
Adding src/tools/rust-installer/Cargo.toml
Adding src/tools/rust-installer/.gitignore
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Auto-merging compiler/rustc_target/src/abi/mod.rs
Auto-merging compiler/rustc_passes/src/layout_test.rs
Auto-merging compiler/rustc_middle/src/ty/typeck_results.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
Auto-merging compiler/rustc_const_eval/src/interpret/validity.rs
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your merge.renamelimit variable to at least 1401 and retry the command.
Automatic merge failed; fix conflicts and then commit the result.

@Dylan-DPC
Copy link
Member

@BoxyUwU any updates on this?

@BoxyUwU
Copy link
Member Author

BoxyUwU commented May 18, 2023

no I still just need to rebase this and fix the CI failures

@bors
Copy link
Contributor

bors commented May 22, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/thir-print/thir-tree.stdout
Auto-merging tests/ui/thir-print/thir-tree-match.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-tree-match.stdout
Auto-merging tests/ui/thir-print/thir-flat.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-flat.stdout
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/impl-trait-captures.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/impl-trait-captures.stderr
Auto-merging tests/ui/nll/closure-requirements/return-wrong-bound-region.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/return-wrong-bound-region.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-from-trait-match.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-from-trait-match.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-wrong-bounds.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-wrong-bounds.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-no-bounds.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-no-bounds.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-val.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-val.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-ref.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-ref.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-upvar-ref.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-upvar-ref.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-upvar-nested.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-upvar-nested.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-argument.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-argument.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-argument-callee.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-argument-callee.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.stderr
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.rs
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.rs
Auto-merging tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr
Auto-merging tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr
Auto-merging tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr
Auto-merging tests/ui/closures/print/closure-print-verbose.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-verbose.stderr
Auto-merging tests/ui/closures/print/closure-print-generic-verbose-2.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-generic-verbose-2.stderr
Auto-merging tests/ui/closures/print/closure-print-generic-trim-off-verbose-2.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-generic-trim-off-verbose-2.stderr
Auto-merging tests/ui/closures/binder/nested-closures-regions.stderr
Auto-merging tests/ui/chalkify/bugs/async.stderr
CONFLICT (content): Merge conflict in tests/ui/chalkify/bugs/async.stderr
Auto-merging tests/ui/async-await/async-is-unwindsafe.stderr
Auto-merging tests/mir-opt/nll/region_subtyping_basic.main.nll.0.64bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/nll/region_subtyping_basic.main.nll.0.64bit.mir
Auto-merging tests/mir-opt/nll/region_subtyping_basic.main.nll.0.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/nll/region_subtyping_basic.main.nll.0.32bit.mir
Auto-merging tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff
CONFLICT (content): Merge conflict in tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff
Auto-merging tests/mir-opt/issue_99325.main.built.after.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/issue_99325.main.built.after.32bit.mir
Auto-merging tests/mir-opt/inline/inline_into_box_place.main.Inline.diff
CONFLICT (content): Merge conflict in tests/mir-opt/inline/inline_into_box_place.main.Inline.diff
Auto-merging tests/mir-opt/generator_tiny.main-{closure#0}.generator_resume.0.mir
Auto-merging tests/mir-opt/building/async_await.b-{closure#0}.generator_resume.0.mir
Adding src/tools/rust-installer/test/image5/dir-to-install/foo
Adding src/tools/rust-installer/test/image4/dir-to-install/qux/bar
Adding src/tools/rust-installer/test/image4/baz
Adding src/tools/rust-installer/test/image3/bin/cargo
Adding src/tools/rust-installer/test/image2/something-to-install
Adding src/tools/rust-installer/test/image2/dir-to-install/bar
Adding src/tools/rust-installer/test/image2/bin/oldprogram
Adding src/tools/rust-installer/test/image1/something-to-not-install
Adding src/tools/rust-installer/test/image1/something-to-install
Adding src/tools/rust-installer/test/image1/dir-to-not-install/foo
Adding src/tools/rust-installer/test/image1/dir-to-install/foo
Adding src/tools/rust-installer/test/image1/bin/program2
Adding src/tools/rust-installer/test/image1/bin/program
Adding src/tools/rust-installer/test/image1/bin/bad-bin
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
Adding src/tools/rust-installer/test.sh
Adding src/tools/rust-installer/src/util.rs
Adding src/tools/rust-installer/src/tarballer.rs
Adding src/tools/rust-installer/src/scripter.rs
Adding src/tools/rust-installer/src/main.rs
Adding src/tools/rust-installer/src/lib.rs
Adding src/tools/rust-installer/src/generator.rs
Adding src/tools/rust-installer/src/compression.rs
Adding src/tools/rust-installer/src/combiner.rs
Adding src/tools/rust-installer/rust-installer-version
Adding src/tools/rust-installer/make-tarballs.sh
Adding src/tools/rust-installer/install-template.sh
Adding src/tools/rust-installer/gen-installer.sh
Adding src/tools/rust-installer/gen-install-script.sh
Adding src/tools/rust-installer/combine-installers.sh
Adding src/tools/rust-installer/README.md
Adding src/tools/rust-installer/Cargo.toml
Adding src/tools/rust-installer/.gitignore
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
CONFLICT (content): Merge conflict in compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Auto-merging compiler/rustc_target/src/abi/mod.rs
Auto-merging compiler/rustc_target/src/abi/call/mod.rs
CONFLICT (content): Merge conflict in compiler/rustc_target/src/abi/call/mod.rs
Auto-merging compiler/rustc_passes/src/layout_test.rs
Auto-merging compiler/rustc_middle/src/ty/typeck_results.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
CONFLICT (content): Merge conflict in compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
Auto-merging compiler/rustc_const_eval/src/interpret/validity.rs
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your merge.renamelimit variable to at least 2424 and retry the command.
Automatic merge failed; fix conflicts and then commit the result.

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request May 29, 2023
…compiler-errors

Make `TyKind: Debug` have less verbose output

Current `TyKind: Debug` impl is basically unusable for debugging, its too verbose even for verbose debugging 🤣 This PR replaces the debug logic for `TyKind` with a more manual debug impl instead of a hand expanded derived impl. This should help make rust-lang#107084 more reasonable to land since the output of `Ty: Debug` will be better.

This isn't a fully completed change to the `Debug` impl of `TyKind` as there's still logic from the derive macro for some variants. Some of the variants are also not consisten with the `-Zverbose` printing of `Ty`, ideally `-Zverbose` printing of `Ty` would also just defer to the debug impl instead of having lots of checks in pretty printing. I plan on fixing this in follow up PRs since it seems tricky to do in this one and its already a large PR 😅
@bors
Copy link
Contributor

bors commented Jul 14, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/thir-print/thir-tree.stdout
Auto-merging tests/ui/thir-print/thir-tree-match.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-tree-match.stdout
Auto-merging tests/ui/thir-print/thir-flat.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-flat.stdout
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/impl-trait-captures.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/impl-trait-captures.stderr
Auto-merging tests/ui/nll/closure-requirements/return-wrong-bound-region.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/return-wrong-bound-region.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-from-trait-match.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-from-trait-match.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-wrong-bounds.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-wrong-bounds.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-no-bounds.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-no-bounds.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-val.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-val.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-ref.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-ref.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-upvar-ref.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-upvar-ref.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-upvar-nested.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-upvar-nested.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-argument.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-argument.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-argument-callee.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-argument-callee.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.stderr
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.rs
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.rs
Auto-merging tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr
Auto-merging tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr
Auto-merging tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr
Auto-merging tests/ui/closures/print/closure-print-verbose.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-verbose.stderr
Auto-merging tests/ui/closures/print/closure-print-generic-verbose-2.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-generic-verbose-2.stderr
Auto-merging tests/ui/closures/print/closure-print-generic-trim-off-verbose-2.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-generic-trim-off-verbose-2.stderr
Auto-merging tests/ui/closures/binder/nested-closures-regions.stderr
CONFLICT (modify/delete): tests/ui/chalkify/bugs/async.stderr deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/ui/chalkify/bugs/async.stderr left in tree.
Auto-merging tests/ui/async-await/async-is-unwindsafe.stderr
Auto-merging tests/mir-opt/nll/region_subtyping_basic.main.nll.0.64bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/nll/region_subtyping_basic.main.nll.0.64bit.mir
Auto-merging tests/mir-opt/nll/region_subtyping_basic.main.nll.0.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/nll/region_subtyping_basic.main.nll.0.32bit.mir
CONFLICT (modify/delete): tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff left in tree.
Auto-merging tests/mir-opt/issue_99325.main.built.after.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/issue_99325.main.built.after.32bit.mir
CONFLICT (modify/delete): tests/mir-opt/inline/inline_into_box_place.main.Inline.diff deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/mir-opt/inline/inline_into_box_place.main.Inline.diff left in tree.
Auto-merging tests/mir-opt/generator_tiny.main-{closure#0}.generator_resume.0.mir
CONFLICT (modify/delete): tests/mir-opt/generator_drop_cleanup.main-{closure#0}.generator_drop.0.mir deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/mir-opt/generator_drop_cleanup.main-{closure#0}.generator_drop.0.mir left in tree.
Auto-merging tests/mir-opt/building/async_await.b-{closure#0}.generator_resume.0.mir
Adding src/tools/rust-installer/test/image5/dir-to-install/foo
Adding src/tools/rust-installer/test/image4/dir-to-install/qux/bar
Adding src/tools/rust-installer/test/image4/baz
Adding src/tools/rust-installer/test/image3/bin/cargo
Adding src/tools/rust-installer/test/image2/something-to-install
Adding src/tools/rust-installer/test/image2/dir-to-install/bar
Adding src/tools/rust-installer/test/image2/bin/oldprogram
Adding src/tools/rust-installer/test/image1/something-to-not-install
Adding src/tools/rust-installer/test/image1/something-to-install
Adding src/tools/rust-installer/test/image1/dir-to-not-install/foo
Adding src/tools/rust-installer/test/image1/dir-to-install/foo
Adding src/tools/rust-installer/test/image1/bin/program2
Adding src/tools/rust-installer/test/image1/bin/program
Adding src/tools/rust-installer/test/image1/bin/bad-bin
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
Adding src/tools/rust-installer/test.sh
Adding src/tools/rust-installer/src/util.rs
Adding src/tools/rust-installer/src/tarballer.rs
Adding src/tools/rust-installer/src/scripter.rs
Adding src/tools/rust-installer/src/main.rs
Adding src/tools/rust-installer/src/lib.rs
Adding src/tools/rust-installer/src/generator.rs
Adding src/tools/rust-installer/src/compression.rs
Adding src/tools/rust-installer/src/combiner.rs
Adding src/tools/rust-installer/rust-installer-version
Adding src/tools/rust-installer/make-tarballs.sh
Adding src/tools/rust-installer/install-template.sh
Adding src/tools/rust-installer/gen-installer.sh
Adding src/tools/rust-installer/gen-install-script.sh
Adding src/tools/rust-installer/combine-installers.sh
Adding src/tools/rust-installer/README.md
Adding src/tools/rust-installer/Cargo.toml
Adding src/tools/rust-installer/.gitignore
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
CONFLICT (content): Merge conflict in compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Auto-merging compiler/rustc_target/src/abi/mod.rs
Auto-merging compiler/rustc_target/src/abi/call/mod.rs
CONFLICT (content): Merge conflict in compiler/rustc_target/src/abi/call/mod.rs
Auto-merging compiler/rustc_passes/src/layout_test.rs
Auto-merging compiler/rustc_middle/src/ty/typeck_results.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
CONFLICT (content): Merge conflict in compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
Auto-merging compiler/rustc_const_eval/src/interpret/validity.rs
CONFLICT (content): Merge conflict in compiler/rustc_const_eval/src/interpret/validity.rs
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your merge.renamelimit variable to at least 4037 and retry the command.
Automatic merge failed; fix conflicts and then commit the result.

@Dylan-DPC
Copy link
Member

@BoxyUwU what's the status of this?

@bors
Copy link
Contributor

bors commented Sep 4, 2023

🔒 Merge conflict

This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.

How do I rebase?

Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

  1. git checkout ty_debug_actually_debug (switch to your branch)
  2. git fetch upstream master (retrieve the latest master)
  3. git rebase upstream/master -p (rebase on top of it)
  4. Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
  5. git push self ty_debug_actually_debug --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.

Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.

Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging tests/ui/thir-print/thir-tree.stdout
Auto-merging tests/ui/thir-print/thir-tree-match.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-tree-match.stdout
Auto-merging tests/ui/thir-print/thir-flat.stdout
CONFLICT (content): Merge conflict in tests/ui/thir-print/thir-flat.stdout
Auto-merging tests/ui/print_type_sizes/async.stdout
CONFLICT (content): Merge conflict in tests/ui/print_type_sizes/async.stdout
Auto-merging tests/ui/nll/user-annotations/dump-fn-method.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/user-annotations/dump-fn-method.stderr
Auto-merging tests/ui/nll/user-annotations/dump-fn-method.rs
Auto-merging tests/ui/nll/user-annotations/dump-adt-brace-struct.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/user-annotations/dump-adt-brace-struct.stderr
Auto-merging tests/ui/nll/user-annotations/dump-adt-brace-struct.rs
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
Auto-merging tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
Auto-merging tests/ui/nll/ty-outlives/impl-trait-captures.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/ty-outlives/impl-trait-captures.stderr
Auto-merging tests/ui/nll/closure-requirements/return-wrong-bound-region.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/return-wrong-bound-region.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-from-trait-match.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-from-trait-match.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-wrong-bounds.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-wrong-bounds.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-no-bounds.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-fail-to-approximate-longer-no-bounds.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-despite-same-free-region.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-val.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-val.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-wrong-bound.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-no-bound.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-shorter-to-static-comparing-against-free.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-ref.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-ref.stderr
Auto-merging tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/propagate-approximated-fail-no-postdom.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-upvar-ref.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-upvar-ref.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-upvar-nested.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-upvar-nested.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-argument.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-argument.stderr
Auto-merging tests/ui/nll/closure-requirements/escape-argument-callee.stderr
CONFLICT (content): Merge conflict in tests/ui/nll/closure-requirements/escape-argument-callee.stderr
Auto-merging tests/ui/layout/zero-sized-array-enum-niche.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.stderr
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.stderr
Auto-merging tests/ui/impl-trait/normalize-tait-in-const.rs
CONFLICT (content): Merge conflict in tests/ui/impl-trait/normalize-tait-in-const.rs
Auto-merging tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.no_drop_tracking.stderr
Auto-merging tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.drop_tracking_mir.stderr
Auto-merging tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr
CONFLICT (content): Merge conflict in tests/ui/generator/print/generator-print-verbose-1.drop_tracking.stderr
Auto-merging tests/ui/closures/print/closure-print-verbose.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-verbose.stderr
Auto-merging tests/ui/closures/print/closure-print-generic-verbose-2.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-generic-verbose-2.stderr
Auto-merging tests/ui/closures/print/closure-print-generic-trim-off-verbose-2.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/print/closure-print-generic-trim-off-verbose-2.stderr
Auto-merging tests/ui/closures/binder/nested-closures-regions.stderr
CONFLICT (content): Merge conflict in tests/ui/closures/binder/nested-closures-regions.stderr
CONFLICT (modify/delete): tests/ui/chalkify/bugs/async.stderr deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/ui/chalkify/bugs/async.stderr left in tree.
Auto-merging tests/ui/async-await/async-is-unwindsafe.stderr
Auto-merging tests/mir-opt/nll/region_subtyping_basic.main.nll.0.64bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/nll/region_subtyping_basic.main.nll.0.64bit.mir
Auto-merging tests/mir-opt/nll/region_subtyping_basic.main.nll.0.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/nll/region_subtyping_basic.main.nll.0.32bit.mir
CONFLICT (modify/delete): tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/mir-opt/lower_intrinsics.discriminant.LowerIntrinsics.diff left in tree.
Auto-merging tests/mir-opt/issue_99325.main.built.after.32bit.mir
CONFLICT (content): Merge conflict in tests/mir-opt/issue_99325.main.built.after.32bit.mir
CONFLICT (modify/delete): tests/mir-opt/inline/inline_into_box_place.main.Inline.diff deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/mir-opt/inline/inline_into_box_place.main.Inline.diff left in tree.
Auto-merging tests/mir-opt/generator_tiny.main-{closure#0}.generator_resume.0.mir
CONFLICT (modify/delete): tests/mir-opt/generator_drop_cleanup.main-{closure#0}.generator_drop.0.mir deleted in HEAD and modified in heads/homu-tmp. Version heads/homu-tmp of tests/mir-opt/generator_drop_cleanup.main-{closure#0}.generator_drop.0.mir left in tree.
Auto-merging tests/mir-opt/building/async_await.b-{closure#0}.generator_resume.0.mir
Adding src/tools/rust-installer/test/image5/dir-to-install/foo
Adding src/tools/rust-installer/test/image4/dir-to-install/qux/bar
Adding src/tools/rust-installer/test/image4/baz
Adding src/tools/rust-installer/test/image3/bin/cargo
Adding src/tools/rust-installer/test/image2/something-to-install
Adding src/tools/rust-installer/test/image2/dir-to-install/bar
Adding src/tools/rust-installer/test/image2/bin/oldprogram
Adding src/tools/rust-installer/test/image1/something-to-not-install
Adding src/tools/rust-installer/test/image1/something-to-install
Adding src/tools/rust-installer/test/image1/dir-to-not-install/foo
Adding src/tools/rust-installer/test/image1/dir-to-install/foo
Adding src/tools/rust-installer/test/image1/bin/program2
Adding src/tools/rust-installer/test/image1/bin/program
Adding src/tools/rust-installer/test/image1/bin/bad-bin
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/cargodocs.txt
Adding src/tools/rust-installer/test/image-docdir2/share/doc/cargo/README
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/rustdocs.txt
Adding src/tools/rust-installer/test/image-docdir1/share/doc/rust/README
Adding src/tools/rust-installer/test.sh
Adding src/tools/rust-installer/src/util.rs
Adding src/tools/rust-installer/src/tarballer.rs
Adding src/tools/rust-installer/src/scripter.rs
Adding src/tools/rust-installer/src/main.rs
Adding src/tools/rust-installer/src/lib.rs
Adding src/tools/rust-installer/src/generator.rs
Adding src/tools/rust-installer/src/compression.rs
Adding src/tools/rust-installer/src/combiner.rs
Adding src/tools/rust-installer/rust-installer-version
Adding src/tools/rust-installer/make-tarballs.sh
Adding src/tools/rust-installer/install-template.sh
Adding src/tools/rust-installer/gen-installer.sh
Adding src/tools/rust-installer/gen-install-script.sh
Adding src/tools/rust-installer/combine-installers.sh
Adding src/tools/rust-installer/README.md
Adding src/tools/rust-installer/Cargo.toml
Adding src/tools/rust-installer/.gitignore
Auto-merging compiler/rustc_ty_utils/src/layout.rs
Auto-merging compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
CONFLICT (content): Merge conflict in compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
Auto-merging compiler/rustc_target/src/abi/mod.rs
Auto-merging compiler/rustc_target/src/abi/call/mod.rs
CONFLICT (content): Merge conflict in compiler/rustc_target/src/abi/call/mod.rs
Auto-merging compiler/rustc_passes/src/layout_test.rs
Auto-merging compiler/rustc_middle/src/ty/typeck_results.rs
Auto-merging compiler/rustc_middle/src/ty/structural_impls.rs
Auto-merging compiler/rustc_middle/src/mir/pretty.rs
Auto-merging compiler/rustc_middle/src/mir/mod.rs
CONFLICT (content): Merge conflict in compiler/rustc_middle/src/mir/mod.rs
Auto-merging compiler/rustc_middle/src/mir/graphviz.rs
CONFLICT (content): Merge conflict in compiler/rustc_middle/src/mir/graphviz.rs
Auto-merging compiler/rustc_const_eval/src/interpret/validity.rs
CONFLICT (content): Merge conflict in compiler/rustc_const_eval/src/interpret/validity.rs
warning: inexact rename detection was skipped due to too many files.
warning: you may want to set your merge.renamelimit variable to at least 4993 and retry the command.
Automatic merge failed; fix conflicts and then commit the result.

@BoxyUwU BoxyUwU closed this Sep 4, 2023
@Dylan-DPC Dylan-DPC removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Sep 6, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Sep 16, 2023
…er-errors

make interpreter and TyAndLayout type Debug impl independent of Ty debug impl

This fixes some (but not all) of the fallout from rust-lang#115661.

Second commit is taken from rust-lang#107084 (and slightly adjusted); I preserved the original git author information.
rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Sep 16, 2023
Rollup merge of rust-lang#115866 - RalfJung:interpret-debug, r=compiler-errors

make interpreter and TyAndLayout type Debug impl independent of Ty debug impl

This fixes some (but not all) of the fallout from rust-lang#115661.

Second commit is taken from rust-lang#107084 (and slightly adjusted); I preserved the original git author information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants