[INFO] fetching crate libpefile 0.2.2... [INFO] checking libpefile-0.2.2 against master#42bd138126b0a9d38d65bc9973e72de3c5b6c37f for pr-99217 [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 42bd138126b0a9d38d65bc9973e72de3c5b6c37f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+42bd138126b0a9d38d65bc9973e72de3c5b6c37f" "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" "+42bd138126b0a9d38d65bc9973e72de3c5b6c37f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+42bd138126b0a9d38d65bc9973e72de3c5b6c37f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memmap v0.7.0 [INFO] [stderr] Downloaded duplicate v0.2.9 [INFO] [stderr] Downloaded from_bytes_derive v0.1.0 [INFO] [stderr] Downloaded from_bytes v0.1.1 [INFO] [stderr] Downloaded packed_struct_codegen v0.5.0 [INFO] [stderr] Downloaded packed_struct v0.5.0 [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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+42bd138126b0a9d38d65bc9973e72de3c5b6c37f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fe7620f3fb8f4ea85555ffe0c200290180c064acdeee63b0853693f0c793eea [INFO] running `Command { std: "docker" "start" "-a" "4fe7620f3fb8f4ea85555ffe0c200290180c064acdeee63b0853693f0c793eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fe7620f3fb8f4ea85555ffe0c200290180c064acdeee63b0853693f0c793eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fe7620f3fb8f4ea85555ffe0c200290180c064acdeee63b0853693f0c793eea", kill_on_drop: false }` [INFO] [stdout] 4fe7620f3fb8f4ea85555ffe0c200290180c064acdeee63b0853693f0c793eea [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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+42bd138126b0a9d38d65bc9973e72de3c5b6c37f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 270d207f35d6f5b64947abf2dc1d9a7777e2569500d32d89553eecc8cf5e8e29 [INFO] running `Command { std: "docker" "start" "-a" "270d207f35d6f5b64947abf2dc1d9a7777e2569500d32d89553eecc8cf5e8e29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling packed_struct v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [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: 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] | ^^^^^^^^^^^^ the borrow produces a value [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/directory_entry.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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/data_entry.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [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/directory_entry.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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] | ^^^^^^^^^^^^ the borrow produces a value [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.96s [INFO] running `Command { std: "docker" "inspect" "270d207f35d6f5b64947abf2dc1d9a7777e2569500d32d89553eecc8cf5e8e29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "270d207f35d6f5b64947abf2dc1d9a7777e2569500d32d89553eecc8cf5e8e29", kill_on_drop: false }` [INFO] [stdout] 270d207f35d6f5b64947abf2dc1d9a7777e2569500d32d89553eecc8cf5e8e29