[INFO] fetching crate pk2 0.2.0... [INFO] testing pk2-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate pk2 0.2.0 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pk2 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--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] 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f1d5cf5edee3d781c519fa38607dc384bd1863166d71efc30ecd9ef1ec799c6 [INFO] running `Command { std: "docker" "start" "-a" "3f1d5cf5edee3d781c519fa38607dc384bd1863166d71efc30ecd9ef1ec799c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f1d5cf5edee3d781c519fa38607dc384bd1863166d71efc30ecd9ef1ec799c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f1d5cf5edee3d781c519fa38607dc384bd1863166d71efc30ecd9ef1ec799c6", kill_on_drop: false }` [INFO] [stdout] 3f1d5cf5edee3d781c519fa38607dc384bd1863166d71efc30ecd9ef1ec799c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1d255c84549fc977ca213e4a93221da73d228405d3ed523c2266d58a6cbafff5 [INFO] running `Command { std: "docker" "start" "-a" "1d255c84549fc977ca213e4a93221da73d228405d3ed523c2266d58a6cbafff5", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling 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] | ^^^^ [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: lifetime flowing from input to output with different syntax can be 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 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] 155 | pub fn entries(&self) -> std::slice::Iter<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/archive.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory<'_, B, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 3.27s [INFO] running `Command { std: "docker" "inspect" "1d255c84549fc977ca213e4a93221da73d228405d3ed523c2266d58a6cbafff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d255c84549fc977ca213e4a93221da73d228405d3ed523c2266d58a6cbafff5", kill_on_drop: false }` [INFO] [stdout] 1d255c84549fc977ca213e4a93221da73d228405d3ed523c2266d58a6cbafff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 373b8836b5e31dfcd2c9ae8bcd94c34674b13d5f4cf043833ae2eff642bb015b [INFO] running `Command { std: "docker" "start" "-a" "373b8836b5e31dfcd2c9ae8bcd94c34674b13d5f4cf043833ae2eff642bb015b", kill_on_drop: false }` [INFO] [stderr] Compiling bytemuck v1.23.1 [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: lifetime flowing from input to output with different syntax can be 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 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] 155 | pub fn entries(&self) -> std::slice::Iter<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/archive.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory<'_, B, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: lifetime flowing from input to output with different syntax can be 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 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] 155 | pub fn entries(&self) -> std::slice::Iter<'_, PackEntry> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/archive.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 206 | pub fn open_root_dir(&self) -> Directory<'_, B, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 `test` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "373b8836b5e31dfcd2c9ae8bcd94c34674b13d5f4cf043833ae2eff642bb015b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "373b8836b5e31dfcd2c9ae8bcd94c34674b13d5f4cf043833ae2eff642bb015b", kill_on_drop: false }` [INFO] [stdout] 373b8836b5e31dfcd2c9ae8bcd94c34674b13d5f4cf043833ae2eff642bb015b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] efc2edb8a131bfc518839c1013e46ea281112c79c2c891c2f894149104344354 [INFO] running `Command { std: "docker" "start" "-a" "efc2edb8a131bfc518839c1013e46ea281112c79c2c891c2f894149104344354", kill_on_drop: false }` [INFO] [stderr] warning: fields `signature`, `version`, `encrypted`, `verify`, and `reserved` are never read [INFO] [stderr] --> src/constants.rs:28:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct RawPackHeader { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 28 | pub signature: [u8; 30], [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 29 | pub version: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 30 | pub encrypted: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 31 | pub verify: [u8; 16], [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 32 | pub reserved: [u8; 205], [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/constants.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct RawPackFileEntry { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 38 | pub ty: u8, //0 = Empty, 1 = Directory, 2 = File [INFO] [stderr] | ^^ [INFO] [stderr] 39 | pub name: [u8; 81], [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | pub access: FILETIME, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | pub create: FILETIME, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 42 | pub modify: FILETIME, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 43 | pub position: u64, // Position of data for files, position of children for directorys [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 44 | pub size: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 45 | pub next_block: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RawPackFileEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/raw/block_chain.rs:155:20 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn entries(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 155 | pub fn entries(&self) -> std::slice::Iter<'_, PackEntry> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/raw/block_chain.rs:159:24 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn entries_mut(&mut self) -> std::slice::IterMut { [INFO] [stderr] | ^^^^^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 159 | pub fn entries_mut(&mut self) -> std::slice::IterMut<'_, PackEntry> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/archive.rs:185:38 [INFO] [stderr] | [INFO] [stderr] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stderr] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 185 | pub fn open_file>(&self, path: P) -> ChainLookupResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/archive.rs:191:43 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 191 | pub fn open_directory>(&self, path: P) -> ChainLookupResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/archive.rs:206:26 [INFO] [stderr] | [INFO] [stderr] 206 | pub fn open_root_dir(&self) -> Directory { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 206 | pub fn open_root_dir(&self) -> Directory<'_, B, L> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/archive.rs:240:42 [INFO] [stderr] | [INFO] [stderr] 240 | pub fn open_file_mut>(&mut self, path: P) -> ChainLookupResult> { [INFO] [stderr] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 240 | pub fn open_file_mut>(&mut self, path: P) -> ChainLookupResult> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/archive.rs:266:40 [INFO] [stderr] | [INFO] [stderr] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stderr] | ^^^^^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 266 | pub fn create_file>(&mut self, path: P) -> io::Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/constants.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct RawPackFileEntry { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 38 | pub ty: u8, //0 = Empty, 1 = Directory, 2 = File [INFO] [stderr] | ^^ [INFO] [stderr] 39 | pub name: [u8; 81], [INFO] [stderr] 40 | pub access: FILETIME, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | pub create: FILETIME, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 42 | pub modify: FILETIME, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 43 | pub position: u64, // Position of data for files, position of children for directorys [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 44 | pub size: u32, [INFO] [stderr] | ^^^^ [INFO] [stderr] 45 | pub next_block: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RawPackFileEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `pk2` (lib) generated 9 warnings (run `cargo fix --lib -p pk2` to apply 7 suggestions) [INFO] [stderr] warning: `pk2` (lib test) generated 9 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pk2-fa541f377be49dfe) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test raw::entry::test::pack_entry_read_directory ... ok [INFO] [stdout] test raw::entry::test::pack_entry_read_file ... ok [INFO] [stdout] test raw::entry::test::pack_entry_read_empty ... ok [INFO] [stdout] test filetime::test_convert_roundtrip ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "efc2edb8a131bfc518839c1013e46ea281112c79c2c891c2f894149104344354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc2edb8a131bfc518839c1013e46ea281112c79c2c891c2f894149104344354", kill_on_drop: false }` [INFO] [stdout] efc2edb8a131bfc518839c1013e46ea281112c79c2c891c2f894149104344354