[INFO] cloning repository https://github.com/neopenguin-99/rfind
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neopenguin-99/rfind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneopenguin-99%2Frfind", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneopenguin-99%2Frfind'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 062e15fa30915315d1f3816b0c5607b8edc38fe8
[INFO] checking neopenguin-99/rfind against try#53f0b05ecbcf011a1f77f1c627304e87ebd05801 for pr-154492-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneopenguin-99%2Frfind" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/neopenguin-99/rfind
[INFO] finished tweaking git repo https://github.com/neopenguin-99/rfind
[INFO] tweaked toml for git repo https://github.com/neopenguin-99/rfind written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/neopenguin-99/rfind on toolchain 53f0b05ecbcf011a1f77f1c627304e87ebd05801
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/neopenguin-99/rfind 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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb41b36482484624546ebbebc04343c58a69bf0cffbbbed8f577911d5bc94dc8
[INFO] running `Command { std: "docker" "start" "-a" "cb41b36482484624546ebbebc04343c58a69bf0cffbbbed8f577911d5bc94dc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb41b36482484624546ebbebc04343c58a69bf0cffbbbed8f577911d5bc94dc8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb41b36482484624546ebbebc04343c58a69bf0cffbbbed8f577911d5bc94dc8", kill_on_drop: false }`
[INFO] [stdout] cb41b36482484624546ebbebc04343c58a69bf0cffbbbed8f577911d5bc94dc8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2313215c94f76c86e242c2d9b2355ab62947ddee126231c21dab245dedef4964
[INFO] running `Command { std: "docker" "start" "-a" "2313215c94f76c86e242c2d9b2355ab62947ddee126231c21dab245dedef4964", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking difflib v0.4.0
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling mockall_derive v0.13.1
[INFO] [stderr]     Checking once_cell v1.20.2
[INFO] [stderr]    Compiling assert_cmd v2.0.16
[INFO] [stderr]    Compiling peg-runtime v0.8.3
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking clap_builder v4.5.23
[INFO] [stderr]     Checking wait-timeout v0.2.0
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking float-cmp v0.10.0
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]    Compiling syn v2.0.93
[INFO] [stderr]    Compiling peg-macros v0.8.4
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking peg v0.8.4
[INFO] [stderr]     Checking tempfile v3.14.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking speculoos v0.11.0
[INFO] [stderr]     Checking bstr v1.11.3
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking globset v0.4.15
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]     Checking ignore v0.4.23
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]     Checking globwalk v0.9.1
[INFO] [stderr]     Checking assert_fs v1.1.2
[INFO] [stderr]     Checking test-case v3.3.1
[INFO] [stderr]     Checking clap v4.5.23
[INFO] [stderr]     Checking mockall v0.13.1
[INFO] [stderr]     Checking rfind v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/lib.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::borrow::Borrow;
[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: `AsRawFd`
[INFO] [stdout]  --> src/lib.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::os::fd::{AsRawFd, FromRawFd};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `cell::Ref`, `ptr`, and `rc::Rc`
[INFO] [stdout]  --> src/lib.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::{borrow::BorrowMut, cell::RefCell, fmt::Debug, ptr, rc::Rc, cell::Ref};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^              ^^^  ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use std::io;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Discriminant` and `discriminant`
[INFO] [stdout]  --> src/lib.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::mem::{discriminant, Discriminant};
[INFO] [stdout]   |                    ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `SeekFrom`, and `Seek`
[INFO] [stdout]  --> src/lib.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use std::io::{Write, Read, Seek, SeekFrom};
[INFO] [stdout]   |                          ^^^^  ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType`, `ReadDir`, and `self`
[INFO] [stdout]  --> src/lib.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use std::fs::{self, FileType, ReadDir};
[INFO] [stdout]   |                   ^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::FileTypeExt`
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use std::os::unix::fs::FileTypeExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use std::path::Path;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use std::process::exit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use std::env;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgAction`, `ArgMatches`, `Arg`, `Command`, `ValueEnum`, `arg`, `crate_authors`, `crate_version`, and `value_parser`
[INFO] [stdout]   --> src/lib.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use clap::{arg, crate_authors, crate_version, value_parser, Arg, ArgAction, ArgMatches, Command, ValueEnum};
[INFO] [stdout]    |                ^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::write`
[INFO] [stdout]   --> src/lib.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use libc::write;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]   --> src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     use std::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `test_case::test_case`
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use test_case::test_case;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `predicates::prelude::*`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use predicates::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/lib.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::main::*`
[INFO] [stdout]  --> src/main/logger.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::main::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType` and `ReadDir`
[INFO] [stdout]  --> src/main/searcher.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::fs::{self, FileType, ReadDir};
[INFO] [stdout]   |                         ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `cell::Ref`, `ptr`, and `rc::Rc`
[INFO] [stdout]  --> src/main/searcher.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::{borrow::BorrowMut, cell::RefCell, fmt::Debug, ptr, rc::Rc, cell::Ref};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^              ^^^  ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsRawFd` and `FromRawFd`
[INFO] [stdout]  --> src/main/searcher.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use std::os::fd::{AsRawFd, FromRawFd};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main/searcher.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/main/searcher.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use std::sync::mpsc::channel;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]   --> src/main/searcher.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use std::sync::{Arc, MutexGuard};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::main::logger::Logger`
[INFO] [stdout]   --> src/main/searcher.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use crate::main::logger::Logger;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main/searcher.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::main::threadpool::{self, ThreadPool};
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/lib.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use std::borrow::Borrow;
[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: `AsRawFd`
[INFO] [stdout]  --> src/lib.rs:4:23
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::os::fd::{AsRawFd, FromRawFd};
[INFO] [stdout]   |                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `cell::Ref`, `ptr`, and `rc::Rc`
[INFO] [stdout]  --> src/lib.rs:5:15
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::{borrow::BorrowMut, cell::RefCell, fmt::Debug, ptr, rc::Rc, cell::Ref};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^              ^^^  ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io`
[INFO] [stdout]  --> src/lib.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use std::io;
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Discriminant` and `discriminant`
[INFO] [stdout]  --> src/lib.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::mem::{discriminant, Discriminant};
[INFO] [stdout]   |                    ^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Read`, `SeekFrom`, and `Seek`
[INFO] [stdout]  --> src/lib.rs:8:26
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use std::io::{Write, Read, Seek, SeekFrom};
[INFO] [stdout]   |                          ^^^^  ^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType`, `ReadDir`, and `self`
[INFO] [stdout]  --> src/lib.rs:9:19
[INFO] [stdout]   |
[INFO] [stdout] 9 |     use std::fs::{self, FileType, ReadDir};
[INFO] [stdout]   |                   ^^^^  ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::fs::FileTypeExt`
[INFO] [stdout]   --> src/lib.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     use std::os::unix::fs::FileTypeExt;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]   --> src/lib.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     use std::path::Path;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::exit`
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     use std::process::exit;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]   --> src/lib.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use std::env;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ArgAction`, `ArgMatches`, `Arg`, `Command`, `ValueEnum`, `arg`, `crate_authors`, `crate_version`, and `value_parser`
[INFO] [stdout]   --> src/lib.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use clap::{arg, crate_authors, crate_version, value_parser, Arg, ArgAction, ArgMatches, Command, ValueEnum};
[INFO] [stdout]    |                ^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^  ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `libc::write`
[INFO] [stdout]   --> src/lib.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use libc::write;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Mutex`
[INFO] [stdout]   --> src/lib.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     use std::sync::Mutex;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `test_case::test_case`
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use test_case::test_case;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `predicates::prelude::*`
[INFO] [stdout]   --> src/lib.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     use predicates::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/lib.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/lib.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use std::time::Duration;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::main::*`
[INFO] [stdout]  --> src/main/logger.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     use crate::main::*;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileType` and `ReadDir`
[INFO] [stdout]  --> src/main/searcher.rs:5:25
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use std::fs::{self, FileType, ReadDir};
[INFO] [stdout]   |                         ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut`, `cell::RefCell`, `cell::Ref`, `ptr`, and `rc::Rc`
[INFO] [stdout]  --> src/main/searcher.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 |     use std::{borrow::BorrowMut, cell::RefCell, fmt::Debug, ptr, rc::Rc, cell::Ref};
[INFO] [stdout]   |               ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^              ^^^  ^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsRawFd` and `FromRawFd`
[INFO] [stdout]  --> src/main/searcher.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 |     use std::os::fd::{AsRawFd, FromRawFd};
[INFO] [stdout]   |                       ^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main/searcher.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     use std::thread;
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::mpsc::channel`
[INFO] [stdout]   --> src/main/searcher.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use std::sync::mpsc::channel;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MutexGuard`
[INFO] [stdout]   --> src/main/searcher.rs:15:26
[INFO] [stdout]    |
[INFO] [stdout] 15 |     use std::sync::{Arc, MutexGuard};
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::main::logger::Logger`
[INFO] [stdout]   --> src/main/searcher.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use crate::main::logger::Logger;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/main/searcher.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::main::threadpool::{self, ThreadPool};
[INFO] [stdout]    |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_fs::prelude`
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use assert_fs::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `speculoos::prelude`
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     use speculoos::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `assert_fs::prelude`
[INFO] [stdout]   --> src/lib.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use assert_fs::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `speculoos::prelude`
[INFO] [stdout]   --> src/lib.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |     use speculoos::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main/searcher.rs:47:149
[INFO] [stdout]    |
[INFO] [stdout] 47 | ..._str: Option<String>, current_depth: Option<u32>, mut lines: Arc<Vec<Line>>) { 
[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/main/searcher.rs:129:29
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         let mut b = lines.deref();
[INFO] [stdout]     |                             ----^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |                     lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdErr));
[INFO] [stdout]    |                     ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdErr));
[INFO] [stdout]    |                     ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...                   lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdOut));
[INFO] [stdout]    |                       ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:95:29
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdErr));
[INFO] [stdout]    |                       ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*b` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main/searcher.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...   b.push(Line::new_with_fd(Message::Standard(directory_path.join(&file_name).to_str().unwrap().to_string()), FileDescriptor::St...
[INFO] [stdout]     |       ^ `b` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         let mut b: &mut Vec<Line> = lines.deref();
[INFO] [stdout]     |                                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]    --> src/main/searcher.rs:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...   lines.push(Line::new_with_fd(Message::Standard(directory_path.join(file_name).to_str().unwrap().to_string()), FileDescriptor:...
[INFO] [stdout]     |       ^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main/searcher.rs:47:149
[INFO] [stdout]    |
[INFO] [stdout] 47 | ..._str: Option<String>, current_depth: Option<u32>, mut lines: Arc<Vec<Line>>) { 
[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/main/searcher.rs:129:29
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         let mut b = lines.deref();
[INFO] [stdout]     |                             ----^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:58:21
[INFO] [stdout]    |
[INFO] [stdout] 58 |                     lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdErr));
[INFO] [stdout]    |                     ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:63:21
[INFO] [stdout]    |
[INFO] [stdout] 63 |                     lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdErr));
[INFO] [stdout]    |                     ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 | ...                   lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdOut));
[INFO] [stdout]    |                       ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]   --> src/main/searcher.rs:95:29
[INFO] [stdout]    |
[INFO] [stdout] 95 | ...                   lines.push(Line::new_with_fd(Message::Standard(line), FileDescriptor::StdErr));
[INFO] [stdout]    |                       ^^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout]    = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `*b` as mutable, as it is behind a `&` reference
[INFO] [stdout]    --> src/main/searcher.rs:130:25
[INFO] [stdout]     |
[INFO] [stdout] 130 | ...   b.push(Line::new_with_fd(Message::Standard(directory_path.join(&file_name).to_str().unwrap().to_string()), FileDescriptor::St...
[INFO] [stdout]     |       ^ `b` is a `&` reference, so it cannot be borrowed as mutable
[INFO] [stdout]     |
[INFO] [stdout] help: consider specifying this binding's type
[INFO] [stdout]     |
[INFO] [stdout] 129 |                         let mut b: &mut Vec<Line> = lines.deref();
[INFO] [stdout]     |                                  ++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow data in an `Arc` as mutable
[INFO] [stdout]    --> src/main/searcher.rs:131:25
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...   lines.push(Line::new_with_fd(Message::Standard(directory_path.join(file_name).to_str().unwrap().to_string()), FileDescriptor:...
[INFO] [stdout]     |       ^^^^^ cannot borrow as mutable
[INFO] [stdout]     |
[INFO] [stdout]     = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `Arc<Vec<Line>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rfind` (lib) due to 6 previous errors; 31 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rfind` (lib test) due to 6 previous errors; 31 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2313215c94f76c86e242c2d9b2355ab62947ddee126231c21dab245dedef4964", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2313215c94f76c86e242c2d9b2355ab62947ddee126231c21dab245dedef4964", kill_on_drop: false }`
[INFO] [stdout] 2313215c94f76c86e242c2d9b2355ab62947ddee126231c21dab245dedef4964
