[INFO] cloning repository https://github.com/casglistro/cazip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/casglistro/cazip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcasglistro%2Fcazip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcasglistro%2Fcazip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f07d6411f14399d1e71678ec81b2ad8116878991 [INFO] checking casglistro/cazip against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcasglistro%2Fcazip" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/casglistro/cazip on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/casglistro/cazip [INFO] finished tweaking git repo https://github.com/casglistro/cazip [INFO] tweaked toml for git repo https://github.com/casglistro/cazip written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/casglistro/cazip 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" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dary_heap v0.3.7 [INFO] [stderr] Downloaded sync_file v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50a774c5821396a8ec8c298e0a9cafd3f6e47647520b59ae6f5936c47c4ddc7c [INFO] running `Command { std: "docker" "start" "-a" "50a774c5821396a8ec8c298e0a9cafd3f6e47647520b59ae6f5936c47c4ddc7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50a774c5821396a8ec8c298e0a9cafd3f6e47647520b59ae6f5936c47c4ddc7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50a774c5821396a8ec8c298e0a9cafd3f6e47647520b59ae6f5936c47c4ddc7c", kill_on_drop: false }` [INFO] [stdout] 50a774c5821396a8ec8c298e0a9cafd3f6e47647520b59ae6f5936c47c4ddc7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 151971f29edfd0ce95ff3608e9fdc66817245c2d607402870d5cb3a79cd3c6ba [INFO] running `Command { std: "docker" "start" "-a" "151971f29edfd0ce95ff3608e9fdc66817245c2d607402870d5cb3a79cd3c6ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking crc-catalog v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Checking crc v3.2.1 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling zip v2.2.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking lzma-rs v0.3.0 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking clap_builder v4.5.29 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Compiling cc v1.2.5 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking lib_lz77 v0.1.0 (/opt/rustwide/workdir/crates/lib_lz77) [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dary_heap v0.3.7 [INFO] [stderr] Checking sync_file v0.2.9 [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> crates/lib_lz77/src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn flush(&mut self, sink: S) where S: Sink { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking time v0.3.37 [INFO] [stdout] warning: unused variable: `sink` [INFO] [stdout] --> crates/lib_lz77/src/lib.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | fn flush(&mut self, sink: S) where S: Sink { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sink` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking xattr v1.4.0 [INFO] [stderr] Checking tar v0.4.43 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.12+1.0.8 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.29 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking ca-zip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/huffman.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/huffman.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib_lz77::*` [INFO] [stdout] --> src/lz77.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use lib_lz77::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/huffman.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/huffman.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | #[cfg(not(feature = "std"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib_lz77::*` [INFO] [stdout] --> src/lz77.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use lib_lz77::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Context` [INFO] [stdout] --> src/cli.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use anyhow::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Zip` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Zip; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::OsString` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ffi::OsString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::read` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ptr::read; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Zip` [INFO] [stdout] --> src/cli.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::iter::Zip; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `finish_try` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | macro_rules! finish_try { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::read` [INFO] [stdout] --> src/cli.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ptr::read; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `finish_try` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | macro_rules! finish_try { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `absolute_path` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(absolute_path)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `absolute_path` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(absolute_path)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut archive = ZipArchive::new(SyncFile::open(source[0])?)?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `options` is never read [INFO] [stdout] --> src/cli.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | options = base_options.large_file(true); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | let mut prefix = PathBuf::from(target); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let mut archive = ZipArchive::new(SyncFile::open(source[0])?)?; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mapping`, `finish`, and `restore_canonical_huffman_codes` are never used [INFO] [stdout] --> src/huffman.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Builder: Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn set_mapping(&mut self, symbol: u16, code: Code) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn finish(self) -> Self::Instance; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn restore_canonical_huffman_codes(mut self, bitwidthes: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bitwidthes`, and `safely_peek_bitwidth` are never used [INFO] [stdout] --> src/huffman.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl DecoderBuilder { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 81 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_bitwidthes( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn safely_peek_bitwidth(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table`, `safely_peek_bitwidth`, and `max_bitwidth` are never read [INFO] [stdout] --> src/huffman.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Decoder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 156 | table: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | safely_peek_bitwidth: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | max_bitwidth: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `safely_peek_bitwidth`, `decode`, and `decode_unchecked` are never used [INFO] [stdout] --> src/huffman.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl Decoder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 162 | pub fn safely_peek_bitwidth(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn decode(&self, reader: &mut bit::BitReader) -> io::Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn decode_unchecked(&self, reader: &mut bit::BitReader) -> u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_bitwidthes`, and `from_frequencies` are never used [INFO] [stdout] --> src/huffman.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl EncoderBuilder { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 210 | pub fn new(symbol_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn from_bitwidthes(bitwidthes: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn from_frequencies(symbol_frequencies: &[usize], max_bitwidth: u8) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> src/huffman.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct Encoder { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 252 | table: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Encoder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode`, `lookup`, and `used_max_symbol` are never used [INFO] [stdout] --> src/huffman.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl Encoder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 256 | #[inline(always)] [INFO] [stdout] 257 | pub fn encode(&self, writer: &mut bit::BitWriter, symbol: u16) -> io::Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn lookup(&self, symbol: u16) -> Code { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn used_max_symbol(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/huffman.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `single`, and `merge` are never used [INFO] [stdout] --> src/huffman.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 312 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 313 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn single(symbol: u16, weight: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn merge(&mut self, other: Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/huffman.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn calc(max_bitwidth: u8, frequencies: &[usize]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/huffman.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn merge(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `package` is never used [INFO] [stdout] --> src/huffman.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | fn package(mut nodes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitWriter` is never constructed [INFO] [stdout] --> src/bit.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BitWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitWriter` 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 items `new`, `write_bit`, `write_bits`, `flush`, and `flush_if_needed` are never used [INFO] [stdout] --> src/bit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl BitWriter [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | W: io::Write, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | pub fn new(inner: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn write_bit(&mut self, bit: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn write_bits(&mut self, bitwidth: u8, bits: u16) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn flush(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn flush_if_needed(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_inner_ref`, `as_inner_mut`, and `into_inner` are never used [INFO] [stdout] --> src/bit.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl BitWriter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 58 | pub fn as_inner_ref(&self) -> &W { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn as_inner_mut(&mut self) -> &mut W { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn into_inner(self) -> W { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitReader` is never constructed [INFO] [stdout] --> src/bit.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct BitReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bit.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 77 | / impl BitReader [INFO] [stdout] 78 | | where [INFO] [stdout] 79 | | R: io::Read, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 80 | { [INFO] [stdout] 81 | pub fn new(inner: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_last_error(&mut self, e: io::Error) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn check_last_error(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn read_bit(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn read_bits(&mut self, bitwidth: u8) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn read_bits_unchecked(&mut self, bitwidth: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn peek_bits_unchecked(&mut self, bitwidth: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn skip_bits(&mut self, bitwidth: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn fill_next_u8(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub(crate) fn state(&self) -> BitReaderState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub(crate) fn restore_state(&mut self, state: BitReaderState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `as_inner_ref`, `as_inner_mut`, and `into_inner` are never used [INFO] [stdout] --> src/bit.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl BitReader { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 174 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn as_inner_ref(&self) -> &R { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn as_inner_mut(&mut self) -> &mut R { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn into_inner(self) -> R { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitReaderState` is never constructed [INFO] [stdout] --> src/bit.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) struct BitReaderState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract` is never used [INFO] [stdout] --> src/cli.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | trait LosslessCodec { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 109 | fn extract(&mut self, source: Vec<&Path>, target: &Path) -> ZipResult<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip_extract` is never used [INFO] [stdout] --> src/cli.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn zip_extract( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gzip` is never used [INFO] [stdout] --> src/cli.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn gzip( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tar_append` is never used [INFO] [stdout] --> src/cli.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn tar_append( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tar_extract` is never used [INFO] [stdout] --> src/cli.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn tar_extract( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `options` is never read [INFO] [stdout] --> src/cli.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | options = base_options.large_file(true); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | let mut prefix = PathBuf::from(target); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_mapping`, `finish`, and `restore_canonical_huffman_codes` are never used [INFO] [stdout] --> src/huffman.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait Builder: Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 41 | fn set_mapping(&mut self, symbol: u16, code: Code) -> io::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn finish(self) -> Self::Instance; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn restore_canonical_huffman_codes(mut self, bitwidthes: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `from_bitwidthes`, and `safely_peek_bitwidth` are never used [INFO] [stdout] --> src/huffman.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl DecoderBuilder { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 81 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn from_bitwidthes( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn safely_peek_bitwidth(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `table`, `safely_peek_bitwidth`, and `max_bitwidth` are never read [INFO] [stdout] --> src/huffman.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct Decoder { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 156 | table: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 157 | safely_peek_bitwidth: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 158 | max_bitwidth: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Decoder` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `safely_peek_bitwidth`, `decode`, and `decode_unchecked` are never used [INFO] [stdout] --> src/huffman.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl Decoder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 162 | pub fn safely_peek_bitwidth(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn decode(&self, reader: &mut bit::BitReader) -> io::Result [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn decode_unchecked(&self, reader: &mut bit::BitReader) -> u16 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `from_bitwidthes`, and `from_frequencies` are never used [INFO] [stdout] --> src/huffman.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl EncoderBuilder { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 210 | pub fn new(symbol_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 215 | pub fn from_bitwidthes(bitwidthes: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub fn from_frequencies(symbol_frequencies: &[usize], max_bitwidth: u8) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `table` is never read [INFO] [stdout] --> src/huffman.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 251 | pub struct Encoder { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 252 | table: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Encoder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `encode`, `lookup`, and `used_max_symbol` are never used [INFO] [stdout] --> src/huffman.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl Encoder { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 256 | #[inline(always)] [INFO] [stdout] 257 | pub fn encode(&self, writer: &mut bit::BitWriter, symbol: u16) -> io::Result<()> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | pub fn lookup(&self, symbol: u16) -> Code { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn used_max_symbol(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/huffman.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `empty`, `single`, and `merge` are never used [INFO] [stdout] --> src/huffman.rs:313:16 [INFO] [stdout] | [INFO] [stdout] 312 | impl Node { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 313 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 319 | pub fn single(symbol: u16, weight: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 325 | pub fn merge(&mut self, other: Self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc` is never used [INFO] [stdout] --> src/huffman.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn calc(max_bitwidth: u8, frequencies: &[usize]) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge` is never used [INFO] [stdout] --> src/huffman.rs:357:8 [INFO] [stdout] | [INFO] [stdout] 357 | fn merge(x: Vec, y: Vec) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `package` is never used [INFO] [stdout] --> src/huffman.rs:379:8 [INFO] [stdout] | [INFO] [stdout] 379 | fn package(mut nodes: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitWriter` is never constructed [INFO] [stdout] --> src/bit.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct BitWriter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitWriter` 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 items `new`, `write_bit`, `write_bits`, `flush`, and `flush_if_needed` are never used [INFO] [stdout] --> src/bit.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl BitWriter [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | W: io::Write, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | pub fn new(inner: W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn write_bit(&mut self, bit: bool) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn write_bits(&mut self, bitwidth: u8, bits: u16) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn flush(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | fn flush_if_needed(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `as_inner_ref`, `as_inner_mut`, and `into_inner` are never used [INFO] [stdout] --> src/bit.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl BitWriter { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 58 | pub fn as_inner_ref(&self) -> &W { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn as_inner_mut(&mut self) -> &mut W { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn into_inner(self) -> W { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitReader` is never constructed [INFO] [stdout] --> src/bit.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct BitReader { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BitReader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bit.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 77 | / impl BitReader [INFO] [stdout] 78 | | where [INFO] [stdout] 79 | | R: io::Read, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 80 | { [INFO] [stdout] 81 | pub fn new(inner: R) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn set_last_error(&mut self, e: io::Error) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn check_last_error(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn read_bit(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn read_bits(&mut self, bitwidth: u8) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn read_bits_unchecked(&mut self, bitwidth: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn peek_bits_unchecked(&mut self, bitwidth: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn skip_bits(&mut self, bitwidth: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | fn fill_next_u8(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub(crate) fn state(&self) -> BitReaderState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub(crate) fn restore_state(&mut self, state: BitReaderState) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset`, `as_inner_ref`, `as_inner_mut`, and `into_inner` are never used [INFO] [stdout] --> src/bit.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl BitReader { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 174 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn as_inner_ref(&self) -> &R { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | pub fn as_inner_mut(&mut self) -> &mut R { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn into_inner(self) -> R { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BitReaderState` is never constructed [INFO] [stdout] --> src/bit.rs:189:19 [INFO] [stdout] | [INFO] [stdout] 189 | pub(crate) struct BitReaderState { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extract` is never used [INFO] [stdout] --> src/cli.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 108 | trait LosslessCodec { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 109 | fn extract(&mut self, source: Vec<&Path>, target: &Path) -> ZipResult<()>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zip_extract` is never used [INFO] [stdout] --> src/cli.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn zip_extract( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gzip` is never used [INFO] [stdout] --> src/cli.rs:367:4 [INFO] [stdout] | [INFO] [stdout] 367 | fn gzip( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tar_append` is never used [INFO] [stdout] --> src/cli.rs:394:4 [INFO] [stdout] | [INFO] [stdout] 394 | fn tar_append( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `tar_extract` is never used [INFO] [stdout] --> src/cli.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn tar_extract( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.99s [INFO] running `Command { std: "docker" "inspect" "151971f29edfd0ce95ff3608e9fdc66817245c2d607402870d5cb3a79cd3c6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151971f29edfd0ce95ff3608e9fdc66817245c2d607402870d5cb3a79cd3c6ba", kill_on_drop: false }` [INFO] [stdout] 151971f29edfd0ce95ff3608e9fdc66817245c2d607402870d5cb3a79cd3c6ba