[INFO] fetching crate headifier 0.2.0...
[INFO] checking headifier-0.2.0 against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] extracting crate headifier 0.2.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate headifier 0.2.0
[INFO] finished tweaking crates.io crate headifier 0.2.0
[INFO] tweaked toml for crates.io crate headifier 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate headifier 0.2.0 on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate headifier 0.2.0 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.33
[INFO] [stderr]   Downloaded indoc v2.0.4
[INFO] [stderr]   Downloaded wildmatch v2.1.1
[INFO] [stderr]   Downloaded paste v1.0.14
[INFO] [stderr]   Downloaded cassowary v0.3.0
[INFO] [stderr]   Downloaded rustversion v1.0.14
[INFO] [stderr]   Downloaded either v1.9.0
[INFO] [stderr]   Downloaded proc-macro2 v1.0.69
[INFO] [stderr]   Downloaded smallvec v1.11.1
[INFO] [stderr]   Downloaded bitflags v2.4.1
[INFO] [stderr]   Downloaded anyhow v1.0.75
[INFO] [stderr]   Downloaded syn v2.0.38
[INFO] [stderr]   Downloaded unicode-segmentation v1.10.1
[INFO] [stderr]   Downloaded mio v0.8.8
[INFO] [stderr]   Downloaded ratatui v0.23.0
[INFO] [stderr]   Downloaded libc v0.2.149
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e986d3320e0c049015655a1cd94b7e374de726515cfc6b5d502d91b9cef68998
[INFO] running `Command { std: "docker" "start" "-a" "e986d3320e0c049015655a1cd94b7e374de726515cfc6b5d502d91b9cef68998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e986d3320e0c049015655a1cd94b7e374de726515cfc6b5d502d91b9cef68998", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e986d3320e0c049015655a1cd94b7e374de726515cfc6b5d502d91b9cef68998", kill_on_drop: false }`
[INFO] [stdout] e986d3320e0c049015655a1cd94b7e374de726515cfc6b5d502d91b9cef68998
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6d04178fcadda2b7ff42bea4c0429b0ae99018e8b6d57274496aeb798ce13642
[INFO] running `Command { std: "docker" "start" "-a" "6d04178fcadda2b7ff42bea4c0429b0ae99018e8b6d57274496aeb798ce13642", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.149
[INFO] [stderr]    Compiling proc-macro2 v1.0.69
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling rustversion v1.0.14
[INFO] [stderr]     Checking smallvec v1.11.1
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling paste v1.0.14
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]    Compiling indoc v2.0.4
[INFO] [stderr]     Checking unicode-width v0.1.11
[INFO] [stderr]     Checking itertools v0.11.0
[INFO] [stderr]     Checking unicode-segmentation v1.10.1
[INFO] [stderr]     Checking wildmatch v2.1.1
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.1
[INFO] [stderr]     Checking mio v0.8.8
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.38
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.27.0
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]     Checking strum v0.25.0
[INFO] [stderr]     Checking ratatui v0.23.0
[INFO] [stderr]     Checking headifier v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/core.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::ui::app::{self, Mode};
[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: `thread::sleep` and `time::Duration`
[INFO] [stdout]  --> src/ui/app.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{path::PathBuf, time::Duration, thread::sleep};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/ui/ui.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration`
[INFO] [stdout]  --> src/ui/update.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{time::Duration, thread::sleep};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> src/core.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::ui::app::{self, Mode};
[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: `std::path::Path`
[INFO] [stdout]    --> src/core.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     use std::path::Path;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration`
[INFO] [stdout]  --> src/ui/app.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::{path::PathBuf, time::Duration, thread::sleep};
[INFO] [stdout]   |                          ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Index`
[INFO] [stdout]  --> src/ui/ui.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::ops::Index;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration`
[INFO] [stdout]  --> src/ui/update.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{time::Duration, thread::sleep};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/core.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     .map(|(i, line)| {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sender` and `handler` are never read
[INFO] [stdout]   --> src/ui/event.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct EventHandler {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 32 |     /// Event sender channel.
[INFO] [stdout] 33 |     sender: mpsc::Sender<Event>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     handler: thread::JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EventHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/core.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 85 |     .map(|(i, line)| {
[INFO] [stdout]    |            ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main_file_path`
[INFO] [stdout]    --> src/core.rs:320:13
[INFO] [stdout]     |
[INFO] [stdout] 320 |         let main_file_path = PathBuf::from("src/main.rs");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `main_file_path`
[INFO] [stdout]    --> src/core.rs:362:13
[INFO] [stdout]     |
[INFO] [stdout] 362 |         let main_file_path = PathBuf::from("src/main.rs");
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_main_file_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_visit_dirs_replace` is never used
[INFO] [stdout]    --> src/core.rs:318:12
[INFO] [stdout]     |
[INFO] [stdout] 318 |     pub fn test_visit_dirs_replace() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `sender` and `handler` are never read
[INFO] [stdout]   --> src/ui/event.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct EventHandler {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 32 |     /// Event sender channel.
[INFO] [stdout] 33 |     sender: mpsc::Sender<Event>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     handler: thread::JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `EventHandler` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.81s
[INFO] running `Command { std: "docker" "inspect" "6d04178fcadda2b7ff42bea4c0429b0ae99018e8b6d57274496aeb798ce13642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d04178fcadda2b7ff42bea4c0429b0ae99018e8b6d57274496aeb798ce13642", kill_on_drop: false }`
[INFO] [stdout] 6d04178fcadda2b7ff42bea4c0429b0ae99018e8b6d57274496aeb798ce13642
