[INFO] fetching crate pk2 0.2.0... [INFO] checking pk2-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate pk2 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate pk2 0.2.0 [INFO] finished tweaking crates.io crate pk2 0.2.0 [INFO] tweaked toml for crates.io crate pk2 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pk2 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc1b0ebabca8ea01d51f822a2038530dbe5b1338371dd7157c02196977e53d5e [INFO] running `Command { std: "docker" "start" "-a" "bc1b0ebabca8ea01d51f822a2038530dbe5b1338371dd7157c02196977e53d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc1b0ebabca8ea01d51f822a2038530dbe5b1338371dd7157c02196977e53d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc1b0ebabca8ea01d51f822a2038530dbe5b1338371dd7157c02196977e53d5e", kill_on_drop: false }` [INFO] [stdout] bc1b0ebabca8ea01d51f822a2038530dbe5b1338371dd7157c02196977e53d5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa905d650a2f15b6ba3ff29966474f3be9fd677d81ea2973afe1d8fa4bad3ea3 [INFO] running `Command { std: "docker" "start" "-a" "aa905d650a2f15b6ba3ff29966474f3be9fd677d81ea2973afe1d8fa4bad3ea3", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking pk2 v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `signature`, `version`, `encrypted`, `verify`, and `reserved` are never read [INFO] [stdout] --> src/constants.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct RawPackHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 28 | pub signature: [u8; 30], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub encrypted: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub verify: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub reserved: [u8; 205], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/constants.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawPackFileEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub ty: u8, //0 = Empty, 1 = Directory, 2 = File [INFO] [stdout] | ^^ [INFO] [stdout] 39 | pub name: [u8; 81], [INFO] [stdout] 40 | pub access: FILETIME, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub create: FILETIME, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub modify: FILETIME, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub position: u64, // Position of data for files, position of children for directorys [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub next_block: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPackFileEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw/block_chain.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn entries(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | pub fn entries(&self) -> std::slice::Iter<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw/block_chain.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn entries_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn entries_mut(&mut self) -> std::slice::IterMut<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory<'_, B, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn open_file_mut>(&mut self, path: P) -> ChainLookupResult> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn open_file_mut>(&mut self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signature`, `version`, `encrypted`, `verify`, and `reserved` are never read [INFO] [stdout] --> src/constants.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct RawPackHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 28 | pub signature: [u8; 30], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 29 | pub version: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | pub encrypted: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | pub verify: [u8; 16], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | pub reserved: [u8; 205], [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/constants.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct RawPackFileEntry { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 38 | pub ty: u8, //0 = Empty, 1 = Directory, 2 = File [INFO] [stdout] | ^^ [INFO] [stdout] 39 | pub name: [u8; 81], [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub access: FILETIME, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | pub create: FILETIME, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | pub modify: FILETIME, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 43 | pub position: u64, // Position of data for files, position of children for directorys [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub size: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 45 | pub next_block: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawPackFileEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw/block_chain.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn entries(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 155 | pub fn entries(&self) -> std::slice::Iter<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/raw/block_chain.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn entries_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ------------------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn entries_mut(&mut self) -> std::slice::IterMut<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:185:38 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:191:43 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | ^^^^^ the lifetime is elided here --------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory<'_, B, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn open_file_mut>(&mut self, path: P) -> ChainLookupResult> { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | pub fn open_file_mut>(&mut self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:266:40 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "aa905d650a2f15b6ba3ff29966474f3be9fd677d81ea2973afe1d8fa4bad3ea3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa905d650a2f15b6ba3ff29966474f3be9fd677d81ea2973afe1d8fa4bad3ea3", kill_on_drop: false }` [INFO] [stdout] aa905d650a2f15b6ba3ff29966474f3be9fd677d81ea2973afe1d8fa4bad3ea3