[INFO] cloning repository https://github.com/panzi/rust-u4pak [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/panzi/rust-u4pak" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-u4pak", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-u4pak'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd5a264de35becd7fb8c10afecef9f47e64fe706 [INFO] testing panzi/rust-u4pak against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpanzi%2Frust-u4pak" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/panzi/rust-u4pak on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/panzi/rust-u4pak [INFO] finished tweaking git repo https://github.com/panzi/rust-u4pak [INFO] tweaked toml for git repo https://github.com/panzi/rust-u4pak written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/panzi/rust-u4pak 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cntr-fuse-abi v0.4.1 [INFO] [stderr] Downloaded cntr-fuse v0.4.1 [INFO] [stderr] Downloaded daemonize v0.4.1 [INFO] [stderr] Downloaded cntr-fuse-sys v0.4.1 [INFO] [stderr] Downloaded boxfnonce v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbcbc0f832c35219721e93093cb182996c0e0e9612fc750ded2ac28c8f822328 [INFO] running `Command { std: "docker" "start" "-a" "fbcbc0f832c35219721e93093cb182996c0e0e9612fc750ded2ac28c8f822328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbcbc0f832c35219721e93093cb182996c0e0e9612fc750ded2ac28c8f822328", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbcbc0f832c35219721e93093cb182996c0e0e9612fc750ded2ac28c8f822328", kill_on_drop: false }` [INFO] [stdout] fbcbc0f832c35219721e93093cb182996c0e0e9612fc750ded2ac28c8f822328 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6bd570ac61fcc05aa5086a818fe1a82083e50e2eb607836df5a31991c947788 [INFO] running `Command { std: "docker" "start" "-a" "d6bd570ac61fcc05aa5086a818fe1a82083e50e2eb607836df5a31991c947788", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.113 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling boxfnonce v0.1.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling cntr-fuse-abi v0.4.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling cntr-fuse-sys v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling daemonize v0.4.1 [INFO] [stderr] Compiling cntr-fuse v0.4.1 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling u4pak v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/record.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{Error, Result, check::NULL_SHA1, pak::{COMPR_NONE, HexDisplay, Sha1}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn paths(&'a self) -> Map, impl FnMut((&'a Filter<'a>, String)) -> String> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMut((&... [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:141:76 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn non_visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMu... [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pak.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pak.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 296 | 1 => V1_RECORD_HEADER_SIZE, [INFO] [stdout] | - matches some of the same values [INFO] [stdout] 297 | 2 => V2_RECORD_HEADER_SIZE, [INFO] [stdout] | - matches some of the same values [INFO] [stdout] 298 | _ => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entry_count` is assigned to, but never used [INFO] [stdout] --> src/index.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | entry_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_entry_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path_hash_seed` is assigned to, but never used [INFO] [stdout] --> src/index.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | path_hash_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path_hash_seed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_count` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / decode!( [INFO] [stdout] 244 | | reader, [INFO] [stdout] 245 | | entry_count: i32, [INFO] [stdout] 246 | | path_hash_seed: u64, [INFO] [stdout] 247 | | has_path_hash_index: u32 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path_hash_seed` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / decode!( [INFO] [stdout] 244 | | reader, [INFO] [stdout] 245 | | entry_count: i32, [INFO] [stdout] 246 | | path_hash_seed: u64, [INFO] [stdout] 247 | | has_path_hash_index: u32 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path_hash_index_hash` is assigned to, but never used [INFO] [stdout] --> src/index.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | path_hash_index_hash: [u8; 20] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path_hash_index_hash` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path_hash_index_hash` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / decode!( [INFO] [stdout] 255 | | reader, [INFO] [stdout] 256 | | path_hash_index_offset: i64, [INFO] [stdout] 257 | | path_hash_index_size: i64, [INFO] [stdout] 258 | | path_hash_index_hash: [u8; 20] [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `full_directory_index_hash` is assigned to, but never used [INFO] [stdout] --> src/index.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | full_directory_index_hash: [u8; 20] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_full_directory_index_hash` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `full_directory_index_hash` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | / decode!( [INFO] [stdout] 270 | | reader, [INFO] [stdout] 271 | | full_directory_index_offset: i64, [INFO] [stdout] 272 | | full_directory_index_size: i64, [INFO] [stdout] 273 | | full_directory_index_hash: [u8; 20] [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encryption_uuid`, `frozen`, and `compression` are never read [INFO] [stdout] --> src/pak.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Footer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 130 | footer_offset: u64, [INFO] [stdout] 131 | encryption_uuid: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | frozen: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | compression: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keep_full_directory`, `validate_pruning`, `delay_pruning`, `write_path_hash`, and `write_full_directory_index` are never read [INFO] [stdout] --> src/index.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct IndexLoadParams { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 70 | keep_full_directory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | validate_pruning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | delay_pruning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | write_path_hash: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | write_full_directory_index: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexLoadParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/u4pak/list.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ListOptions<'_> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 32 | #[inline] [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d6bd570ac61fcc05aa5086a818fe1a82083e50e2eb607836df5a31991c947788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6bd570ac61fcc05aa5086a818fe1a82083e50e2eb607836df5a31991c947788", kill_on_drop: false }` [INFO] [stdout] d6bd570ac61fcc05aa5086a818fe1a82083e50e2eb607836df5a31991c947788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3308ff005027f27d6c1b377de2f03d508c99806200ac16ea5dcecf32ab07924f [INFO] running `Command { std: "docker" "start" "-a" "3308ff005027f27d6c1b377de2f03d508c99806200ac16ea5dcecf32ab07924f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/record.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{Error, Result, check::NULL_SHA1, pak::{COMPR_NONE, HexDisplay, Sha1}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn paths(&'a self) -> Map, impl FnMut((&'a Filter<'a>, String)) -> String> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMut((&... [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:141:76 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn non_visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMu... [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pak.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pak.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 296 | 1 => V1_RECORD_HEADER_SIZE, [INFO] [stdout] | - matches some of the same values [INFO] [stdout] 297 | 2 => V2_RECORD_HEADER_SIZE, [INFO] [stdout] | - matches some of the same values [INFO] [stdout] 298 | _ => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entry_count` is assigned to, but never used [INFO] [stdout] --> src/index.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | entry_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_entry_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path_hash_seed` is assigned to, but never used [INFO] [stdout] --> src/index.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | path_hash_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path_hash_seed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_count` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / decode!( [INFO] [stdout] 244 | | reader, [INFO] [stdout] 245 | | entry_count: i32, [INFO] [stdout] 246 | | path_hash_seed: u64, [INFO] [stdout] 247 | | has_path_hash_index: u32 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path_hash_seed` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / decode!( [INFO] [stdout] 244 | | reader, [INFO] [stdout] 245 | | entry_count: i32, [INFO] [stdout] 246 | | path_hash_seed: u64, [INFO] [stdout] 247 | | has_path_hash_index: u32 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path_hash_index_hash` is assigned to, but never used [INFO] [stdout] --> src/index.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | path_hash_index_hash: [u8; 20] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path_hash_index_hash` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path_hash_index_hash` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / decode!( [INFO] [stdout] 255 | | reader, [INFO] [stdout] 256 | | path_hash_index_offset: i64, [INFO] [stdout] 257 | | path_hash_index_size: i64, [INFO] [stdout] 258 | | path_hash_index_hash: [u8; 20] [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `full_directory_index_hash` is assigned to, but never used [INFO] [stdout] --> src/index.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | full_directory_index_hash: [u8; 20] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_full_directory_index_hash` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `full_directory_index_hash` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | / decode!( [INFO] [stdout] 270 | | reader, [INFO] [stdout] 271 | | full_directory_index_offset: i64, [INFO] [stdout] 272 | | full_directory_index_size: i64, [INFO] [stdout] 273 | | full_directory_index_hash: [u8; 20] [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encryption_uuid`, `frozen`, and `compression` are never read [INFO] [stdout] --> src/pak.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Footer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 130 | footer_offset: u64, [INFO] [stdout] 131 | encryption_uuid: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | frozen: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | compression: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keep_full_directory`, `validate_pruning`, `delay_pruning`, `write_path_hash`, and `write_full_directory_index` are never read [INFO] [stdout] --> src/index.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct IndexLoadParams { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 70 | keep_full_directory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | validate_pruning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | delay_pruning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | write_path_hash: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | write_full_directory_index: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexLoadParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling u4pak v1.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/u4pak/list.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ListOptions<'_> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 32 | #[inline] [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/record.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{Error, Result, check::NULL_SHA1, pak::{COMPR_NONE, HexDisplay, Sha1}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:131:46 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn paths(&'a self) -> Map, impl FnMut((&'a Filter<'a>, String)) -> String> { [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMut((&... [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/filter.rs:141:76 [INFO] [stdout] | [INFO] [stdout] 29 | impl<'a> Filter<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn non_visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMu... [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/u4pak/list.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl ListOptions<'_> { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 32 | #[inline] [INFO] [stdout] 33 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/pak.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/pak.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 296 | 1 => V1_RECORD_HEADER_SIZE, [INFO] [stdout] | - matches some of the same values [INFO] [stdout] 297 | 2 => V2_RECORD_HEADER_SIZE, [INFO] [stdout] | - matches some of the same values [INFO] [stdout] 298 | _ => { [INFO] [stdout] | - matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 309 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `entry_count` is assigned to, but never used [INFO] [stdout] --> src/index.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | entry_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_entry_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path_hash_seed` is assigned to, but never used [INFO] [stdout] --> src/index.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | path_hash_seed: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path_hash_seed` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `entry_count` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / decode!( [INFO] [stdout] 244 | | reader, [INFO] [stdout] 245 | | entry_count: i32, [INFO] [stdout] 246 | | path_hash_seed: u64, [INFO] [stdout] 247 | | has_path_hash_index: u32 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path_hash_seed` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | / decode!( [INFO] [stdout] 244 | | reader, [INFO] [stdout] 245 | | entry_count: i32, [INFO] [stdout] 246 | | path_hash_seed: u64, [INFO] [stdout] 247 | | has_path_hash_index: u32 [INFO] [stdout] 248 | | ); [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `path_hash_index_hash` is assigned to, but never used [INFO] [stdout] --> src/index.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | path_hash_index_hash: [u8; 20] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_path_hash_index_hash` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `path_hash_index_hash` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | / decode!( [INFO] [stdout] 255 | | reader, [INFO] [stdout] 256 | | path_hash_index_offset: i64, [INFO] [stdout] 257 | | path_hash_index_size: i64, [INFO] [stdout] 258 | | path_hash_index_hash: [u8; 20] [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `full_directory_index_hash` is assigned to, but never used [INFO] [stdout] --> src/index.rs:273:13 [INFO] [stdout] | [INFO] [stdout] 273 | full_directory_index_hash: [u8; 20] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_full_directory_index_hash` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `full_directory_index_hash` is never read [INFO] [stdout] --> src/decode.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/index.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | / decode!( [INFO] [stdout] 270 | | reader, [INFO] [stdout] 271 | | full_directory_index_offset: i64, [INFO] [stdout] 272 | | full_directory_index_size: i64, [INFO] [stdout] 273 | | full_directory_index_hash: [u8; 20] [INFO] [stdout] 274 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encryption_uuid`, `frozen`, and `compression` are never read [INFO] [stdout] --> src/pak.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Footer { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 130 | footer_offset: u64, [INFO] [stdout] 131 | encryption_uuid: u128, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | frozen: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | compression: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keep_full_directory`, `validate_pruning`, `delay_pruning`, `write_path_hash`, and `write_full_directory_index` are never read [INFO] [stdout] --> src/index.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct IndexLoadParams { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 70 | keep_full_directory: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 71 | validate_pruning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 72 | delay_pruning: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 73 | write_path_hash: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 74 | write_full_directory_index: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexLoadParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 10.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "3308ff005027f27d6c1b377de2f03d508c99806200ac16ea5dcecf32ab07924f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3308ff005027f27d6c1b377de2f03d508c99806200ac16ea5dcecf32ab07924f", kill_on_drop: false }` [INFO] [stdout] 3308ff005027f27d6c1b377de2f03d508c99806200ac16ea5dcecf32ab07924f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 106b9f6e5c512ef92ffdb8299029ba162ada0198516babf148b15557e6e46a9a [INFO] running `Command { std: "docker" "start" "-a" "106b9f6e5c512ef92ffdb8299029ba162ada0198516babf148b15557e6e46a9a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/record.rs:11:13 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::{Error, Result, check::NULL_SHA1, pak::{COMPR_NONE, HexDisplay, Sha1}}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/filter.rs:131:46 [INFO] [stderr] | [INFO] [stderr] 29 | impl<'a> Filter<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 131 | pub fn paths(&'a self) -> Map, impl FnMut((&'a Filter<'a>, String)) -> String> { [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/filter.rs:136:72 [INFO] [stderr] | [INFO] [stderr] 29 | impl<'a> Filter<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 136 | pub fn visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMut((&... [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/filter.rs:141:76 [INFO] [stderr] | [INFO] [stderr] 29 | impl<'a> Filter<'a> { [INFO] [stderr] | -- lifetime `'a` declared here [INFO] [stderr] ... [INFO] [stderr] 141 | pub fn non_visited_paths(&'a self) -> Map, impl FnMut(&(&'a Filter<'a>, String)) -> bool>, impl FnMu... [INFO] [stderr] | ^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/pak.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 309 | _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/pak.rs:309:17 [INFO] [stderr] | [INFO] [stderr] 296 | 1 => V1_RECORD_HEADER_SIZE, [INFO] [stderr] | - matches some of the same values [INFO] [stderr] 297 | 2 => V2_RECORD_HEADER_SIZE, [INFO] [stderr] | - matches some of the same values [INFO] [stderr] 298 | _ => { [INFO] [stderr] | - matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 309 | _ => { [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `entry_count` is assigned to, but never used [INFO] [stderr] --> src/index.rs:245:9 [INFO] [stderr] | [INFO] [stderr] 245 | entry_count: i32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_entry_count` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `path_hash_seed` is assigned to, but never used [INFO] [stderr] --> src/index.rs:246:9 [INFO] [stderr] | [INFO] [stderr] 246 | path_hash_seed: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_path_hash_seed` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `entry_count` is never read [INFO] [stderr] --> src/decode.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | / decode!( [INFO] [stderr] 244 | | reader, [INFO] [stderr] 245 | | entry_count: i32, [INFO] [stderr] 246 | | path_hash_seed: u64, [INFO] [stderr] 247 | | has_path_hash_index: u32 [INFO] [stderr] 248 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: value assigned to `path_hash_seed` is never read [INFO] [stderr] --> src/decode.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | / decode!( [INFO] [stderr] 244 | | reader, [INFO] [stderr] 245 | | entry_count: i32, [INFO] [stderr] 246 | | path_hash_seed: u64, [INFO] [stderr] 247 | | has_path_hash_index: u32 [INFO] [stderr] 248 | | ); [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `path_hash_index_hash` is assigned to, but never used [INFO] [stderr] --> src/index.rs:258:13 [INFO] [stderr] | [INFO] [stderr] 258 | path_hash_index_hash: [u8; 20] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_path_hash_index_hash` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `path_hash_index_hash` is never read [INFO] [stderr] --> src/decode.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:254:9 [INFO] [stderr] | [INFO] [stderr] 254 | / decode!( [INFO] [stderr] 255 | | reader, [INFO] [stderr] 256 | | path_hash_index_offset: i64, [INFO] [stderr] 257 | | path_hash_index_size: i64, [INFO] [stderr] 258 | | path_hash_index_hash: [u8; 20] [INFO] [stderr] 259 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `full_directory_index_hash` is assigned to, but never used [INFO] [stderr] --> src/index.rs:273:13 [INFO] [stderr] | [INFO] [stderr] 273 | full_directory_index_hash: [u8; 20] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_full_directory_index_hash` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `full_directory_index_hash` is never read [INFO] [stderr] --> src/decode.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | $name = $($wrap)*(<$type>::decode($reader)?); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/index.rs:269:9 [INFO] [stderr] | [INFO] [stderr] 269 | / decode!( [INFO] [stderr] 270 | | reader, [INFO] [stderr] 271 | | full_directory_index_offset: i64, [INFO] [stderr] 272 | | full_directory_index_size: i64, [INFO] [stderr] 273 | | full_directory_index_hash: [u8; 20] [INFO] [stderr] 274 | | ); [INFO] [stderr] | |_________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: this warning originates in the macro `decode` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `encryption_uuid`, `frozen`, and `compression` are never read [INFO] [stderr] --> src/pak.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 129 | pub struct Footer { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 130 | footer_offset: u64, [INFO] [stderr] 131 | encryption_uuid: u128, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | frozen: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 139 | compression: Vec, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `keep_full_directory`, `validate_pruning`, `delay_pruning`, `write_path_hash`, and `write_full_directory_index` are never read [INFO] [stderr] --> src/index.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 69 | pub struct IndexLoadParams { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 70 | keep_full_directory: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 71 | validate_pruning: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 72 | delay_pruning: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 73 | write_path_hash: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 74 | write_full_directory_index: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `IndexLoadParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `u4pak` (lib) generated 15 warnings (run `cargo fix --lib -p u4pak` to apply 1 suggestion) [INFO] [stderr] warning: `u4pak` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/bin/u4pak/list.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 31 | impl ListOptions<'_> { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 32 | #[inline] [INFO] [stderr] 33 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `u4pak` (bin "u4pak" test) generated 1 warning [INFO] [stderr] warning: `u4pak` (bin "u4pak") generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: daemonize v0.4.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/u4pak-da0af6ae0da4c6c6) [INFO] [stdout] [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] [stderr] Running unittests src/bin/u4pak/main.rs (/opt/rustwide/target/debug/deps/u4pak-38de0c255f52d7cb) [INFO] [stdout] [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] [stderr] Running tests/unpack_v11_it.rs (/opt/rustwide/target/debug/deps/unpack_v11_it-1318cea9375c370a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_v11 ... FAILED [INFO] [stdout] test test_v11_compressed_encindex ... FAILED [INFO] [stdout] test test_v11_encindex ... FAILED [INFO] [stdout] test test_v11_compressed_encrypted_encindex ... FAILED [INFO] [stdout] test test_v11_compressed ... FAILED [INFO] [stdout] test test_v11_compressed_encrypted ... FAILED [INFO] [stdout] test test_v11_encrypted ... FAILED [INFO] [stdout] test test_v11_encrypted_encindex ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_v11 stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_compressed_encindex stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_compressed_encindex_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_encindex stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_encindex_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_compressed_encrypted_encindex stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_compressed_encrypted_encindex_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_compressed stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_compressed_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_compressed_encrypted stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_compressed_encrypted_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_encrypted stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_encrypted_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] ---- test_v11_encrypted_encindex stdout ---- [INFO] [stdout] Error: Error { path: Some("./pak-examples/pak/v11/test_encrypted_encindex_v11.pak"), error_type: IO(Os { code: 2, kind: NotFound, message: "No such file or directory" }) } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_v11 [INFO] [stdout] test_v11_compressed [INFO] [stdout] test_v11_compressed_encindex [INFO] [stdout] test_v11_compressed_encrypted [INFO] [stdout] test_v11_compressed_encrypted_encindex [INFO] [stdout] test_v11_encindex [INFO] [stdout] test_v11_encrypted [INFO] [stdout] test_v11_encrypted_encindex [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test unpack_v11_it` [INFO] running `Command { std: "docker" "inspect" "106b9f6e5c512ef92ffdb8299029ba162ada0198516babf148b15557e6e46a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "106b9f6e5c512ef92ffdb8299029ba162ada0198516babf148b15557e6e46a9a", kill_on_drop: false }` [INFO] [stdout] 106b9f6e5c512ef92ffdb8299029ba162ada0198516babf148b15557e6e46a9a