[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-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjanstarke%2Flibpefile" "/workspace/builds/worker-54/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-54/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/janstarke/libpefile on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-54/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-02-22" "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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded duplicate v0.2.9 [INFO] [stderr] Downloaded packed_struct_codegen v0.5.0 [INFO] [stderr] Downloaded packed_struct v0.5.0 [INFO] [stderr] Downloaded from_bytes_derive v0.1.0 [INFO] [stderr] Downloaded from_bytes v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 13dc6ea91c7505eddcd5391b8474e4990ec0fde3b6c9eb3857ab7f51aa1d58bc [INFO] running `Command { std: "docker" "start" "-a" "13dc6ea91c7505eddcd5391b8474e4990ec0fde3b6c9eb3857ab7f51aa1d58bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "13dc6ea91c7505eddcd5391b8474e4990ec0fde3b6c9eb3857ab7f51aa1d58bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13dc6ea91c7505eddcd5391b8474e4990ec0fde3b6c9eb3857ab7f51aa1d58bc", kill_on_drop: false }` [INFO] [stdout] 13dc6ea91c7505eddcd5391b8474e4990ec0fde3b6c9eb3857ab7f51aa1d58bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fab1189504bffbd0fc4fe5911441bd2938b14f4bd497049c2ac51738e193a6 [INFO] running `Command { std: "docker" "start" "-a" "21fab1189504bffbd0fc4fe5911441bd2938b14f4bd497049c2ac51738e193a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling packed_struct v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-traits v0.2.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] 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] [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 dev [unoptimized + debuginfo] target(s) in 20.47s [INFO] running `Command { std: "docker" "inspect" "21fab1189504bffbd0fc4fe5911441bd2938b14f4bd497049c2ac51738e193a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fab1189504bffbd0fc4fe5911441bd2938b14f4bd497049c2ac51738e193a6", kill_on_drop: false }` [INFO] [stdout] 21fab1189504bffbd0fc4fe5911441bd2938b14f4bd497049c2ac51738e193a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a8749e55e7ab316c83ee28e89273e772bb6422d2539b05151677803e5db376d [INFO] running `Command { std: "docker" "start" "-a" "7a8749e55e7ab316c83ee28e89273e772bb6422d2539b05151677803e5db376d", kill_on_drop: false }` [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] [stderr] Compiling libpefile v0.2.2 (/opt/rustwide/workdir) [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] [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 3.59s [INFO] running `Command { std: "docker" "inspect" "7a8749e55e7ab316c83ee28e89273e772bb6422d2539b05151677803e5db376d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8749e55e7ab316c83ee28e89273e772bb6422d2539b05151677803e5db376d", kill_on_drop: false }` [INFO] [stdout] 7a8749e55e7ab316c83ee28e89273e772bb6422d2539b05151677803e5db376d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-54/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7883ed930a8399eff5280783c6a6e5c5d5fad742c107466a65cc4ff2bfcae378 [INFO] running `Command { std: "docker" "start" "-a" "7883ed930a8399eff5280783c6a6e5c5d5fad742c107466a65cc4ff2bfcae378", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/winnt/message/mod.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: `#[warn(unused_must_use)]` on by default [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:17:10 [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 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/libpefile-4ae07e96a2deb6bf) [INFO] [stdout] [INFO] [stderr] Running tests/test_last.rs (/opt/rustwide/target/debug/deps/test_last-a953e9e432c99ab4) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test last_last ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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 1.44s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7883ed930a8399eff5280783c6a6e5c5d5fad742c107466a65cc4ff2bfcae378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7883ed930a8399eff5280783c6a6e5c5d5fad742c107466a65cc4ff2bfcae378", kill_on_drop: false }` [INFO] [stdout] 7883ed930a8399eff5280783c6a6e5c5d5fad742c107466a65cc4ff2bfcae378