[INFO] cloning repository https://github.com/eatgrass/mdict-parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eatgrass/mdict-parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featgrass%2Fmdict-parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featgrass%2Fmdict-parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85859ba693ed1ae9a221ee7eea1dd84bec214228 [INFO] checking eatgrass/mdict-parser/85859ba693ed1ae9a221ee7eea1dd84bec214228 against master#51ff895062ba60a7cba53f57af928c3fb7b0f2f4 for pr-146167 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Featgrass%2Fmdict-parser" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/eatgrass/mdict-parser [INFO] finished tweaking git repo https://github.com/eatgrass/mdict-parser [INFO] tweaked toml for git repo https://github.com/eatgrass/mdict-parser written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/eatgrass/mdict-parser on toolchain 51ff895062ba60a7cba53f57af928c3fb7b0f2f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/eatgrass/mdict-parser 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" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] [stderr] Adding adler2 v2.0.1 [INFO] [stderr] Updating cc v1.0.79 -> v1.2.36 [INFO] [stderr] Adding crc32fast v1.5.0 [INFO] [stderr] Adding find-msvc-tools v0.1.1 [INFO] [stderr] Adding flate2 v1.1.2 [INFO] [stderr] Adding libz-sys v1.1.22 [INFO] [stderr] Adding miniz_oxide v0.8.9 [INFO] [stderr] Adding pkg-config v0.3.32 [INFO] [stderr] Adding shlex v1.3.0 [INFO] [stderr] Adding vcpkg v0.2.15 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minilzo-rs v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91cfc3693951fd66a1c61acbb8e9607ee7df6d35dafd7be893d60143611b358 [INFO] running `Command { std: "docker" "start" "-a" "f91cfc3693951fd66a1c61acbb8e9607ee7df6d35dafd7be893d60143611b358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91cfc3693951fd66a1c61acbb8e9607ee7df6d35dafd7be893d60143611b358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91cfc3693951fd66a1c61acbb8e9607ee7df6d35dafd7be893d60143611b358", kill_on_drop: false }` [INFO] [stdout] f91cfc3693951fd66a1c61acbb8e9607ee7df6d35dafd7be893d60143611b358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+51ff895062ba60a7cba53f57af928c3fb7b0f2f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18b0ee42b375a6fa9ec3bec9419a14658f67baba668ecf6f37a1d1ea79ebc9c7 [INFO] running `Command { std: "docker" "start" "-a" "18b0ee42b375a6fa9ec3bec9419a14658f67baba668ecf6f37a1d1ea79ebc9c7", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking xxhash-rust v0.8.6 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling cc v1.2.36 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking digest v0.10.6 [INFO] [stderr] Checking ripemd v0.1.3 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling minilzo-rs v0.6.0 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking mdict-parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/parser.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | io::{self, Read}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc_size` [INFO] [stdout] --> src/parser.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | let enc_size = (enc >> 8) & 0xff; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/parser.rs:367:29 [INFO] [stdout] | [INFO] [stdout] 367 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | let mut decrypt = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc_size` [INFO] [stdout] --> src/parser.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | let enc_size = (enc >> 8) & 0xff; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/parser.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | let mut decrypt = vec![]; [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/parser.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 408 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc_size` [INFO] [stdout] --> src/parser.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 355 | let enc_size = (enc >> 8) & 0xff; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/parser.rs:367:29 [INFO] [stdout] | [INFO] [stdout] 367 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc_size` [INFO] [stdout] --> src/parser.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | let enc_size = (enc >> 8) & 0xff; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/parser.rs:515:29 [INFO] [stdout] | [INFO] [stdout] 515 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | let mut decrypt = vec![]; [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/parser.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [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/parser.rs:366:25 [INFO] [stdout] | [INFO] [stdout] 366 | let mut decrypt = vec![]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:367:25 [INFO] [stdout] | [INFO] [stdout] 367 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc_size` [INFO] [stdout] --> src/parser.rs:396:17 [INFO] [stdout] | [INFO] [stdout] 396 | let enc_size = (enc >> 8) & 0xff; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/parser.rs:408:29 [INFO] [stdout] | [INFO] [stdout] 408 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:407:25 [INFO] [stdout] | [INFO] [stdout] 407 | let mut decrypt = vec![]; [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/parser.rs:408:25 [INFO] [stdout] | [INFO] [stdout] 408 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enc_size` [INFO] [stdout] --> src/parser.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | let enc_size = (enc >> 8) & 0xff; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enc_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cipher` [INFO] [stdout] --> src/parser.rs:515:29 [INFO] [stdout] | [INFO] [stdout] 515 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:514:25 [INFO] [stdout] | [INFO] [stdout] 514 | let mut decrypt = vec![]; [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/parser.rs:515:25 [INFO] [stdout] | [INFO] [stdout] 515 | let mut cipher = Salsa20::new(key.as_slice().into(), &[0; 8].into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/parser.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | let (input, entries) = be_u32(input)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_buf_size` [INFO] [stdout] --> src/parser.rs:448:17 [INFO] [stdout] | [INFO] [stdout] 448 | let (input, record_buf_size) = be_u32(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/parser.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let (input, entries) = be_u64(input)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_buf_size` [INFO] [stdout] --> src/parser.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | let (input, record_buf_size) = be_u64(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_num`, `entry_num`, and `decompressed_size` are never read [INFO] [stdout] --> src/parser.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct KeyBlockHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 45 | block_num: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | entry_num: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | decompressed_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_parser_v1` is never used [INFO] [stdout] --> src/parser.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn block_parser_v1<'a>(size: usize) -> impl FnMut(&'a [u8]) -> IResult<&'a [u8], Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mdict.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn items(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn items(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/parser.rs:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | let (input, entries) = be_u32(input)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_buf_size` [INFO] [stdout] --> src/parser.rs:448:17 [INFO] [stdout] | [INFO] [stdout] 448 | let (input, record_buf_size) = be_u32(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entries` [INFO] [stdout] --> src/parser.rs:465:17 [INFO] [stdout] | [INFO] [stdout] 465 | let (input, entries) = be_u64(input)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entries` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `record_buf_size` [INFO] [stdout] --> src/parser.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | let (input, record_buf_size) = be_u64(input)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_buf_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_num`, `entry_num`, and `decompressed_size` are never read [INFO] [stdout] --> src/parser.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct KeyBlockHeader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 45 | block_num: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 46 | entry_num: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | decompressed_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `KeyBlockHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `block_parser_v1` is never used [INFO] [stdout] --> src/parser.rs:350:4 [INFO] [stdout] | [INFO] [stdout] 350 | fn block_parser_v1<'a>(size: usize) -> impl FnMut(&'a [u8]) -> IResult<&'a [u8], Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mdict.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn items(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn items(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.55s [INFO] running `Command { std: "docker" "inspect" "18b0ee42b375a6fa9ec3bec9419a14658f67baba668ecf6f37a1d1ea79ebc9c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b0ee42b375a6fa9ec3bec9419a14658f67baba668ecf6f37a1d1ea79ebc9c7", kill_on_drop: false }` [INFO] [stdout] 18b0ee42b375a6fa9ec3bec9419a14658f67baba668ecf6f37a1d1ea79ebc9c7