[INFO] fetching crate frand 0.10.1... [INFO] testing frand-0.10.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glam v0.29.0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eabac13bde8ba1a3f4abf1a8e6b570f3bea98cd2831c00942e16288ae16c49da [INFO] running `Command { std: "docker" "start" "-a" "eabac13bde8ba1a3f4abf1a8e6b570f3bea98cd2831c00942e16288ae16c49da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eabac13bde8ba1a3f4abf1a8e6b570f3bea98cd2831c00942e16288ae16c49da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eabac13bde8ba1a3f4abf1a8e6b570f3bea98cd2831c00942e16288ae16c49da", kill_on_drop: false }` [INFO] [stdout] eabac13bde8ba1a3f4abf1a8e6b570f3bea98cd2831c00942e16288ae16c49da [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e7db03778fdc3bf15c4a7ea0b96daa0c8a07caea3ad30a1dc08324e23a499eeb [INFO] running `Command { std: "docker" "start" "-a" "e7db03778fdc3bf15c4a7ea0b96daa0c8a07caea3ad30a1dc08324e23a499eeb", 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.94s [INFO] running `Command { std: "docker" "inspect" "e7db03778fdc3bf15c4a7ea0b96daa0c8a07caea3ad30a1dc08324e23a499eeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7db03778fdc3bf15c4a7ea0b96daa0c8a07caea3ad30a1dc08324e23a499eeb", kill_on_drop: false }` [INFO] [stdout] e7db03778fdc3bf15c4a7ea0b96daa0c8a07caea3ad30a1dc08324e23a499eeb [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0caf8c5204b7eddd383f0d0f127d0d03b6ac875a6646fec8fc77a57959dc46ab [INFO] running `Command { std: "docker" "start" "-a" "0caf8c5204b7eddd383f0d0f127d0d03b6ac875a6646fec8fc77a57959dc46ab", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling getrandom v0.2.15 [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 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 19.36s [INFO] running `Command { std: "docker" "inspect" "0caf8c5204b7eddd383f0d0f127d0d03b6ac875a6646fec8fc77a57959dc46ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0caf8c5204b7eddd383f0d0f127d0d03b6ac875a6646fec8fc77a57959dc46ab", kill_on_drop: false }` [INFO] [stdout] 0caf8c5204b7eddd383f0d0f127d0d03b6ac875a6646fec8fc77a57959dc46ab [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 11e21a1cbf4d47f24d5b8f3f4320a2d5e124ee0299d3e150a954fe71b4c8be91 [INFO] running `Command { std: "docker" "start" "-a" "11e21a1cbf4d47f24d5b8f3f4320a2d5e124ee0299d3e150a954fe71b4c8be91", 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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/frand-7f87d1d0a584d890) [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] running `Command { std: "docker" "inspect" "11e21a1cbf4d47f24d5b8f3f4320a2d5e124ee0299d3e150a954fe71b4c8be91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e21a1cbf4d47f24d5b8f3f4320a2d5e124ee0299d3e150a954fe71b4c8be91", kill_on_drop: false }` [INFO] [stdout] 11e21a1cbf4d47f24d5b8f3f4320a2d5e124ee0299d3e150a954fe71b4c8be91