[INFO] fetching crate libpefile 0.2.2... [INFO] checking libpefile-0.2.2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate libpefile 0.2.2 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate libpefile 0.2.2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a35a483140eb75ea84c6e5ec944d4ad87cd184632975b3513912469c2f0edf39 [INFO] running `Command { std: "docker" "start" "-a" "a35a483140eb75ea84c6e5ec944d4ad87cd184632975b3513912469c2f0edf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a35a483140eb75ea84c6e5ec944d4ad87cd184632975b3513912469c2f0edf39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a35a483140eb75ea84c6e5ec944d4ad87cd184632975b3513912469c2f0edf39", kill_on_drop: false }` [INFO] [stdout] a35a483140eb75ea84c6e5ec944d4ad87cd184632975b3513912469c2f0edf39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d852aca9bd597a55c63b645d8d051cf19e9c3baeb2356aebf27584a2b0c93bbc [INFO] running `Command { std: "docker" "start" "-a" "d852aca9bd597a55c63b645d8d051cf19e9c3baeb2356aebf27584a2b0c93bbc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling packed_struct v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Checking num-traits v0.2.14 [INFO] [stderr] Checking 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] Compiling quote v1.0.9 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling packed_struct_codegen v0.5.0 [INFO] [stderr] Compiling duplicate v0.2.9 [INFO] [stderr] Compiling from_bytes_derive v0.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [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.98s [INFO] running `Command { std: "docker" "inspect" "d852aca9bd597a55c63b645d8d051cf19e9c3baeb2356aebf27584a2b0c93bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d852aca9bd597a55c63b645d8d051cf19e9c3baeb2356aebf27584a2b0c93bbc", kill_on_drop: false }` [INFO] [stdout] d852aca9bd597a55c63b645d8d051cf19e9c3baeb2356aebf27584a2b0c93bbc