[INFO] fetching crate bit_manager 0.5.3... [INFO] testing bit_manager-0.5.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate bit_manager 0.5.3 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bit_manager 0.5.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b0da923210da98f12dd5bd348f0d6f0fe503d9d4f997251d70e5b406005f81d [INFO] running `Command { std: "docker" "start" "-a" "4b0da923210da98f12dd5bd348f0d6f0fe503d9d4f997251d70e5b406005f81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b0da923210da98f12dd5bd348f0d6f0fe503d9d4f997251d70e5b406005f81d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b0da923210da98f12dd5bd348f0d6f0fe503d9d4f997251d70e5b406005f81d", kill_on_drop: false }` [INFO] [stdout] 4b0da923210da98f12dd5bd348f0d6f0fe503d9d4f997251d70e5b406005f81d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c6cee16e74c7b6b18ae8005b6aa95881a47e0bc448c5f21d55f524f4ec6ab32 [INFO] running `Command { std: "docker" "start" "-a" "5c6cee16e74c7b6b18ae8005b6aa95881a47e0bc448c5f21d55f524f4ec6ab32", 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 0.95s [INFO] running `Command { std: "docker" "inspect" "5c6cee16e74c7b6b18ae8005b6aa95881a47e0bc448c5f21d55f524f4ec6ab32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6cee16e74c7b6b18ae8005b6aa95881a47e0bc448c5f21d55f524f4ec6ab32", kill_on_drop: false }` [INFO] [stdout] 5c6cee16e74c7b6b18ae8005b6aa95881a47e0bc448c5f21d55f524f4ec6ab32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93872c7f9d897a80a812b725e4c17cc208db7d2fe3f5b9340d92e54f204be170 [INFO] running `Command { std: "docker" "start" "-a" "93872c7f9d897a80a812b725e4c17cc208db7d2fe3f5b9340d92e54f204be170", 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] [stderr] Compiling bit_manager v0.5.3 (/opt/rustwide/workdir) [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] [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.14s [INFO] running `Command { std: "docker" "inspect" "93872c7f9d897a80a812b725e4c17cc208db7d2fe3f5b9340d92e54f204be170", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93872c7f9d897a80a812b725e4c17cc208db7d2fe3f5b9340d92e54f204be170", kill_on_drop: false }` [INFO] [stdout] 93872c7f9d897a80a812b725e4c17cc208db7d2fe3f5b9340d92e54f204be170 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47f524f82af376247cca540ca9209a81da4328d6991487988e8b9d6ec1f9e9b9 [INFO] running `Command { std: "docker" "start" "-a" "47f524f82af376247cca540ca9209a81da4328d6991487988e8b9d6ec1f9e9b9", 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] [stdout] [INFO] [stderr] ... [INFO] [stdout] running 0 tests [INFO] [stderr] 116 | float_impl!(4 => u32 => f32; 8 => u64 => f64); [INFO] [stdout] [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.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bit_manager-45aed559338859a0) [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/lib.rs - (line 6) ... 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/io.rs - io::BitReader (line 134) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "47f524f82af376247cca540ca9209a81da4328d6991487988e8b9d6ec1f9e9b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47f524f82af376247cca540ca9209a81da4328d6991487988e8b9d6ec1f9e9b9", kill_on_drop: false }` [INFO] [stdout] 47f524f82af376247cca540ca9209a81da4328d6991487988e8b9d6ec1f9e9b9