[INFO] cloning repository https://github.com/hinaria/bite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hinaria/bite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhinaria%2Fbite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhinaria%2Fbite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cc13bd52f2a97e50e8c2ed29a39dc484c4332423 [INFO] checking hinaria/bite against try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhinaria%2Fbite" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hinaria/bite on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hinaria/bite [INFO] finished tweaking git repo https://github.com/hinaria/bite [INFO] tweaked toml for git repo https://github.com/hinaria/bite written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hinaria/bite already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d794b1d852f3352a56d57b9d75a3c7e74b2e9d3b21d336285bf4060fb8fa773e [INFO] running `Command { std: "docker" "start" "-a" "d794b1d852f3352a56d57b9d75a3c7e74b2e9d3b21d336285bf4060fb8fa773e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d794b1d852f3352a56d57b9d75a3c7e74b2e9d3b21d336285bf4060fb8fa773e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d794b1d852f3352a56d57b9d75a3c7e74b2e9d3b21d336285bf4060fb8fa773e", kill_on_drop: false }` [INFO] [stdout] d794b1d852f3352a56d57b9d75a3c7e74b2e9d3b21d336285bf4060fb8fa773e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d7bb8fce0e9553aad9231e325481936148d49fdcf4121269e3dc39fd3e2d08d [INFO] running `Command { std: "docker" "start" "-a" "9d7bb8fce0e9553aad9231e325481936148d49fdcf4121269e3dc39fd3e2d08d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking bite v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `i128_type` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `i128_type` has been stable since 1.26.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(i128_type)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/bite/le_read.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BiteReadExt: Read { [INFO] [stdout] | --------------------------- built-in `dyn BiteReadExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 46 | impl BiteReadExt for T where T: Read + ?Sized { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] | [INFO] [stdout] = note: `#[forbid(dyn_overlap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/bite/le_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BiteWriteExt: Write { [INFO] [stdout] | ----------------------------- built-in `dyn BiteWriteExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 45 | impl BiteWriteExt for T where T: Write + ?Sized { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/bite/le_read.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BiteReadExt: Read { [INFO] [stdout] | --------------------------- built-in `dyn BiteReadExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 46 | impl BiteReadExt for T where T: Read + ?Sized { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] | [INFO] [stdout] = note: `#[forbid(dyn_overlap)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/bite/le_write.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait BiteWriteExt: Write { [INFO] [stdout] | ----------------------------- built-in `dyn BiteWriteExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 45 | impl BiteWriteExt for T where T: Write + ?Sized { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:68:94 [INFO] [stdout] | [INFO] [stdout] 68 | ... { unsafe { std::mem::transmute(Self::read_u32(stream)) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(Self::read_u32(stream))` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:69:94 [INFO] [stdout] | [INFO] [stdout] 69 | ... { unsafe { std::mem::transmute(Self::read_u64(stream)) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::from_bits(Self::read_u64(stream))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:80:122 [INFO] [stdout] | [INFO] [stdout] 80 | ...rite_u32 (stream, unsafe { std::mem::transmute(value) }) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::to_bits(value)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:81:122 [INFO] [stdout] | [INFO] [stdout] 81 | ...rite_u64 (stream, unsafe { std::mem::transmute(value) }) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::to_bits(value)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u16::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 191 | #[inline] fn write_u16 (stream: &mut [u8], value: u16) { write_primitive!(to_be, u16, 2, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 192 | #[inline] fn write_u32 (stream: &mut [u8], value: u32) { write_primitive!(to_be, u32, 4, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 193 | #[inline] fn write_u64 (stream: &mut [u8], value: u64) { write_primitive!(to_be, u64, 8, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 194 | #[inline] fn write_u128(stream: &mut [u8], value: u128) { write_primitive!(to_be, u128, 16, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | let source = std::mem::transmute::<_, [u8; 8]>(value.to_be()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value.to_be())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | let source = std::mem::transmute::<_, [u8; 16]>(value.to_be()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value.to_be())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:68:94 [INFO] [stdout] | [INFO] [stdout] 68 | ... { unsafe { std::mem::transmute(Self::read_u32(stream)) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(Self::read_u32(stream))` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:69:94 [INFO] [stdout] | [INFO] [stdout] 69 | ... { unsafe { std::mem::transmute(Self::read_u64(stream)) } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::from_bits(Self::read_u64(stream))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:80:122 [INFO] [stdout] | [INFO] [stdout] 80 | ...rite_u32 (stream, unsafe { std::mem::transmute(value) }) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::to_bits(value)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian.rs:81:122 [INFO] [stdout] | [INFO] [stdout] 81 | ...rite_u64 (stream, unsafe { std::mem::transmute(value) }) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::to_bits(value)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | let v = std::mem::transmute::<_, u32>(*x).to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u16::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 191 | #[inline] fn write_u16 (stream: &mut [u8], value: u16) { write_primitive!(to_be, u16, 2, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | let v = std::mem::transmute::<_, u64>(*x).to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 192 | #[inline] fn write_u32 (stream: &mut [u8], value: u32) { write_primitive!(to_be, u32, 4, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 193 | #[inline] fn write_u64 (stream: &mut [u8], value: u64) { write_primitive!(to_be, u64, 8, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u16::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 336 | #[inline] fn write_u16 (stream: &mut [u8], value: u16) { write_primitive!(to_le, u16, 2, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 337 | #[inline] fn write_u32 (stream: &mut [u8], value: u32) { write_primitive!(to_le, u32, 4, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 194 | #[inline] fn write_u128(stream: &mut [u8], value: u128) { write_primitive!(to_be, u128, 16, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | let source = std::mem::transmute::<_, [u8; 8]>(value.to_be()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value.to_be())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:224:26 [INFO] [stdout] | [INFO] [stdout] 224 | let source = std::mem::transmute::<_, [u8; 16]>(value.to_be()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value.to_be())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 338 | #[inline] fn write_u64 (stream: &mut [u8], value: u64) { write_primitive!(to_le, u64, 8, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 339 | #[inline] fn write_u128(stream: &mut [u8], value: u128) { write_primitive!(to_le, u128, 16, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:350:26 [INFO] [stdout] | [INFO] [stdout] 350 | let source = std::mem::transmute::<_, [u8; 8]>(value.to_le()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value.to_le())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | let source = std::mem::transmute::<_, [u8; 16]>(value.to_le()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value.to_le())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | let v = std::mem::transmute::<_, u32>(*x).to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:259:26 [INFO] [stdout] | [INFO] [stdout] 259 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | let v = std::mem::transmute::<_, u32>(*x).to_le(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | let v = std::mem::transmute::<_, u64>(*x).to_le(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:415:26 [INFO] [stdout] | [INFO] [stdout] 415 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | let v = std::mem::transmute::<_, u64>(*x).to_be(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:272:26 [INFO] [stdout] | [INFO] [stdout] 272 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u16::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 336 | #[inline] fn write_u16 (stream: &mut [u8], value: u16) { write_primitive!(to_le, u16, 2, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u32::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 337 | #[inline] fn write_u32 (stream: &mut [u8], value: u32) { write_primitive!(to_le, u32, 4, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 338 | #[inline] fn write_u64 (stream: &mut [u8], value: u64) { write_primitive!(to_le, u64, 8, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:50:25 [INFO] [stdout] | [INFO] [stdout] 50 | let bytes = std::mem::transmute::<_, [u8; $primitive_length]>(value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value)` [INFO] [stdout] ... [INFO] [stdout] 339 | #[inline] fn write_u128(stream: &mut [u8], value: u128) { write_primitive!(to_le, u128, 16, stream, value); } [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 `write_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:350:26 [INFO] [stdout] | [INFO] [stdout] 350 | let source = std::mem::transmute::<_, [u8; 8]>(value.to_le()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u64::to_ne_bytes(value.to_le())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:368:26 [INFO] [stdout] | [INFO] [stdout] 368 | let source = std::mem::transmute::<_, [u8; 16]>(value.to_le()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `u128::to_ne_bytes(value.to_le())` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:400:29 [INFO] [stdout] | [INFO] [stdout] 400 | let v = std::mem::transmute::<_, u32>(*x).to_le(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f32::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | let v = std::mem::transmute::<_, u64>(*x).to_le(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::to_bits(*x)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/bite/endian2.rs:415:26 [INFO] [stdout] | [INFO] [stdout] 415 | *x = std::mem::transmute(v); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace this with: `f64::from_bits(v)` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bite` (lib test) due to 2 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bite` (lib) due to 2 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9d7bb8fce0e9553aad9231e325481936148d49fdcf4121269e3dc39fd3e2d08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d7bb8fce0e9553aad9231e325481936148d49fdcf4121269e3dc39fd3e2d08d", kill_on_drop: false }` [INFO] [stdout] 9d7bb8fce0e9553aad9231e325481936148d49fdcf4121269e3dc39fd3e2d08d