[INFO] fetching crate stremio-serde-hex 0.1.1... [INFO] testing stremio-serde-hex-0.1.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate stremio-serde-hex 0.1.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate stremio-serde-hex 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate stremio-serde-hex 0.1.1 [INFO] tweaked toml for crates.io crate stremio-serde-hex 0.1.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate stremio-serde-hex 0.1.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate stremio-serde-hex 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc65cc397ffa8d39cfbdc846c9542eea76c652fc74ca03fa1e112021a91d3fbd [INFO] running `Command { std: "docker" "start" "-a" "cc65cc397ffa8d39cfbdc846c9542eea76c652fc74ca03fa1e112021a91d3fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc65cc397ffa8d39cfbdc846c9542eea76c652fc74ca03fa1e112021a91d3fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc65cc397ffa8d39cfbdc846c9542eea76c652fc74ca03fa1e112021a91d3fbd", kill_on_drop: false }` [INFO] [stdout] cc65cc397ffa8d39cfbdc846c9542eea76c652fc74ca03fa1e112021a91d3fbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07d047213bc38186478efbd52174de7e825d4ff16a171fb343cc44ff43979c9d [INFO] running `Command { std: "docker" "start" "-a" "07d047213bc38186478efbd52174de7e825d4ff16a171fb343cc44ff43979c9d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling stremio-serde-hex v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | impl_serhex_uint!(u8, 1); [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: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | impl_serhex_uint!(u8, 1); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (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 6.74s [INFO] running `Command { std: "docker" "inspect" "07d047213bc38186478efbd52174de7e825d4ff16a171fb343cc44ff43979c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07d047213bc38186478efbd52174de7e825d4ff16a171fb343cc44ff43979c9d", kill_on_drop: false }` [INFO] [stdout] 07d047213bc38186478efbd52174de7e825d4ff16a171fb343cc44ff43979c9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c3bfd612302b8e87fee1c9b8dc8ba53681e45dcdd289e0ae43986a2b1d1f1ff [INFO] running `Command { std: "docker" "start" "-a" "5c3bfd612302b8e87fee1c9b8dc8ba53681e45dcdd289e0ae43986a2b1d1f1ff", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling stremio-serde-hex v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | impl_serhex_uint!(u8, 1); [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: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | impl_serhex_uint!(u8, 1); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Bar` is never constructed [INFO] [stdout] --> src/macros/misc.rs:256:16 [INFO] [stdout] | [INFO] [stdout] 256 | struct Bar([u8; 36]); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | impl_serhex_uint!(u8, 1); [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: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:455:1 [INFO] [stdout] | [INFO] [stdout] 455 | impl_serhex_uint!(u8, 1); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stdout] | ---------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros/local.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stdout] | ---------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (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 15.96s [INFO] running `Command { std: "docker" "inspect" "5c3bfd612302b8e87fee1c9b8dc8ba53681e45dcdd289e0ae43986a2b1d1f1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c3bfd612302b8e87fee1c9b8dc8ba53681e45dcdd289e0ae43986a2b1d1f1ff", kill_on_drop: false }` [INFO] [stdout] 5c3bfd612302b8e87fee1c9b8dc8ba53681e45dcdd289e0ae43986a2b1d1f1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f635a775d222e1a2670cbe0b92e9797bc3b47f4e63f7b17d1453a4ca40c92c0b [INFO] running `Command { std: "docker" "start" "-a" "f635a775d222e1a2670cbe0b92e9797bc3b47f4e63f7b17d1453a4ca40c92c0b", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:20:52 [INFO] [stderr] | [INFO] [stderr] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stderr] | ---------------------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:455:1 [INFO] [stderr] | [INFO] [stderr] 455 | impl_serhex_uint!(u8, 1); [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: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stderr] | ---------------------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:455:1 [INFO] [stderr] | [INFO] [stderr] 455 | impl_serhex_uint!(u8, 1); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:20:52 [INFO] [stderr] | [INFO] [stderr] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stderr] | ---------------------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:456:1 [INFO] [stderr] | [INFO] [stderr] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stderr] | ---------------------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u16::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:456:1 [INFO] [stderr] | [INFO] [stderr] 456 | impl_serhex_uint!(u16, 2); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:20:52 [INFO] [stderr] | [INFO] [stderr] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stderr] | ---------------------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:457:1 [INFO] [stderr] | [INFO] [stderr] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stderr] | ---------------------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u32::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:457:1 [INFO] [stderr] | [INFO] [stderr] 457 | impl_serhex_uint!(u32, 4); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:20:52 [INFO] [stderr] | [INFO] [stderr] 20 | let bytes: [u8; $bytes] = unsafe { ::std::mem::transmute(self.to_be()) }; [INFO] [stderr] | ---------------------^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::to_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:458:1 [INFO] [stderr] | [INFO] [stderr] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/macros/local.rs:32:51 [INFO] [stderr] | [INFO] [stderr] 32 | let val: $type = unsafe { ::std::mem::transmute(buf) }; [INFO] [stderr] | ---------------------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u64::from_ne_bytes` [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:458:1 [INFO] [stderr] | [INFO] [stderr] 458 | impl_serhex_uint!(u64, 8); [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 `impl_serhex_uint` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stremio-serde-hex` (lib) generated 8 warnings (run `cargo fix --lib -p stremio-serde-hex` to apply 8 suggestions) [INFO] [stderr] warning: struct `Bar` is never constructed [INFO] [stderr] --> src/macros/misc.rs:256:16 [INFO] [stderr] | [INFO] [stderr] 256 | struct Bar([u8; 36]); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `stremio-serde-hex` (lib test) generated 9 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stremio_serde_hex-bcd5c06ebe156559) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test macros::hex::tests::hex_strict_ok ... ok [INFO] [stdout] test macros::hex::tests::hex_compact ... ok [INFO] [stdout] test macros::misc::tests::implementation ... ok [INFO] [stdout] test utils::tests::hex_strings ... ok [INFO] [stdout] test macros::hex::tests::hex_variants ... ok [INFO] [stdout] test utils::tests::hex_bytes ... ok [INFO] [stdout] test macros::hex::tests::blanket_array ... ok [INFO] [stdout] test macros::hex::tests::hex_strict_err - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/extensions.rs (/opt/rustwide/target/debug/deps/extensions-c88ce863d070b228) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test deserialize ... ok [INFO] [stdout] test deserialize_none ... ok [INFO] [stdout] test serialize ... ok [INFO] [stdout] test deserialize_owned ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/json.rs (/opt/rustwide/target/debug/deps/json-ad2e986c464bb4e3) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test deserialize_owned ... ok [INFO] [stdout] test serialize ... ok [INFO] [stdout] test deserialize ... ok [INFO] [stdout] test test_info_has_for_zero_sized_chunk ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests stremio_serde_hex [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - (line 8) ... ok [INFO] [stdout] test src/lib.rs - SerHexOpt (line 176) ... ok [INFO] [stdout] test src/lib.rs - SerHexSeq (line 318) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.54s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f635a775d222e1a2670cbe0b92e9797bc3b47f4e63f7b17d1453a4ca40c92c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f635a775d222e1a2670cbe0b92e9797bc3b47f4e63f7b17d1453a4ca40c92c0b", kill_on_drop: false }` [INFO] [stdout] f635a775d222e1a2670cbe0b92e9797bc3b47f4e63f7b17d1453a4ca40c92c0b