[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpascaloon%2Frusty-tree" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pascaloon/rusty-tree on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e0c4bcddb5c5a79d8b39a5963a3cc5393480a66498cabd0b4ae76f292e69e3e [INFO] running `Command { std: "docker" "start" "-a" "1e0c4bcddb5c5a79d8b39a5963a3cc5393480a66498cabd0b4ae76f292e69e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e0c4bcddb5c5a79d8b39a5963a3cc5393480a66498cabd0b4ae76f292e69e3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0c4bcddb5c5a79d8b39a5963a3cc5393480a66498cabd0b4ae76f292e69e3e", kill_on_drop: false }` [INFO] [stdout] 1e0c4bcddb5c5a79d8b39a5963a3cc5393480a66498cabd0b4ae76f292e69e3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4dcb25c33632d1a157a5beb6e990b2ec4975a9f057521d9a8b371024e48939f [INFO] running `Command { std: "docker" "start" "-a" "e4dcb25c33632d1a157a5beb6e990b2ec4975a9f057521d9a8b371024e48939f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking glob-match v0.2.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking clap_lex v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling clap_derive v4.1.9 [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)]` 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:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let is_last = (c == total); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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: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)]` on by default [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)]` 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)]` 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: 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)]` on by default [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: 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: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 `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 `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: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 `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: 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: 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: 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: 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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.68s [INFO] running `Command { std: "docker" "inspect" "e4dcb25c33632d1a157a5beb6e990b2ec4975a9f057521d9a8b371024e48939f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4dcb25c33632d1a157a5beb6e990b2ec4975a9f057521d9a8b371024e48939f", kill_on_drop: false }` [INFO] [stdout] e4dcb25c33632d1a157a5beb6e990b2ec4975a9f057521d9a8b371024e48939f [INFO] checking pascaloon/rusty-tree against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpascaloon%2Frusty-tree" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pascaloon/rusty-tree on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c887aceb0a937a1fd6ab5e9581bfc8bc1842c32c5f9f3594732a23375668778 [INFO] running `Command { std: "docker" "start" "-a" "6c887aceb0a937a1fd6ab5e9581bfc8bc1842c32c5f9f3594732a23375668778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c887aceb0a937a1fd6ab5e9581bfc8bc1842c32c5f9f3594732a23375668778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c887aceb0a937a1fd6ab5e9581bfc8bc1842c32c5f9f3594732a23375668778", kill_on_drop: false }` [INFO] [stdout] 6c887aceb0a937a1fd6ab5e9581bfc8bc1842c32c5f9f3594732a23375668778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 481e6a507a47bd3e16739e713fd2ed095cadfa70b5352ba1270eb91b46ebfdde [INFO] running `Command { std: "docker" "start" "-a" "481e6a507a47bd3e16739e713fd2ed095cadfa70b5352ba1270eb91b46ebfdde", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking glob-match v0.2.1 [INFO] [stderr] Checking clap_lex v0.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Compiling clap_derive v4.1.9 [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)]` 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:67:23 [INFO] [stdout] | [INFO] [stdout] 67 | let is_last = (c == total); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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: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)]` on by default [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)]` 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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/settings.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | let file = File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | serde_json::from_reader(reader).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/settings.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 109 | let file = File::open(path).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let reader = BufReader::new(file); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | serde_json::from_reader(reader).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-tree` (bin "rusty-tree") due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusty-tree` (bin "rusty-tree" test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "481e6a507a47bd3e16739e713fd2ed095cadfa70b5352ba1270eb91b46ebfdde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481e6a507a47bd3e16739e713fd2ed095cadfa70b5352ba1270eb91b46ebfdde", kill_on_drop: false }` [INFO] [stdout] 481e6a507a47bd3e16739e713fd2ed095cadfa70b5352ba1270eb91b46ebfdde