[INFO] cloning repository https://github.com/FractalWanderer/FileSystemHelper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FractalWanderer/FileSystemHelper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalWanderer%2FFileSystemHelper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalWanderer%2FFileSystemHelper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fdefc38d726b02cbb8d79c2b70326d9ae5723660 [INFO] checking FractalWanderer/FileSystemHelper against try#a75eafceea413a1b40c0e0769db85e08ec17160b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalWanderer%2FFileSystemHelper" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FractalWanderer/FileSystemHelper on toolchain a75eafceea413a1b40c0e0769db85e08ec17160b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FractalWanderer/FileSystemHelper [INFO] finished tweaking git repo https://github.com/FractalWanderer/FileSystemHelper [INFO] tweaked toml for git repo https://github.com/FractalWanderer/FileSystemHelper written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FractalWanderer/FileSystemHelper 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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking FractalWanderer/FileSystemHelper against try#a75eafceea413a1b40c0e0769db85e08ec17160b for pr-133925 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFractalWanderer%2FFileSystemHelper" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FractalWanderer/FileSystemHelper on toolchain a75eafceea413a1b40c0e0769db85e08ec17160b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FractalWanderer/FileSystemHelper [INFO] finished tweaking git repo https://github.com/FractalWanderer/FileSystemHelper [INFO] tweaked toml for git repo https://github.com/FractalWanderer/FileSystemHelper written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FractalWanderer/FileSystemHelper 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" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded errno v0.3.6 [INFO] [stderr] Downloaded rustix v0.38.23 [INFO] [stderr] Downloaded linux-raw-sys v0.4.11 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64117872e9db34db77a04b764091050f7a0357d80f746d1edbc07bbb697c7388 [INFO] running `Command { std: "docker" "start" "-a" "64117872e9db34db77a04b764091050f7a0357d80f746d1edbc07bbb697c7388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64117872e9db34db77a04b764091050f7a0357d80f746d1edbc07bbb697c7388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64117872e9db34db77a04b764091050f7a0357d80f746d1edbc07bbb697c7388", kill_on_drop: false }` [INFO] [stdout] 64117872e9db34db77a04b764091050f7a0357d80f746d1edbc07bbb697c7388 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a75eafceea413a1b40c0e0769db85e08ec17160b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10ea768a0789454fe3c636b9f091724c6662536211e598dd77e6bf0bdf276930 [INFO] running `Command { std: "docker" "start" "-a" "10ea768a0789454fe3c636b9f091724c6662536211e598dd77e6bf0bdf276930", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling rustix v0.38.23 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Compiling portable-atomic v1.5.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.4.7 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking indicatif v0.17.7 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.7 [INFO] [stderr] Checking FileSystemHelper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_size` [INFO] [stdout] --> src/main.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | Commands::FindText { text, context_size, no_highlight } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `context_size: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_highlight` [INFO] [stdout] --> src/main.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | Commands::FindText { text, context_size, no_highlight } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `no_highlight: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_results` [INFO] [stdout] --> src/main.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let search_results: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_windows` [INFO] [stdout] --> src/main.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut context_windows: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `occurences` is assigned to, but never used [INFO] [stdout] --> src/main.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | ... let mut occurences = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_occurences` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_index` [INFO] [stdout] --> src/main.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | ... for(line_index, line) in sliced_contents.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `find` [INFO] [stdout] --> src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | Commands::FindAndReplace { find, replace} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `find: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace` [INFO] [stdout] --> src/main.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | Commands::FindAndReplace { find, replace} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `replace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut context_windows: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_size` [INFO] [stdout] --> src/main.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | Commands::FindText { text, context_size, no_highlight } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `context_size: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_highlight` [INFO] [stdout] --> src/main.rs:47:54 [INFO] [stdout] | [INFO] [stdout] 47 | Commands::FindText { text, context_size, no_highlight } => { [INFO] [stdout] | ^^^^^^^^^^^^ help: try ignoring the field: `no_highlight: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `search_results` [INFO] [stdout] --> src/main.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let search_results: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_search_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context_windows` [INFO] [stdout] --> src/main.rs:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut context_windows: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context_windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `occurences` is assigned to, but never used [INFO] [stdout] --> src/main.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | ... let mut occurences = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_occurences` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_index` [INFO] [stdout] --> src/main.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | ... for(line_index, line) in sliced_contents.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `find` [INFO] [stdout] --> src/main.rs:82:40 [INFO] [stdout] | [INFO] [stdout] 82 | Commands::FindAndReplace { find, replace} => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `find: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replace` [INFO] [stdout] --> src/main.rs:82:46 [INFO] [stdout] | [INFO] [stdout] 82 | Commands::FindAndReplace { find, replace} => { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `replace: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | ... let mut context_windows: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name`, `file_path`, `number_of_occurrences`, and `context_window` are never read [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct SearchResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 90 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | number_of_occurrences: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | context_window: ContextWindow [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window_contents` is never read [INFO] [stdout] --> src/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct ContextWindow { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 97 | window_contents: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_context_window` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn print_context_window(window_contents: &[&str], file_name: &str, text: &str, no_highlight: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlight_text` is never used [INFO] [stdout] --> src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn highlight_text(full_text: &str, text_to_highlight: &str, color: Color) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `file_name`, `file_path`, `number_of_occurrences`, and `context_window` are never read [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 89 | struct SearchResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 90 | file_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 91 | file_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | number_of_occurrences: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 93 | context_window: ContextWindow [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `window_contents` is never read [INFO] [stdout] --> src/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 96 | struct ContextWindow { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 97 | window_contents: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_context_window` is never used [INFO] [stdout] --> src/main.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn print_context_window(window_contents: &[&str], file_name: &str, text: &str, no_highlight: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `highlight_text` is never used [INFO] [stdout] --> src/main.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn highlight_text(full_text: &str, text_to_highlight: &str, color: Color) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.62s [INFO] running `Command { std: "docker" "inspect" "10ea768a0789454fe3c636b9f091724c6662536211e598dd77e6bf0bdf276930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ea768a0789454fe3c636b9f091724c6662536211e598dd77e6bf0bdf276930", kill_on_drop: false }` [INFO] [stdout] 10ea768a0789454fe3c636b9f091724c6662536211e598dd77e6bf0bdf276930