[INFO] cloning repository https://github.com/gosunuts/file-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gosunuts/file-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgosunuts%2Ffile-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgosunuts%2Ffile-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ddea448d0a83c2704fff959f081c3231d79ee8a6
[INFO] checking gosunuts/file-rs against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgosunuts%2Ffile-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gosunuts/file-rs
[INFO] finished tweaking git repo https://github.com/gosunuts/file-rs
[INFO] tweaked toml for git repo https://github.com/gosunuts/file-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gosunuts/file-rs on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gosunuts/file-rs 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "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 bitflags v2.9.2
[INFO] [stderr]   Downloaded clap v4.5.45
[INFO] [stderr]   Downloaded anstream v0.6.20
[INFO] [stderr]   Downloaded clap_derive v4.5.45
[INFO] [stderr]   Downloaded clap_builder v4.5.44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c
[INFO] running `Command { std: "docker" "start" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking anstyle-query v1.1.4
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking bitflags v2.9.2
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking tracing-serde v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking clap v4.5.45
[INFO] [stderr]     Checking file-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> src/cmd/rm.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::{Result, anyhow};
[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 imports: `compress`, `mv`, and `rm`
[INFO] [stdout]  --> src/cmd/flow.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::{find, mv, compress, rm};
[INFO] [stdout]   |                   ^^  ^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `anyhow`
[INFO] [stdout]  --> src/cmd/rm.rs:6:22
[INFO] [stdout]   |
[INFO] [stdout] 6 | use anyhow::{Result, anyhow};
[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 imports: `compress`, `mv`, and `rm`
[INFO] [stdout]  --> src/cmd/flow.rs:4:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | use super::{find, mv, compress, rm};
[INFO] [stdout]   |                   ^^  ^^^^^^^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_collect` is never used
[INFO] [stdout]   --> src/cmd/find.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn find_collect(root: &str, filter: Filter) -> Vec<PathBuf> {
[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_with_matcher` is never used
[INFO] [stdout]   --> src/cmd/find.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn find_with_matcher<M: Matcher>(root: &str, matcher: M) -> FindIter<M> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iter_stdin_lines` is never used
[INFO] [stdout]  --> src/fsutil/input.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn iter_stdin_lines() -> impl Iterator<Item = String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iter_stdin_nul` is never used
[INFO] [stdout]  --> src/fsutil/input.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn iter_stdin_nul() -> impl Iterator<Item = String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iter_buf_nul` is never used
[INFO] [stdout]   --> src/fsutil/input.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn iter_buf_nul<R: Read>(mut r: R) -> impl Iterator<Item = String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_name` is never used
[INFO] [stdout]  --> src/fsutil/file.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn file_name(path: &str) -> &str {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize` is never used
[INFO] [stdout]  --> src/fsutil/file.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn normalize(path: &str) -> PathBuf {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_one` is never used
[INFO] [stdout]   --> src/fsutil/file.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn move_one(src: &str, dst: &str) -> std::io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_one` is never used
[INFO] [stdout]   --> src/fsutil/file.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn remove_one(path: &str) -> std::io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_entry` is never used
[INFO] [stdout]   --> src/fsutil/pathinfo.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl PathInfo {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn from_entry(path: &Path, now: SystemTime) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_now` and `matcher` are never used
[INFO] [stdout]   --> src/fsutil/iter.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<M: Matcher> FindIter<M> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn with_now(root: &str, matcher: M, now: SystemTime) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn matcher(&self) -> &M {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_hidden` is never used
[INFO] [stdout]  --> src/fsutil/util.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn is_hidden(path: &Path) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_collect` is never used
[INFO] [stdout]   --> src/cmd/find.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn find_collect(root: &str, filter: Filter) -> Vec<PathBuf> {
[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_with_matcher` is never used
[INFO] [stdout]   --> src/cmd/find.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub fn find_with_matcher<M: Matcher>(root: &str, matcher: M) -> FindIter<M> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iter_stdin_lines` is never used
[INFO] [stdout]  --> src/fsutil/input.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn iter_stdin_lines() -> impl Iterator<Item = String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iter_stdin_nul` is never used
[INFO] [stdout]  --> src/fsutil/input.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn iter_stdin_nul() -> impl Iterator<Item = String> {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `file_name` is never used
[INFO] [stdout]  --> src/fsutil/file.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn file_name(path: &str) -> &str {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `normalize` is never used
[INFO] [stdout]  --> src/fsutil/file.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn normalize(path: &str) -> PathBuf {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `move_one` is never used
[INFO] [stdout]   --> src/fsutil/file.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn move_one(src: &str, dst: &str) -> std::io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_one` is never used
[INFO] [stdout]   --> src/fsutil/file.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn remove_one(path: &str) -> std::io::Result<()> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_entry` is never used
[INFO] [stdout]   --> src/fsutil/pathinfo.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl PathInfo {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 17 |     pub fn from_entry(path: &Path, now: SystemTime) -> Option<Self> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `with_now` and `matcher` are never used
[INFO] [stdout]   --> src/fsutil/iter.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl<M: Matcher> FindIter<M> {
[INFO] [stdout]    | ---------------------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 25 |     pub fn with_now(root: &str, matcher: M, now: SystemTime) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn matcher(&self) -> &M {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_hidden` is never used
[INFO] [stdout]  --> src/fsutil/util.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn is_hidden(path: &Path) -> bool {
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.66s
[INFO] running `Command { std: "docker" "inspect" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c", kill_on_drop: false }`
[INFO] [stdout] e266f64db8ac340ba1af6d3eaa5de461dc9bde13e79c22c1bf55cca4593bc18c
