[INFO] cloning repository https://github.com/PeterOlsen1/function-finder [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterOlsen1/function-finder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterOlsen1%2Ffunction-finder", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterOlsen1%2Ffunction-finder'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f82fe9a8c938826d432f73f2b31eae97ef943a9d [INFO] checking PeterOlsen1/function-finder against try#a3a874232ae0a7586b5fbe7483c5a42e157bd62a for pr-151109 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterOlsen1%2Ffunction-finder" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PeterOlsen1/function-finder [INFO] finished tweaking git repo https://github.com/PeterOlsen1/function-finder [INFO] tweaked toml for git repo https://github.com/PeterOlsen1/function-finder written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PeterOlsen1/function-finder on toolchain a3a874232ae0a7586b5fbe7483c5a42e157bd62a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PeterOlsen1/function-finder 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" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6288179396b52d2eb1e2c89cf0c4fdddddf5d1a38d6c2110289e5c86d9bc6349 [INFO] running `Command { std: "docker" "start" "-a" "6288179396b52d2eb1e2c89cf0c4fdddddf5d1a38d6c2110289e5c86d9bc6349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6288179396b52d2eb1e2c89cf0c4fdddddf5d1a38d6c2110289e5c86d9bc6349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6288179396b52d2eb1e2c89cf0c4fdddddf5d1a38d6c2110289e5c86d9bc6349", kill_on_drop: false }` [INFO] [stdout] 6288179396b52d2eb1e2c89cf0c4fdddddf5d1a38d6c2110289e5c86d9bc6349 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a3a874232ae0a7586b5fbe7483c5a42e157bd62a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca3cfe8681ab03be19408df80e2290549e487777401112debeb6ac9c5f9c9e1b [INFO] running `Command { std: "docker" "start" "-a" "ca3cfe8681ab03be19408df80e2290549e487777401112debeb6ac9c5f9c9e1b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `find_single::show_single` [INFO] [stdout] --> src/finders/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use find_single::show_single; [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: `find_single::show_single` [INFO] [stdout] --> src/finders/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use find_single::show_single; [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: `find_all_definitions` [INFO] [stdout] --> src/finders/mod.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use find_all_defs::{find_all_definitions, all_definitions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `find_all_definitions` [INFO] [stdout] --> src/finders/mod.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | pub use find_all_defs::{find_all_definitions, all_definitions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/displays/hash_displays.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/displays/hash_displays.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/displays/hash_displays.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/displays/hash_displays.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/displays/hash_displays.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut found = false; [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/displays/hash_displays.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | let mut found = false; [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: value assigned to `input` is never read [INFO] [stdout] --> src/displays/hash_displays.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `input` is never read [INFO] [stdout] --> src/displays/hash_displays.rs:200:21 [INFO] [stdout] | [INFO] [stdout] 200 | let mut input = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_single` is never used [INFO] [stdout] --> src/finders/find_single.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn show_single(filename: &str, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_definitions` is never used [INFO] [stdout] --> src/finders/find_all_defs.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn find_all_definitions(filename: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show_single` is never used [INFO] [stdout] --> src/finders/find_single.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn show_single(filename: &str, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_all_definitions` is never used [INFO] [stdout] --> src/finders/find_all_defs.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn find_all_definitions(filename: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `show_type` is never read [INFO] [stdout] --> src/utils/parsers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CliParser { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub show_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `show_type` is never read [INFO] [stdout] --> src/utils/parsers.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct CliParser { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub show_type: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name` is never used [INFO] [stdout] --> src/utils/parsers.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_name(line: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name` is never used [INFO] [stdout] --> src/utils/parsers.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn parse_name(line: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_valid_function` is never used [INFO] [stdout] --> src/utils/parsers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_valid_function(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_valid_function` is never used [INFO] [stdout] --> src/utils/parsers.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn parse_valid_function(line: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `await_flag` are never read [INFO] [stdout] --> src/utils/types.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub await_flag: bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filename` and `await_flag` are never read [INFO] [stdout] --> src/utils/types.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Call { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | pub filename: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | pub await_flag: bool [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Call` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/utils/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Definition { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `content` is never read [INFO] [stdout] --> src/utils/types.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Definition { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 20 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Definition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queue` is never constructed [INFO] [stdout] --> src/utils/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Queue` is never constructed [INFO] [stdout] --> src/utils/types.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Queue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, `dequeue`, `is_empty`, and `size` are never used [INFO] [stdout] --> src/utils/types.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Queue { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn enqueue(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn dequeue(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `enqueue`, `dequeue`, `is_empty`, and `size` are never used [INFO] [stdout] --> src/utils/types.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Queue { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 35 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn enqueue(&mut self, item: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn dequeue(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn size(&self) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.72s [INFO] running `Command { std: "docker" "inspect" "ca3cfe8681ab03be19408df80e2290549e487777401112debeb6ac9c5f9c9e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3cfe8681ab03be19408df80e2290549e487777401112debeb6ac9c5f9c9e1b", kill_on_drop: false }` [INFO] [stdout] ca3cfe8681ab03be19408df80e2290549e487777401112debeb6ac9c5f9c9e1b