[INFO] fetching crate serde-hex 0.1.0... [INFO] checking serde-hex-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate serde-hex 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate serde-hex 0.1.0 [INFO] finished tweaking crates.io crate serde-hex 0.1.0 [INFO] tweaked toml for crates.io crate serde-hex 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-hex 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding array-init v0.0.4 (available: v2.1.0) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.15.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05933e9e3e9c9e6c75dae04bab9d6a40a5e01e35327f0017d0009026dd064e84 [INFO] running `Command { std: "docker" "start" "-a" "05933e9e3e9c9e6c75dae04bab9d6a40a5e01e35327f0017d0009026dd064e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05933e9e3e9c9e6c75dae04bab9d6a40a5e01e35327f0017d0009026dd064e84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05933e9e3e9c9e6c75dae04bab9d6a40a5e01e35327f0017d0009026dd064e84", kill_on_drop: false }` [INFO] [stdout] 05933e9e3e9c9e6c75dae04bab9d6a40a5e01e35327f0017d0009026dd064e84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d936cc409fc2cff7848c30d3e0ffe31c813723db7402e3aaad627908a662b4e4 [INFO] running `Command { std: "docker" "start" "-a" "d936cc409fc2cff7848c30d3e0ffe31c813723db7402e3aaad627908a662b4e4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking array-init v0.0.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking serde-hex v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not parse/generate dep info at: /opt/rustwide/target/debug/deps/syn-4b2c7541c9cd49e6.d [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] No such file or directory (os error 2) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | b'A'...b'F' => Ok(c - b'A' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | b'a'...b'f' => Ok(c - b'a' + 10), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | b'0'...b'9' => Ok(c - b'0'), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | 0xa...0xf => val - 0xa + b'a', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | 0x0...0x9 => val + b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | 0xA...0xF => val - 0xa + b'A', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utils.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | 0x0...0x9 => val + b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/types.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types.rs:89:44 [INFO] [stdout] | [INFO] [stdout] 89 | Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/types.rs:90:44 [INFO] [stdout] | [INFO] [stdout] 90 | Error::Parsing(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [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:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | 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:291:1 [INFO] [stdout] | [INFO] [stdout] 291 | 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:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | 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:292:1 [INFO] [stdout] | [INFO] [stdout] 292 | 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:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | 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:293:1 [INFO] [stdout] | [INFO] [stdout] 293 | 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:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | 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:294:1 [INFO] [stdout] | [INFO] [stdout] 294 | 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] running `Command { std: "docker" "inspect" "d936cc409fc2cff7848c30d3e0ffe31c813723db7402e3aaad627908a662b4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d936cc409fc2cff7848c30d3e0ffe31c813723db7402e3aaad627908a662b4e4", kill_on_drop: false }` [INFO] [stdout] d936cc409fc2cff7848c30d3e0ffe31c813723db7402e3aaad627908a662b4e4