[INFO] cloning repository https://github.com/kphpkphp/rust-grep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kphpkphp/rust-grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkphpkphp%2Frust-grep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkphpkphp%2Frust-grep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc5b9aa57c7bcc4c1f3e1b3fe3ef53f84bf69822
[INFO] testing kphpkphp/rust-grep against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkphpkphp%2Frust-grep" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kphpkphp/rust-grep
[INFO] finished tweaking git repo https://github.com/kphpkphp/rust-grep
[INFO] tweaked toml for git repo https://github.com/kphpkphp/rust-grep written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kphpkphp/rust-grep on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kphpkphp/rust-grep 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded kasuari v0.4.11
[INFO] [stderr]   Downloaded line-clipping v0.3.5
[INFO] [stderr]   Downloaded time-core v0.1.7
[INFO] [stderr]   Downloaded memmem v0.1.1
[INFO] [stderr]   Downloaded wezterm-dynamic-derive v0.1.1
[INFO] [stderr]   Downloaded filedescriptor v0.8.3
[INFO] [stderr]   Downloaded vtparse v0.6.2
[INFO] [stderr]   Downloaded ratatui-crossterm v0.1.0
[INFO] [stderr]   Downloaded termios v0.3.3
[INFO] [stderr]   Downloaded ratatui-macros v0.7.0
[INFO] [stderr]   Downloaded terminfo v0.9.0
[INFO] [stderr]   Downloaded pest_meta v2.8.6
[INFO] [stderr]   Downloaded fancy-regex v0.11.0
[INFO] [stderr]   Downloaded finl_unicode v1.4.0
[INFO] [stderr]   Downloaded ratatui-core v0.1.0
[INFO] [stderr]   Downloaded ratatui-widgets v0.3.0
[INFO] [stderr]   Downloaded euclid v0.22.13
[INFO] [stderr]   Downloaded wezterm-bidi v0.2.3
[INFO] [stderr]   Downloaded time v0.3.45
[INFO] [stderr]   Downloaded ratatui v0.30.0
[INFO] [stderr]   Downloaded pest_generator v2.8.6
[INFO] [stderr]   Downloaded pest_derive v2.8.6
[INFO] [stderr]   Downloaded ratatui-termwiz v0.1.0
[INFO] [stderr]   Downloaded indoc v2.0.7
[INFO] [stderr]   Downloaded wezterm-input-types v0.1.0
[INFO] [stderr]   Downloaded unicode-truncate v2.0.1
[INFO] [stderr]   Downloaded atomic v0.6.1
[INFO] [stderr]   Downloaded wezterm-blob-leases v0.1.1
[INFO] [stderr]   Downloaded lab v0.11.0
[INFO] [stderr]   Downloaded csscolorparser v0.6.2
[INFO] [stderr]   Downloaded termwiz v0.23.3
[INFO] [stderr]   Downloaded instability v0.3.10
[INFO] [stderr]   Downloaded wezterm-color-types v0.3.0
[INFO] [stderr]   Downloaded wezterm-dynamic v0.2.1
[INFO] [stderr]   Downloaded mac_address v1.1.8
[INFO] [stderr]   Downloaded deltae v0.3.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be49c68fcb704c39f42432e34cdeb080076d8c366542413b1ce0fc8a230b2f21
[INFO] running `Command { std: "docker" "start" "-a" "be49c68fcb704c39f42432e34cdeb080076d8c366542413b1ce0fc8a230b2f21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be49c68fcb704c39f42432e34cdeb080076d8c366542413b1ce0fc8a230b2f21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be49c68fcb704c39f42432e34cdeb080076d8c366542413b1ce0fc8a230b2f21", kill_on_drop: false }`
[INFO] [stdout] be49c68fcb704c39f42432e34cdeb080076d8c366542413b1ce0fc8a230b2f21
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6170be1715a3c3d252774f00d8ff5b5326d391f26204737efadc28ca157e9395
[INFO] running `Command { std: "docker" "start" "-a" "6170be1715a3c3d252774f00d8ff5b5326d391f26204737efadc28ca157e9395", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling instability v0.3.10
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling castaway v0.2.4
[INFO] [stderr]    Compiling compact_str v0.9.0
[INFO] [stderr]    Compiling num_threads v0.1.7
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling lru v0.16.3
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling time-core v0.1.7
[INFO] [stderr]    Compiling line-clipping v0.3.5
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling mio v1.1.1
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]    Compiling unicode-truncate v2.0.1
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling time v0.3.45
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling tempfile v3.26.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling derive_more v2.1.1
[INFO] [stderr]    Compiling crossterm v0.29.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling kasuari v0.4.11
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling strum v0.27.2
[INFO] [stderr]    Compiling ratatui-core v0.1.0
[INFO] [stderr]    Compiling ratatui-widgets v0.3.0
[INFO] [stderr]    Compiling ratatui-crossterm v0.1.0
[INFO] [stderr]    Compiling ratatui-macros v0.7.0
[INFO] [stderr]    Compiling ratatui v0.30.0
[INFO] [stderr]    Compiling rust_grep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/file_read.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path,PathBuf};
[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: `ErrorKind`
[INFO] [stdout]  --> src/file_read.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{BufRead,BufReader, ErrorKind};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]  --> src/file_read.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AppState<'_>` is more private than the item `Visualizer::handle_key_event`
[INFO] [stdout]   --> src/show.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn handle_key_event(app: &mut AppState, key: event::KeyEvent)-> anyhow::Result<()>{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Visualizer::handle_key_event` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `AppState<'_>` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/show.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct AppState<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `AppState<'_>` is more private than the item `Visualizer::process_key_action`
[INFO] [stdout]    --> src/show.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn process_key_action(app: &mut AppState) -> anyhow::Result<()> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `Visualizer::process_key_action` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `AppState<'_>` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/show.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | struct AppState<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_path_valid` is never used
[INFO] [stdout]    --> src/file_read.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn check_path_valid(path: &str) -> Result<(), PathReadError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/data_struct.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/data_struct.rs:76:11
[INFO] [stdout]    |
[INFO] [stdout] 76 |     ERROR(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DataStatus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 76 -     ERROR(String),
[INFO] [stdout] 76 +     ERROR(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data_status` is never read
[INFO] [stdout]   --> src/data_struct.rs:80:9
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub struct DataStructPackage{
[INFO] [stdout]    |            ----------------- field in this struct
[INFO] [stdout] 80 |     pub data_status: DataStatus,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QueryLine` is never constructed
[INFO] [stdout]   --> src/data_struct.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct QueryLine{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PageMetaDataContainer` is never constructed
[INFO] [stdout]    --> src/data_struct.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct PageMetaDataContainer{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_page_metadata`, `get_mut_page_metadata`, and `set_page_metadata` are never used
[INFO] [stdout]    --> src/data_struct.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl PageMetaDataContainer {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] 155 |     pub fn get_page_metadata(&self, page_index: usize) -> Option<&PageMetaData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn get_mut_page_metadata(&mut self, page_index: usize) -> Option<&mut PageMetaData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn set_page_metadata(&mut self,page_index:usize,pmd:PageMetaData)->(){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_file_metadata` is never used
[INFO] [stdout]    --> src/data_struct.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl <'a> FilePageContainer<'a>{
[INFO] [stdout]     | ------------------------------- method in this implementation
[INFO] [stdout] 190 |
[INFO] [stdout] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `QueryMode` is never used
[INFO] [stdout]   --> src/content_check.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum QueryMode {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QueryResultRef` is never constructed
[INFO] [stdout]   --> src/content_check.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QueryResultRef<'a>{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mock_fetch_detail` is never used
[INFO] [stdout]    --> src/show.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 | fn mock_fetch_detail<'a>() -> FileContentPage<'a> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/data_struct.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata> {
[INFO] [stdout]     |                              ^^^^^   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |       |    |
[INFO] [stdout]     |                              |       |    the same lifetime is hidden here
[INFO] [stdout]     |                              |       the same lifetime is elided here
[INFO] [stdout]     |                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata<'_>> {
[INFO] [stdout]     |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.91s
[INFO] running `Command { std: "docker" "inspect" "6170be1715a3c3d252774f00d8ff5b5326d391f26204737efadc28ca157e9395", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6170be1715a3c3d252774f00d8ff5b5326d391f26204737efadc28ca157e9395", kill_on_drop: false }`
[INFO] [stdout] 6170be1715a3c3d252774f00d8ff5b5326d391f26204737efadc28ca157e9395
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 103c9670c4d373ece61320e2246b916b9b0a12414dea9e7e3a4c61392b8dc8ea
[INFO] running `Command { std: "docker" "start" "-a" "103c9670c4d373ece61320e2246b916b9b0a12414dea9e7e3a4c61392b8dc8ea", kill_on_drop: false }`
[INFO] [stderr]    Compiling rust_grep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `PathBuf`
[INFO] [stdout]  --> src/file_read.rs:5:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path,PathBuf};
[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: `ErrorKind`
[INFO] [stdout]  --> src/file_read.rs:7:34
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::{BufRead,BufReader, ErrorKind};
[INFO] [stdout]   |                                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `thiserror::Error`
[INFO] [stdout]  --> src/file_read.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use thiserror::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hash::Hash`
[INFO] [stdout]    --> src/show.rs:428:15
[INFO] [stdout]     |
[INFO] [stdout] 428 |     use std::{hash::Hash, path::PathBuf};
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `show::AppState<'_>` is more private than the item `show::Visualizer::handle_key_event`
[INFO] [stdout]   --> src/show.rs:81:5
[INFO] [stdout]    |
[INFO] [stdout] 81 |     pub fn handle_key_event(app: &mut AppState, key: event::KeyEvent)-> anyhow::Result<()>{
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `show::Visualizer::handle_key_event` is reachable at visibility `pub(crate)`
[INFO] [stdout]    |
[INFO] [stdout] note: but type `show::AppState<'_>` is only usable at visibility `pub(self)`
[INFO] [stdout]   --> src/show.rs:35:1
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct AppState<'a> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `show::AppState<'_>` is more private than the item `show::Visualizer::process_key_action`
[INFO] [stdout]    --> src/show.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 127 |     pub fn process_key_action(app: &mut AppState) -> anyhow::Result<()> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `show::Visualizer::process_key_action` is reachable at visibility `pub(crate)`
[INFO] [stdout]     |
[INFO] [stdout] note: but type `show::AppState<'_>` is only usable at visibility `pub(self)`
[INFO] [stdout]    --> src/show.rs:35:1
[INFO] [stdout]     |
[INFO] [stdout]  35 | struct AppState<'a> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `check_path_valid` is never used
[INFO] [stdout]    --> src/file_read.rs:169:4
[INFO] [stdout]     |
[INFO] [stdout] 169 | fn check_path_valid(path: &str) -> Result<(), PathReadError> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/data_struct.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QueryLine` is never constructed
[INFO] [stdout]   --> src/data_struct.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 89 | pub struct QueryLine{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PageMetaDataContainer` is never constructed
[INFO] [stdout]    --> src/data_struct.rs:149:12
[INFO] [stdout]     |
[INFO] [stdout] 149 | pub struct PageMetaDataContainer{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_page_metadata`, `get_mut_page_metadata`, and `set_page_metadata` are never used
[INFO] [stdout]    --> src/data_struct.rs:155:12
[INFO] [stdout]     |
[INFO] [stdout] 154 | impl PageMetaDataContainer {
[INFO] [stdout]     | -------------------------- methods in this implementation
[INFO] [stdout] 155 |     pub fn get_page_metadata(&self, page_index: usize) -> Option<&PageMetaData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn get_mut_page_metadata(&mut self, page_index: usize) -> Option<&mut PageMetaData> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn set_page_metadata(&mut self,page_index:usize,pmd:PageMetaData)->(){
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_file_metadata` is never used
[INFO] [stdout]    --> src/data_struct.rs:191:12
[INFO] [stdout]     |
[INFO] [stdout] 189 | impl <'a> FilePageContainer<'a>{
[INFO] [stdout]     | ------------------------------- method in this implementation
[INFO] [stdout] 190 |
[INFO] [stdout] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `QueryMode` is never used
[INFO] [stdout]   --> src/content_check.rs:10:6
[INFO] [stdout]    |
[INFO] [stdout] 10 | enum QueryMode {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QueryResultRef` is never constructed
[INFO] [stdout]   --> src/content_check.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct QueryResultRef<'a>{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mock_fetch_detail` is never used
[INFO] [stdout]    --> src/show.rs:387:4
[INFO] [stdout]     |
[INFO] [stdout] 387 | fn mock_fetch_detail<'a>() -> FileContentPage<'a> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/data_struct.rs:191:30
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata> {
[INFO] [stdout]     |                              ^^^^^   ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                              |       |    |
[INFO] [stdout]     |                              |       |    the same lifetime is hidden here
[INFO] [stdout]     |                              |       the same lifetime is elided here
[INFO] [stdout]     |                              the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata<'_>> {
[INFO] [stdout]     |                                                       ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s
[INFO] running `Command { std: "docker" "inspect" "103c9670c4d373ece61320e2246b916b9b0a12414dea9e7e3a4c61392b8dc8ea", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "103c9670c4d373ece61320e2246b916b9b0a12414dea9e7e3a4c61392b8dc8ea", kill_on_drop: false }`
[INFO] [stdout] 103c9670c4d373ece61320e2246b916b9b0a12414dea9e7e3a4c61392b8dc8ea
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.95.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8c84f8a9d569ea1d3b972b7b406be627af0217cfde65d4a27d59c8b737291419
[INFO] running `Command { std: "docker" "start" "-a" "8c84f8a9d569ea1d3b972b7b406be627af0217cfde65d4a27d59c8b737291419", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `PathBuf`
[INFO] [stderr]  --> src/file_read.rs:5:22
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::path::{Path,PathBuf};
[INFO] [stderr]   |                      ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ErrorKind`
[INFO] [stderr]  --> src/file_read.rs:7:34
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::io::{BufRead,BufReader, ErrorKind};
[INFO] [stderr]   |                                  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `thiserror::Error`
[INFO] [stderr]  --> src/file_read.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use thiserror::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `hash::Hash`
[INFO] [stderr]    --> src/show.rs:428:15
[INFO] [stderr]     |
[INFO] [stderr] 428 |     use std::{hash::Hash, path::PathBuf};
[INFO] [stderr]     |               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type `show::AppState<'_>` is more private than the item `show::Visualizer::handle_key_event`
[INFO] [stderr]   --> src/show.rs:81:5
[INFO] [stderr]    |
[INFO] [stderr] 81 |     pub fn handle_key_event(app: &mut AppState, key: event::KeyEvent)-> anyhow::Result<()>{
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `show::Visualizer::handle_key_event` is reachable at visibility `pub(crate)`
[INFO] [stderr]    |
[INFO] [stderr] note: but type `show::AppState<'_>` is only usable at visibility `pub(self)`
[INFO] [stderr]   --> src/show.rs:35:1
[INFO] [stderr]    |
[INFO] [stderr] 35 | struct AppState<'a> {
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: `#[warn(private_interfaces)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `show::AppState<'_>` is more private than the item `show::Visualizer::process_key_action`
[INFO] [stderr]    --> src/show.rs:127:5
[INFO] [stderr]     |
[INFO] [stderr] 127 |     pub fn process_key_action(app: &mut AppState) -> anyhow::Result<()> {
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `show::Visualizer::process_key_action` is reachable at visibility `pub(crate)`
[INFO] [stderr]     |
[INFO] [stderr] note: but type `show::AppState<'_>` is only usable at visibility `pub(self)`
[INFO] [stderr]    --> src/show.rs:35:1
[INFO] [stderr]     |
[INFO] [stderr]  35 | struct AppState<'a> {
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `check_path_valid` is never used
[INFO] [stderr]    --> src/file_read.rs:169:4
[INFO] [stderr]     |
[INFO] [stderr] 169 | fn check_path_valid(path: &str) -> Result<(), PathReadError> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Config` is never constructed
[INFO] [stderr]   --> src/data_struct.rs:64:12
[INFO] [stderr]    |
[INFO] [stderr] 64 | pub struct Config {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `QueryLine` is never constructed
[INFO] [stderr]   --> src/data_struct.rs:89:12
[INFO] [stderr]    |
[INFO] [stderr] 89 | pub struct QueryLine{
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PageMetaDataContainer` is never constructed
[INFO] [stderr]    --> src/data_struct.rs:149:12
[INFO] [stderr]     |
[INFO] [stderr] 149 | pub struct PageMetaDataContainer{
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_page_metadata`, `get_mut_page_metadata`, and `set_page_metadata` are never used
[INFO] [stderr]    --> src/data_struct.rs:155:12
[INFO] [stderr]     |
[INFO] [stderr] 154 | impl PageMetaDataContainer {
[INFO] [stderr]     | -------------------------- methods in this implementation
[INFO] [stderr] 155 |     pub fn get_page_metadata(&self, page_index: usize) -> Option<&PageMetaData> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 161 |     pub fn get_mut_page_metadata(&mut self, page_index: usize) -> Option<&mut PageMetaData> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 166 |     pub fn set_page_metadata(&mut self,page_index:usize,pmd:PageMetaData)->(){
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `get_file_metadata` is never used
[INFO] [stderr]    --> src/data_struct.rs:191:12
[INFO] [stderr]     |
[INFO] [stderr] 189 | impl <'a> FilePageContainer<'a>{
[INFO] [stderr]     | ------------------------------- method in this implementation
[INFO] [stderr] 190 |
[INFO] [stderr] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `QueryMode` is never used
[INFO] [stderr]   --> src/content_check.rs:10:6
[INFO] [stderr]    |
[INFO] [stderr] 10 | enum QueryMode {
[INFO] [stderr]    |      ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `QueryResultRef` is never constructed
[INFO] [stderr]   --> src/content_check.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct QueryResultRef<'a>{
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `mock_fetch_detail` is never used
[INFO] [stderr]    --> src/show.rs:387:4
[INFO] [stderr]     |
[INFO] [stderr] 387 | fn mock_fetch_detail<'a>() -> FileContentPage<'a> {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/data_struct.rs:191:30
[INFO] [stderr]     |
[INFO] [stderr] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata> {
[INFO] [stderr]     |                              ^^^^^   ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                              |       |    |
[INFO] [stderr]     |                              |       |    the same lifetime is hidden here
[INFO] [stderr]     |                              |       the same lifetime is elided here
[INFO] [stderr]     |                              the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 191 |     pub fn get_file_metadata(&self)->&Vec<FileMetadata<'_>> {
[INFO] [stderr]     |                                                       ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_grep` (bin "rust_grep" test) generated 16 warnings (run `cargo fix --bin "rust_grep" -p rust_grep --tests` to apply 5 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_grep-bd654e723c0d5e5b)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test file_read::tests::test_check_file_not_found ... ok
[INFO] [stdout] test content_check::tests::test_query_data_struct ... ok
[INFO] [stdout] test file_read::tests::test_read_files_in_path_not_found ... ok
[INFO] [stdout] test file_read::tests::test_read_file_not_found ... ok
[INFO] [stdout] test file_read::tests::test_check_file_no_extension ... ok
[INFO] [stdout] test file_read::tests::test_read_file_to_data_struct_success ... ok
[INFO] [stdout] test file_read::tests::test_valid_formats_parsing ... ok
[INFO] [stdout] test show::tests::test_app_state_initialization ... ok
[INFO] [stdout] test file_read::tests::test_read_files_in_path_mixed_contents ... ok
[INFO] [stdout] test file_read::tests::test_read_one_file_error_handling ... ok
[INFO] [stdout] test file_read::tests::test_read_empty_file ... ok
[INFO] [stdout] test show::tests::test_move_prev ... ok
[INFO] [stdout] test show::tests::test_key_down_in_file_list ... ok
[INFO] [stdout] test file_read::tests::test_check_file_valid ... ok
[INFO] [stdout] test show::tests::test_move_next ... ok
[INFO] [stdout] test file_read::tests::test_read_one_file_success ... ok
[INFO] [stdout] test tests::test_check_path_type ... ok
[INFO] [stdout] test file_read::tests::test_read_files_in_path_empty_dir ... ok
[INFO] [stdout] test tests::test_get_config_success ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8c84f8a9d569ea1d3b972b7b406be627af0217cfde65d4a27d59c8b737291419", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c84f8a9d569ea1d3b972b7b406be627af0217cfde65d4a27d59c8b737291419", kill_on_drop: false }`
[INFO] [stdout] 8c84f8a9d569ea1d3b972b7b406be627af0217cfde65d4a27d59c8b737291419
