[INFO] cloning repository https://github.com/janstarke/libpefile [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/janstarke/libpefile" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanstarke%2Flibpefile", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanstarke%2Flibpefile'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fee1e55bd3dc79a5b464480635107ba7f1ea0b5 [INFO] testing janstarke/libpefile against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanstarke%2Flibpefile" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janstarke/libpefile on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/janstarke/libpefile [INFO] finished tweaking git repo https://github.com/janstarke/libpefile [INFO] tweaked toml for git repo https://github.com/janstarke/libpefile written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/janstarke/libpefile already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88a4e494b59fd834aa884658801bafab51d64a1d65a2e0971fbccac2405b4805 [INFO] running `Command { std: "docker" "start" "-a" "88a4e494b59fd834aa884658801bafab51d64a1d65a2e0971fbccac2405b4805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88a4e494b59fd834aa884658801bafab51d64a1d65a2e0971fbccac2405b4805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88a4e494b59fd834aa884658801bafab51d64a1d65a2e0971fbccac2405b4805", kill_on_drop: false }` [INFO] [stdout] 88a4e494b59fd834aa884658801bafab51d64a1d65a2e0971fbccac2405b4805 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a1a8c376dc3b9efd6e790304a2a293c7439b8a0098957d8fbd589ac8bf0cdf4 [INFO] running `Command { std: "docker" "start" "-a" "7a1a8c376dc3b9efd6e790304a2a293c7439b8a0098957d8fbd589ac8bf0cdf4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling libc v0.2.92 [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 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.14 [INFO] [stderr] Compiling memmap v0.7.0 [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] Compiling from_bytes v0.1.1 [INFO] [stderr] Compiling libpefile v0.2.2 (/opt/rustwide/workdir) [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: `#[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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.58s [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/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/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/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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7a1a8c376dc3b9efd6e790304a2a293c7439b8a0098957d8fbd589ac8bf0cdf4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1a8c376dc3b9efd6e790304a2a293c7439b8a0098957d8fbd589ac8bf0cdf4", kill_on_drop: false }` [INFO] [stdout] 7a1a8c376dc3b9efd6e790304a2a293c7439b8a0098957d8fbd589ac8bf0cdf4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02859865c71432139d8bec100449b4aece6484a3036be2b3cb6e57ea901d6442 [INFO] running `Command { std: "docker" "start" "-a" "02859865c71432139d8bec100449b4aece6484a3036be2b3cb6e57ea901d6442", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `#[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/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/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/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/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: 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] [stderr] Compiling libpefile v0.2.2 (/opt/rustwide/workdir) [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: 12 warnings emitted [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: `#[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/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/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/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/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: 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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.35s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/libpefile-4ae07e96a2deb6bf) [INFO] [stderr] Executable tests/test_last.rs (/opt/rustwide/target/debug/deps/test_last-a953e9e432c99ab4) [INFO] running `Command { std: "docker" "inspect" "02859865c71432139d8bec100449b4aece6484a3036be2b3cb6e57ea901d6442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02859865c71432139d8bec100449b4aece6484a3036be2b3cb6e57ea901d6442", kill_on_drop: false }` [INFO] [stdout] 02859865c71432139d8bec100449b4aece6484a3036be2b3cb6e57ea901d6442 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1864f8267d7134b28a751714ec42ce55f22ad46c0df156c2c31feb95050635ae [INFO] running `Command { std: "docker" "start" "-a" "1864f8267d7134b28a751714ec42ce55f22ad46c0df156c2c31feb95050635ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused borrow that must be used [INFO] [stdout] [INFO] [stderr] --> src/winnt/message/mod.rs:5:10 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] running 1 test [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test last_last ... ok [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] --> src/winnt/message/mod.rs:17:10 [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/message/mod.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/dos_header.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/file_header.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize, Clone, Copy)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/optional_header.rs:29:10 [INFO] [stderr] | [INFO] [stderr] 29 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/optional_header.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/optional_header.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 119 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize, Clone, Copy)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/section_header.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/resource/data_entry.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/resource/directory_entry.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/image/resource/directory.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(PackedStruct, Debug, StructFromBytes, PackedSize)] [INFO] [stderr] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the derive macro `PackedStruct` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libpefile` (lib) generated 12 warnings [INFO] [stderr] warning: `libpefile` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libpefile-4ae07e96a2deb6bf) [INFO] [stderr] Running tests/test_last.rs (/opt/rustwide/target/debug/deps/test_last-a953e9e432c99ab4) [INFO] [stderr] Doc-tests libpefile [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/pefile.rs - pefile::PEFile (line 28) ... ok [INFO] [stdout] test src/pefile.rs - pefile::PEFile::messages_iter (line 278) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1864f8267d7134b28a751714ec42ce55f22ad46c0df156c2c31feb95050635ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1864f8267d7134b28a751714ec42ce55f22ad46c0df156c2c31feb95050635ae", kill_on_drop: false }` [INFO] [stdout] 1864f8267d7134b28a751714ec42ce55f22ad46c0df156c2c31feb95050635ae