[INFO] fetching crate stremio-serde-hex 0.1.1... [INFO] testing stremio-serde-hex-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate stremio-serde-hex 0.1.1 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stremio-serde-hex 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d71538f7ff592a324044ba0241df08b44255112415f2dc9c0be4c7173091a255 [INFO] running `Command { std: "docker" "start" "-a" "d71538f7ff592a324044ba0241df08b44255112415f2dc9c0be4c7173091a255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d71538f7ff592a324044ba0241df08b44255112415f2dc9c0be4c7173091a255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d71538f7ff592a324044ba0241df08b44255112415f2dc9c0be4c7173091a255", kill_on_drop: false }` [INFO] [stdout] d71538f7ff592a324044ba0241df08b44255112415f2dc9c0be4c7173091a255 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41b439a002d545d899767838d43782a2ba668467fe9adea5636025662b63a638 [INFO] running `Command { std: "docker" "start" "-a" "41b439a002d545d899767838d43782a2ba668467fe9adea5636025662b63a638", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.15.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 2.45s [INFO] running `Command { std: "docker" "inspect" "41b439a002d545d899767838d43782a2ba668467fe9adea5636025662b63a638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41b439a002d545d899767838d43782a2ba668467fe9adea5636025662b63a638", kill_on_drop: false }` [INFO] [stdout] 41b439a002d545d899767838d43782a2ba668467fe9adea5636025662b63a638 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b646f408e41155dc5549675f770380063cee6cdbe6b400f8a7104c1a8f604171 [INFO] running `Command { std: "docker" "start" "-a" "b646f408e41155dc5549675f770380063cee6cdbe6b400f8a7104c1a8f604171", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [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 serde_json v1.0.140 [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 11.52s [INFO] running `Command { std: "docker" "inspect" "b646f408e41155dc5549675f770380063cee6cdbe6b400f8a7104c1a8f604171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b646f408e41155dc5549675f770380063cee6cdbe6b400f8a7104c1a8f604171", kill_on_drop: false }` [INFO] [stdout] b646f408e41155dc5549675f770380063cee6cdbe6b400f8a7104c1a8f604171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ca0232779e4d47967543bbce9378fb69231a2adb9e53e83b9974490939becc2a [INFO] running `Command { std: "docker" "start" "-a" "ca0232779e4d47967543bbce9378fb69231a2adb9e53e83b9974490939becc2a", 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.02s [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::blanket_array ... ok [INFO] [stdout] test macros::hex::tests::hex_compact ... ok [INFO] [stdout] test macros::misc::tests::implementation ... ok [INFO] [stdout] test macros::hex::tests::hex_strict_ok ... ok [INFO] [stdout] test macros::hex::tests::hex_variants ... ok [INFO] [stdout] test utils::tests::hex_strings ... ok [INFO] [stdout] test utils::tests::hex_bytes ... 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.02s [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 deserialize_owned ... ok [INFO] [stdout] test serialize ... 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 serialize ... ok [INFO] [stdout] test deserialize ... ok [INFO] [stdout] test deserialize_owned ... 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 - SerHexSeq (line 318) ... ok [INFO] [stdout] test src/lib.rs - SerHexOpt (line 176) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ca0232779e4d47967543bbce9378fb69231a2adb9e53e83b9974490939becc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0232779e4d47967543bbce9378fb69231a2adb9e53e83b9974490939becc2a", kill_on_drop: false }` [INFO] [stdout] ca0232779e4d47967543bbce9378fb69231a2adb9e53e83b9974490939becc2a