[INFO] fetching crate bit_manager 0.5.3... [INFO] testing bit_manager-0.5.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate bit_manager 0.5.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate bit_manager 0.5.3 [INFO] finished tweaking crates.io crate bit_manager 0.5.3 [INFO] tweaked toml for crates.io crate bit_manager 0.5.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bit_manager 0.5.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd923402f3f3598a08ce458d66ce49333079c2528eea1e911d799bf3e8b3d139 [INFO] running `Command { std: "docker" "start" "-a" "bd923402f3f3598a08ce458d66ce49333079c2528eea1e911d799bf3e8b3d139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd923402f3f3598a08ce458d66ce49333079c2528eea1e911d799bf3e8b3d139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd923402f3f3598a08ce458d66ce49333079c2528eea1e911d799bf3e8b3d139", kill_on_drop: false }` [INFO] [stdout] bd923402f3f3598a08ce458d66ce49333079c2528eea1e911d799bf3e8b3d139 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e7e742501fde548713a584e2e7600cb94db5b7d56e96bc95ca3e967e091c05f [INFO] running `Command { std: "docker" "start" "-a" "9e7e742501fde548713a584e2e7600cb94db5b7d56e96bc95ca3e967e091c05f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bit_manager v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:85 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:85 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (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 1.06s [INFO] running `Command { std: "docker" "inspect" "9e7e742501fde548713a584e2e7600cb94db5b7d56e96bc95ca3e967e091c05f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e7e742501fde548713a584e2e7600cb94db5b7d56e96bc95ca3e967e091c05f", kill_on_drop: false }` [INFO] [stdout] 9e7e742501fde548713a584e2e7600cb94db5b7d56e96bc95ca3e967e091c05f [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5632c87c34558747dd3dc09c141ce36f086362e414e623cd17fa42f130566da8 [INFO] running `Command { std: "docker" "start" "-a" "5632c87c34558747dd3dc09c141ce36f086362e414e623cd17fa42f130566da8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:85 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:85 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit_manager v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:103:54 [INFO] [stdout] | [INFO] [stdout] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stdout] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:85 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:111:63 [INFO] [stdout] | [INFO] [stdout] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:112:85 [INFO] [stdout] | [INFO] [stdout] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] ... [INFO] [stdout] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `float_impl` (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 1.11s [INFO] running `Command { std: "docker" "inspect" "5632c87c34558747dd3dc09c141ce36f086362e414e623cd17fa42f130566da8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5632c87c34558747dd3dc09c141ce36f086362e414e623cd17fa42f130566da8", kill_on_drop: false }` [INFO] [stdout] 5632c87c34558747dd3dc09c141ce36f086362e414e623cd17fa42f130566da8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 51ef86c1b8fff7138696953e1fbe1e687403764d9fff0f8549c6a4b26ec0c95d [INFO] running `Command { std: "docker" "start" "-a" "51ef86c1b8fff7138696953e1fbe1e687403764d9fff0f8549c6a4b26ec0c95d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i16::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:102:50 [INFO] [stderr] | [INFO] [stderr] 102 | (reader) => { Ok(Self::from_be( unsafe { mem::transmute::<[u8; $s], Self>(reader.read()?) } )) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [INFO] [stderr] | ------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:103:54 [INFO] [stderr] | [INFO] [stderr] 103 | (self, writer) => { writer.write( & unsafe { mem::transmute::((*self).to_be()) } ) }, [INFO] [stderr] | --------------------------------^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `i64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 107 | int_impl!(2 => u16, i16; 4 => u32, i32; 8 => u64, i64); [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 `int_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:111:36 [INFO] [stderr] | [INFO] [stderr] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stderr] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:111:63 [INFO] [stderr] | [INFO] [stderr] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stderr] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:112:54 [INFO] [stderr] | [INFO] [stderr] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stderr] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:112:85 [INFO] [stderr] | [INFO] [stderr] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:111:36 [INFO] [stderr] | [INFO] [stderr] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stderr] | --------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:111:63 [INFO] [stderr] | [INFO] [stderr] 111 | (reader) => { Ok( unsafe { mem::transmute($u::from_be(mem::transmute::<[u8; $s], $u>(reader.read()?))) } ) }, [INFO] [stderr] | ------------------------------^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stderr] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:112:54 [INFO] [stderr] | [INFO] [stderr] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stderr] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [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 `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/lib.rs:112:85 [INFO] [stderr] | [INFO] [stderr] 112 | (self, writer) => { writer.write( & unsafe { mem::transmute::<$u, [u8; $s]>(mem::transmute::(*self).to_be()) } ) }, [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] ... [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stderr] | --------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `float_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bit_manager` (lib) generated 20 warnings (run `cargo fix --lib -p bit_manager` to apply 20 suggestions) [INFO] [stderr] warning: `bit_manager` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bit_manager-67f6ef585bcafe25) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests bit_manager [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/prelude.rs - prelude (line 3) ... ok [INFO] [stdout] test src/io.rs - io::BitReader (line 134) ... ok [INFO] [stdout] test src/lib.rs - (line 20) ... ok [INFO] [stdout] test src/io.rs - io::BitWriter (line 238) ... ok [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "51ef86c1b8fff7138696953e1fbe1e687403764d9fff0f8549c6a4b26ec0c95d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51ef86c1b8fff7138696953e1fbe1e687403764d9fff0f8549c6a4b26ec0c95d", kill_on_drop: false }` [INFO] [stdout] 51ef86c1b8fff7138696953e1fbe1e687403764d9fff0f8549c6a4b26ec0c95d