[INFO] cloning repository https://github.com/pascaloon/rusty-tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pascaloon/rusty-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpascaloon%2Frusty-tree", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpascaloon%2Frusty-tree'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3582137ca565bb57a873c8f45e21a5fb5e90a745 [INFO] checking pascaloon/rusty-tree against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpascaloon%2Frusty-tree" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pascaloon/rusty-tree [INFO] finished tweaking git repo https://github.com/pascaloon/rusty-tree [INFO] tweaked toml for git repo https://github.com/pascaloon/rusty-tree written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pascaloon/rusty-tree on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pascaloon/rusty-tree 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glob-match v0.2.1 [INFO] [stderr] Downloaded clap_lex v0.3.3 [INFO] [stderr] Downloaded clap_derive v4.1.9 [INFO] [stderr] Downloaded clap v4.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfd2420cebcec322a4ccaba85be919a6162302b42d663c29d004f1b0de41b288 [INFO] running `Command { std: "docker" "start" "-a" "cfd2420cebcec322a4ccaba85be919a6162302b42d663c29d004f1b0de41b288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfd2420cebcec322a4ccaba85be919a6162302b42d663c29d004f1b0de41b288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd2420cebcec322a4ccaba85be919a6162302b42d663c29d004f1b0de41b288", kill_on_drop: false }` [INFO] [stdout] cfd2420cebcec322a4ccaba85be919a6162302b42d663c29d004f1b0de41b288 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45a6e91b37505c93b52c051314ab5d825655a15833ec343bb79a18876b9b949 [INFO] running `Command { std: "docker" "start" "-a" "a45a6e91b37505c93b52c051314ab5d825655a15833ec343bb79a18876b9b949", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking clap_lex v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking glob-match v0.2.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v4.1.9 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking clap v4.1.11 [INFO] [stderr] Checking rusty-tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/crawler.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let is_last = (c == total); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - let is_last = (c == total); [INFO] [stdout] 67 + let is_last = c == total ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/crawler.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | let is_last = (c == files_count); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - let is_last = (c == files_count); [INFO] [stdout] 116 + let is_last = c == files_count ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/crawler.rs:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let is_last = (c == total); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 67 - let is_last = (c == total); [INFO] [stdout] 67 + let is_last = c == total ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/crawler.rs:116:35 [INFO] [stdout] | [INFO] [stdout] 116 | let is_last = (c == files_count); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - let is_last = (c == files_count); [INFO] [stdout] 116 + let is_last = c == files_count ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last` [INFO] [stdout] --> src/crawler.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let is_last = (c == files_count); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SkppedFiles` is never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum RenderType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | SkppedFiles(SkippedRenderIten) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/multimap.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl MultiMap [INFO] [stdout] 11 | | where K: Eq + Hash + Clone [INFO] [stdout] | |______________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn iter(&self) -> Vec<(&K, &[V])> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symlink` and `junction` are never read [INFO] [stdout] --> src/settings.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DirectoryIconSet { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | pub default: String, [INFO] [stdout] 13 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryIconSet` 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: fields `symlink` and `junction` are never read [INFO] [stdout] --> src/settings.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FileIconSet { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub default: String, [INFO] [stdout] 21 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileIconSet` 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: fields `default`, `symlink`, and `junction` are never read [INFO] [stdout] --> src/settings.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DirectoryColorSet { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 36 | pub default: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub ignored: String, [INFO] [stdout] 38 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryColorSet` 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: fields `symlink` and `junction` are never read [INFO] [stdout] --> src/settings.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FileColorSet { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 45 | pub default: String, [INFO] [stdout] 46 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileColorSet` 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: field `extensions_fold_count` is never read [INFO] [stdout] --> src/settings.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 77 | pub ignored_dirs: Vec, [INFO] [stdout] 78 | pub extensions_fold_count: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` 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: method `is_filtered` is never used [INFO] [stdout] --> src/settings.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn is_filtered(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Counter` is never constructed [INFO] [stdout] --> src/counter.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Counter(HashMap) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/counter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Counter [INFO] [stdout] 8 | | where K: Eq + Hash + Clone [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] 9 | { [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn inc(&mut self, k: &K) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn dec(&mut self, k: &K) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn with_delta(&mut self, k: &K, delta: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get(&self, k: &K) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, K, i32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_last` [INFO] [stdout] --> src/crawler.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | let is_last = (c == files_count); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_last` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SkppedFiles` is never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum RenderType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | SkppedFiles(SkippedRenderIten) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MultiMap` is never constructed [INFO] [stdout] --> src/multimap.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MultiMap [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get`, `insert`, and `iter` are never used [INFO] [stdout] --> src/multimap.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl MultiMap [INFO] [stdout] 11 | | where K: Eq + Hash + Clone [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | pub fn new() -> MultiMap { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn get(&self, key: &K) -> Option<&[V]> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn insert(&mut self, key: &K, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn iter(&self) -> Vec<(&K, &[V])> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symlink` and `junction` are never read [INFO] [stdout] --> src/settings.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct DirectoryIconSet { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 12 | pub default: String, [INFO] [stdout] 13 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryIconSet` 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: fields `symlink` and `junction` are never read [INFO] [stdout] --> src/settings.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct FileIconSet { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 20 | pub default: String, [INFO] [stdout] 21 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileIconSet` 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: fields `default`, `symlink`, and `junction` are never read [INFO] [stdout] --> src/settings.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct DirectoryColorSet { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 36 | pub default: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | pub ignored: String, [INFO] [stdout] 38 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DirectoryColorSet` 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: fields `symlink` and `junction` are never read [INFO] [stdout] --> src/settings.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct FileColorSet { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 45 | pub default: String, [INFO] [stdout] 46 | pub symlink: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | pub junction: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FileColorSet` 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: field `extensions_fold_count` is never read [INFO] [stdout] --> src/settings.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 77 | pub ignored_dirs: Vec, [INFO] [stdout] 78 | pub extensions_fold_count: usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` 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: method `is_filtered` is never used [INFO] [stdout] --> src/settings.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 139 | impl Config { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn is_filtered(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Counter` is never constructed [INFO] [stdout] --> src/counter.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Counter(HashMap) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/counter.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 7 | / impl Counter [INFO] [stdout] 8 | | where K: Eq + Hash + Clone [INFO] [stdout] | |______________________________- associated items in this implementation [INFO] [stdout] 9 | { [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn inc(&mut self, k: &K) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn dec(&mut self, k: &K) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn with_delta(&mut self, k: &K, delta: i32) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get(&self, k: &K) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/counter.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 35 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, K, i32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.62s [INFO] running `Command { std: "docker" "inspect" "a45a6e91b37505c93b52c051314ab5d825655a15833ec343bb79a18876b9b949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45a6e91b37505c93b52c051314ab5d825655a15833ec343bb79a18876b9b949", kill_on_drop: false }` [INFO] [stdout] a45a6e91b37505c93b52c051314ab5d825655a15833ec343bb79a18876b9b949