[INFO] fetching crate stremio-serde-hex 0.1.1... [INFO] checking stremio-serde-hex-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate stremio-serde-hex 0.1.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stremio-serde-hex 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 894b758a4275acb98ac216fc40fd17fb8ed4861cc31d3db2cc50cea236527e0d [INFO] running `Command { std: "docker" "start" "-a" "894b758a4275acb98ac216fc40fd17fb8ed4861cc31d3db2cc50cea236527e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "894b758a4275acb98ac216fc40fd17fb8ed4861cc31d3db2cc50cea236527e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894b758a4275acb98ac216fc40fd17fb8ed4861cc31d3db2cc50cea236527e0d", kill_on_drop: false }` [INFO] [stdout] 894b758a4275acb98ac216fc40fd17fb8ed4861cc31d3db2cc50cea236527e0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0562b52aabfa0aacc9a340dc006a4594b517d548d3f11b41e3ca6be07580470 [INFO] running `Command { std: "docker" "start" "-a" "a0562b52aabfa0aacc9a340dc006a4594b517d548d3f11b41e3ca6be07580470", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 15.46s [INFO] running `Command { std: "docker" "inspect" "a0562b52aabfa0aacc9a340dc006a4594b517d548d3f11b41e3ca6be07580470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0562b52aabfa0aacc9a340dc006a4594b517d548d3f11b41e3ca6be07580470", kill_on_drop: false }` [INFO] [stdout] a0562b52aabfa0aacc9a340dc006a4594b517d548d3f11b41e3ca6be07580470