[INFO] fetching crate gc-gcm 0.10.0... [INFO] checking gc-gcm-0.10.0 against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] extracting crate gc-gcm 0.10.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate gc-gcm 0.10.0 [INFO] finished tweaking crates.io crate gc-gcm 0.10.0 [INFO] tweaked toml for crates.io crate gc-gcm 0.10.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gc-gcm 0.10.0 on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gc-gcm 0.10.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded binread_derive v1.4.3 [INFO] [stderr] Downloaded binread v1.4.1 [INFO] [stderr] Downloaded libc v0.2.84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed70a9a0bc3919ebd7c2fdfc83111e663b7740ae9f14732333fb7599a2b12718 [INFO] running `Command { std: "docker" "start" "-a" "ed70a9a0bc3919ebd7c2fdfc83111e663b7740ae9f14732333fb7599a2b12718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed70a9a0bc3919ebd7c2fdfc83111e663b7740ae9f14732333fb7599a2b12718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed70a9a0bc3919ebd7c2fdfc83111e663b7740ae9f14732333fb7599a2b12718", kill_on_drop: false }` [INFO] [stdout] ed70a9a0bc3919ebd7c2fdfc83111e663b7740ae9f14732333fb7599a2b12718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d04fabcc4ce3cfeb7c40cdcb7d8a683ba9a920e32e1280860675abb015e7431 [INFO] running `Command { std: "docker" "start" "-a" "7d04fabcc4ce3cfeb7c40cdcb7d8a683ba9a920e32e1280860675abb015e7431", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling binread_derive v1.4.3 [INFO] [stderr] Checking binread v1.4.1 [INFO] [stderr] Checking gc-gcm v0.10.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/lib.rs:167:3 [INFO] [stdout] | [INFO] [stdout] 167 | #[br(import(root_offset: u64, name_offset: u64))] [INFO] [stdout] | ^^ [INFO] [stdout] 168 | #[derive(BinRead, Debug)] [INFO] [stdout] | ------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/lib.rs:167:3 [INFO] [stdout] | [INFO] [stdout] 167 | #[br(import(root_offset: u64, name_offset: u64))] [INFO] [stdout] | ^^ [INFO] [stdout] 168 | #[derive(BinRead, Debug)] [INFO] [stdout] | ------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fs_offset`, `fs_size`, and `max_fs_size` are never read [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct GcmFile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | fs_offset: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 94 | fs_size: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | max_fs_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GcmFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date`, `entrypoint_ptr`, and `padding` are never read [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ApploaderHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | date: [u8; 0x10], [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | entrypoint_ptr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | padding: [u8; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApploaderHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dir_listing.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_child(&self, child_name: &str) -> Option { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_child(&self, child_name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fs_offset`, `fs_size`, and `max_fs_size` are never read [INFO] [stdout] --> src/lib.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct GcmFile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | fs_offset: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 94 | fs_size: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 95 | max_fs_size: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GcmFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date`, `entrypoint_ptr`, and `padding` are never read [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct ApploaderHeader { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 129 | date: [u8; 0x10], [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | entrypoint_ptr: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | padding: [u8; 4], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApploaderHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/dir_listing.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_child(&self, child_name: &str) -> Option { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_child(&self, child_name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.69s [INFO] running `Command { std: "docker" "inspect" "7d04fabcc4ce3cfeb7c40cdcb7d8a683ba9a920e32e1280860675abb015e7431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d04fabcc4ce3cfeb7c40cdcb7d8a683ba9a920e32e1280860675abb015e7431", kill_on_drop: false }` [INFO] [stdout] 7d04fabcc4ce3cfeb7c40cdcb7d8a683ba9a920e32e1280860675abb015e7431