[INFO] fetching crate float-ord 0.3.2... [INFO] testing float-ord-0.3.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate float-ord 0.3.2 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate float-ord 0.3.2 [INFO] finished tweaking crates.io crate float-ord 0.3.2 [INFO] tweaked toml for crates.io crate float-ord 0.3.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate float-ord 0.3.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2119b9e2171d2c64db0dd16dfbfa2d0a36a80b91c39cd7da4d7e5b5de6eacf84 [INFO] running `Command { std: "docker" "start" "-a" "2119b9e2171d2c64db0dd16dfbfa2d0a36a80b91c39cd7da4d7e5b5de6eacf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2119b9e2171d2c64db0dd16dfbfa2d0a36a80b91c39cd7da4d7e5b5de6eacf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2119b9e2171d2c64db0dd16dfbfa2d0a36a80b91c39cd7da4d7e5b5de6eacf84", kill_on_drop: false }` [INFO] [stdout] 2119b9e2171d2c64db0dd16dfbfa2d0a36a80b91c39cd7da4d7e5b5de6eacf84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdefb87c9b944daebca872a6f3c29bcfe5ea617d4370899f093898d3b846849a [INFO] running `Command { std: "docker" "start" "-a" "fdefb87c9b944daebca872a6f3c29bcfe5ea617d4370899f093898d3b846849a", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling float-ord v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | float_ord_impl!(f32, u32, 32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] 21 + let u = unsafe { f32::to_bits(self.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | float_ord_impl!(f64, u64, 64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] 21 + let u = unsafe { f64::to_bits(self.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "fdefb87c9b944daebca872a6f3c29bcfe5ea617d4370899f093898d3b846849a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdefb87c9b944daebca872a6f3c29bcfe5ea617d4370899f093898d3b846849a", kill_on_drop: false }` [INFO] [stdout] fdefb87c9b944daebca872a6f3c29bcfe5ea617d4370899f093898d3b846849a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39b916961c171b4fd49dd4558a7f7ac4aeffc2e7195644932068caca77a63f19 [INFO] running `Command { std: "docker" "start" "-a" "39b916961c171b4fd49dd4558a7f7ac4aeffc2e7195644932068caca77a63f19", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | float_ord_impl!(f32, u32, 32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] 21 + let u = unsafe { f32::to_bits(self.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | float_ord_impl!(f64, u64, 64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] 21 + let u = unsafe { f64::to_bits(self.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling float-ord v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | float_ord_impl!(f32, u32, 32); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] 21 + let u = unsafe { f32::to_bits(self.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | float_ord_impl!(f64, u64, 64); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: replace this with [INFO] [stdout] | [INFO] [stdout] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stdout] 21 + let u = unsafe { f64::to_bits(self.0) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.91s [INFO] running `Command { std: "docker" "inspect" "39b916961c171b4fd49dd4558a7f7ac4aeffc2e7195644932068caca77a63f19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39b916961c171b4fd49dd4558a7f7ac4aeffc2e7195644932068caca77a63f19", kill_on_drop: false }` [INFO] [stdout] 39b916961c171b4fd49dd4558a7f7ac4aeffc2e7195644932068caca77a63f19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 009e826314c94d6abc7e1e5b9376a1c85e8fecccbef32c00f3b7fc6a9f528e71 [INFO] running `Command { std: "docker" "start" "-a" "009e826314c94d6abc7e1e5b9376a1c85e8fecccbef32c00f3b7fc6a9f528e71", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:21:34 [INFO] [stderr] | [INFO] [stderr] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 54 | float_ord_impl!(f32, u32, 32); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stderr] 21 + let u = unsafe { f32::to_bits(self.0) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:21:34 [INFO] [stderr] | [INFO] [stderr] 21 | let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | float_ord_impl!(f64, u64, 64); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float_ord_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: replace this with [INFO] [stderr] | [INFO] [stderr] 21 - let u = unsafe { transmute::<$f, $i>(self.0) }; [INFO] [stderr] 21 + let u = unsafe { f64::to_bits(self.0) }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `float-ord` (lib) generated 2 warnings (run `cargo fix --lib -p float-ord` to apply 2 suggestions) [INFO] [stderr] warning: `float-ord` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/float_ord-af09081a39e75396) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_ord ... ok [INFO] [stdout] test tests::test_sort_nan ... ok [INFO] [stdout] test tests::test_hash ... ok [INFO] [stdout] test tests::test_ord_numbers ... ok [INFO] [stdout] test tests::test_sort_numbers ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests float_ord [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.38s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - sort (line 65) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "009e826314c94d6abc7e1e5b9376a1c85e8fecccbef32c00f3b7fc6a9f528e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009e826314c94d6abc7e1e5b9376a1c85e8fecccbef32c00f3b7fc6a9f528e71", kill_on_drop: false }` [INFO] [stdout] 009e826314c94d6abc7e1e5b9376a1c85e8fecccbef32c00f3b7fc6a9f528e71