[INFO] fetching crate libpefile 0.2.2... [INFO] checking libpefile-0.2.2 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate libpefile 0.2.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate libpefile 0.2.2 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libpefile 0.2.2 [INFO] finished tweaking crates.io crate libpefile 0.2.2 [INFO] tweaked toml for crates.io crate libpefile 0.2.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded packed_struct v0.5.0 [INFO] [stderr] Downloaded from_bytes_derive v0.1.0 [INFO] [stderr] Downloaded packed_struct_codegen v0.5.0 [INFO] [stderr] Downloaded duplicate v0.2.9 [INFO] [stderr] Downloaded from_bytes v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c679c5c4b0781354a9b085e9dcb685a70b2eb0d2027381703e29db5d0dbdde8a [INFO] running `Command { std: "docker" "start" "-a" "c679c5c4b0781354a9b085e9dcb685a70b2eb0d2027381703e29db5d0dbdde8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c679c5c4b0781354a9b085e9dcb685a70b2eb0d2027381703e29db5d0dbdde8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c679c5c4b0781354a9b085e9dcb685a70b2eb0d2027381703e29db5d0dbdde8a", kill_on_drop: false }` [INFO] [stdout] c679c5c4b0781354a9b085e9dcb685a70b2eb0d2027381703e29db5d0dbdde8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34f0f8b0c1613cc80adc24be78f45edde6d372e9954047a69dbd25526d7c0a4c [INFO] running `Command { std: "docker" "start" "-a" "34f0f8b0c1613cc80adc24be78f45edde6d372e9954047a69dbd25526d7c0a4c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling packed_struct v0.5.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling duplicate v0.2.9 [INFO] [stderr] Compiling packed_struct_codegen v0.5.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling from_bytes_derive v0.1.0 [INFO] [stderr] Checking from_bytes v0.1.1 [INFO] [stderr] Checking libpefile v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `low_id` [INFO] [stdout] --> src/msg/iterator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | low_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/data_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/data_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/directory_entry.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/directory.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/dos_header.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/file_header.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/optional_header.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/optional_header.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/optional_header.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/section_header.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/message/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/message/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/message/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `low_id` [INFO] [stdout] --> src/msg/iterator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | low_id: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/data_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/data_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/directory_entry.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/resource/directory.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/dos_header.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/file_header.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/optional_header.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/optional_header.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/optional_header.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/image/section_header.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/message/mod.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/message/mod.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/winnt/message/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.20s [INFO] running `Command { std: "docker" "inspect" "34f0f8b0c1613cc80adc24be78f45edde6d372e9954047a69dbd25526d7c0a4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34f0f8b0c1613cc80adc24be78f45edde6d372e9954047a69dbd25526d7c0a4c", kill_on_drop: false }` [INFO] [stdout] 34f0f8b0c1613cc80adc24be78f45edde6d372e9954047a69dbd25526d7c0a4c