[INFO] fetching crate frand 0.10.1... [INFO] testing frand-0.10.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate frand 0.10.1 into /workspace/builds/worker-3-tc1/source [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate frand 0.10.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate frand 0.10.1 [INFO] tweaked toml for crates.io crate frand 0.10.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate frand 0.10.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate frand 0.10.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05433ccfa20dad5f6e4140a59ed15eb3df8348493377eb17ec34b7f1b4e92641 [INFO] running `Command { std: "docker" "start" "-a" "05433ccfa20dad5f6e4140a59ed15eb3df8348493377eb17ec34b7f1b4e92641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05433ccfa20dad5f6e4140a59ed15eb3df8348493377eb17ec34b7f1b4e92641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05433ccfa20dad5f6e4140a59ed15eb3df8348493377eb17ec34b7f1b4e92641", kill_on_drop: false }` [INFO] [stdout] 05433ccfa20dad5f6e4140a59ed15eb3df8348493377eb17ec34b7f1b4e92641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23cc87bc4a97ba72174daf84973e170a4832b13fc3277ed5391460f2ba9aed69 [INFO] running `Command { std: "docker" "start" "-a" "23cc87bc4a97ba72174daf84973e170a4832b13fc3277ed5391460f2ba9aed69", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling glam v0.29.0 [INFO] [stderr] Compiling frand v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [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 `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.31s [INFO] running `Command { std: "docker" "inspect" "23cc87bc4a97ba72174daf84973e170a4832b13fc3277ed5391460f2ba9aed69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23cc87bc4a97ba72174daf84973e170a4832b13fc3277ed5391460f2ba9aed69", kill_on_drop: false }` [INFO] [stdout] 23cc87bc4a97ba72174daf84973e170a4832b13fc3277ed5391460f2ba9aed69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7df17fe6f393b95711b520aae43a1e5e84c1fccb4b49c7e25f23a87c7405c60f [INFO] running `Command { std: "docker" "start" "-a" "7df17fe6f393b95711b520aae43a1e5e84c1fccb4b49c7e25f23a87c7405c60f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling frand v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [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 `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [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 `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `usize::cast_signed` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/gen/int.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u128::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 79 | / implement_cast! { [INFO] [stdout] 80 | | u8 => i8, [INFO] [stdout] 81 | | u16 => i16, [INFO] [stdout] 82 | | u32 => i32, [INFO] [stdout] ... | [INFO] [stdout] 108 | | u128 => [i64; 2], [INFO] [stdout] 109 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.57s [INFO] running `Command { std: "docker" "inspect" "7df17fe6f393b95711b520aae43a1e5e84c1fccb4b49c7e25f23a87c7405c60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7df17fe6f393b95711b520aae43a1e5e84c1fccb4b49c7e25f23a87c7405c60f", kill_on_drop: false }` [INFO] [stdout] 7df17fe6f393b95711b520aae43a1e5e84c1fccb4b49c7e25f23a87c7405c60f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4cef8cb7ede8215f85f9b938c9259ff8d1f2babfa8259fb0c90925221d262f91 [INFO] running `Command { std: "docker" "start" "-a" "4cef8cb7ede8215f85f9b938c9259ff8d1f2babfa8259fb0c90925221d262f91", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [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 `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `usize::cast_signed` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/gen/int.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | unsafe { transmute(<$from>::random(rng)) } [INFO] [stderr] | ---------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u128::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 79 | / implement_cast! { [INFO] [stderr] 80 | | u8 => i8, [INFO] [stderr] 81 | | u16 => i16, [INFO] [stderr] 82 | | u32 => i32, [INFO] [stderr] ... | [INFO] [stderr] 108 | | u128 => [i64; 2], [INFO] [stderr] 109 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `implement_cast` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `frand` (lib) generated 10 warnings (run `cargo fix --lib -p frand` to apply 10 suggestions) [INFO] [stderr] warning: `frand` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/frand-9956b826b701f395) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test thread::test::test_thread_rng ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests frand [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 22) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4cef8cb7ede8215f85f9b938c9259ff8d1f2babfa8259fb0c90925221d262f91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cef8cb7ede8215f85f9b938c9259ff8d1f2babfa8259fb0c90925221d262f91", kill_on_drop: false }` [INFO] [stdout] 4cef8cb7ede8215f85f9b938c9259ff8d1f2babfa8259fb0c90925221d262f91