[INFO] cloning repository https://github.com/try-to-fly/project-manager-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/try-to-fly/project-manager-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftry-to-fly%2Fproject-manager-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftry-to-fly%2Fproject-manager-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 090254634bbe9f4a79eef37d35c585aa40af9eb6 [INFO] checking try-to-fly/project-manager-cli/090254634bbe9f4a79eef37d35c585aa40af9eb6 against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftry-to-fly%2Fproject-manager-cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/try-to-fly/project-manager-cli [INFO] finished tweaking git repo https://github.com/try-to-fly/project-manager-cli [INFO] tweaked toml for git repo https://github.com/try-to-fly/project-manager-cli written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/try-to-fly/project-manager-cli on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/try-to-fly/project-manager-cli 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trash v5.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc7a64862d20c8c88b62fb5546081ba01579f223b4d1a36382c2f1df0fad0a4f [INFO] running `Command { std: "docker" "start" "-a" "bc7a64862d20c8c88b62fb5546081ba01579f223b4d1a36382c2f1df0fad0a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc7a64862d20c8c88b62fb5546081ba01579f223b4d1a36382c2f1df0fad0a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc7a64862d20c8c88b62fb5546081ba01579f223b4d1a36382c2f1df0fad0a4f", kill_on_drop: false }` [INFO] [stdout] bc7a64862d20c8c88b62fb5546081ba01579f223b4d1a36382c2f1df0fad0a4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 105f5b5b27d8532a1144eb68297922a824aed1610b846ddeef78626bf446b0f7 [INFO] running `Command { std: "docker" "start" "-a" "105f5b5b27d8532a1144eb68297922a824aed1610b846ddeef78626bf446b0f7", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking lock_api v0.4.13 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking indicatif v0.17.11 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.9 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking trash v5.2.3 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking git2 v0.19.0 [INFO] [stderr] Checking project-manager-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Oid` [INFO] [stdout] --> src/scanner/git_analyzer.rs:289:39 [INFO] [stdout] | [INFO] [stdout] 289 | use git2::{Repository, Signature, Oid}; [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: `chrono::Duration` [INFO] [stdout] --> src/utils/time_format.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scanner/size_cache.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let mut cache = SizeCache { [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/screens/main_screen.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/screens/main_screen.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `project_manager_cli::scanner::CacheConfig` [INFO] [stdout] --> examples/cache_demo.rs:1:52 [INFO] [stdout] | [INFO] [stdout] 1 | use project_manager_cli::scanner::{SizeCalculator, CacheConfig}; [INFO] [stdout] | ^^^^^^^^^^^ no `CacheConfig` in `scanner` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] project_manager_cli::config::settings::CacheConfig [INFO] [stdout] project_manager_cli::scanner::size_cache::CacheConfig [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `project_manager_cli::scanner::GitIgnoreAnalyzer`, `project_manager_cli::scanner::SizeCache`, `project_manager_cli::scanner::CacheConfig` [INFO] [stdout] --> tests/integration_test.rs:6:52 [INFO] [stdout] | [INFO] [stdout] 6 | use project_manager_cli::scanner::{SizeCalculator, GitIgnoreAnalyzer, SizeCache, CacheConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ no `CacheConfig` in `scanner` [INFO] [stdout] | | | [INFO] [stdout] | | no `SizeCache` in `scanner` [INFO] [stdout] | no `GitIgnoreAnalyzer` in `scanner` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] project_manager_cli::scanner::git_ignore_analyzer::GitIgnoreAnalyzer [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] project_manager_cli::scanner::size_cache::SizeCache [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] project_manager_cli::config::settings::CacheConfig [INFO] [stdout] project_manager_cli::scanner::size_cache::CacheConfig [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 - use project_manager_cli::scanner::{SizeCalculator, GitIgnoreAnalyzer, SizeCache, CacheConfig}; [INFO] [stdout] 6 + use project_manager_cli::scanner::{SizeCalculator, git_ignore_analyzer, SizeCache, CacheConfig}; [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 6 - use project_manager_cli::scanner::{SizeCalculator, GitIgnoreAnalyzer, SizeCache, CacheConfig}; [INFO] [stdout] 6 + use project_manager_cli::scanner::{SizeCalculator, GitIgnoreAnalyzer, size_cache, CacheConfig}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `project_manager_cli::scanner::CacheStatus` [INFO] [stdout] --> tests/integration_test.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | use project_manager_cli::scanner::CacheStatus; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `CacheStatus` in `scanner` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum instead [INFO] [stdout] | [INFO] [stdout] 70 | use project_manager_cli::scanner::size_cache::CacheStatus; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `project-manager-cli` (example "cache_demo") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `project-manager-cli` (test "integration_test") due to 2 previous errors [INFO] [stdout] warning: unused import: `Oid` [INFO] [stdout] --> src/scanner/git_analyzer.rs:289:39 [INFO] [stdout] | [INFO] [stdout] 289 | use git2::{Repository, Signature, Oid}; [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: `chrono::Duration` [INFO] [stdout] --> src/utils/time_format.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use chrono::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/screens/main_screen.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/scanner/size_cache.rs:587:13 [INFO] [stdout] | [INFO] [stdout] 587 | let mut cache = SizeCache { [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tui/screens/main_screen.rs:205:36 [INFO] [stdout] | [INFO] [stdout] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row { [INFO] [stdout] | ^^^^^^^^ ^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 205 | fn create_project_row(project: &Project, base_style: Style) -> Row<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "105f5b5b27d8532a1144eb68297922a824aed1610b846ddeef78626bf446b0f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105f5b5b27d8532a1144eb68297922a824aed1610b846ddeef78626bf446b0f7", kill_on_drop: false }` [INFO] [stdout] 105f5b5b27d8532a1144eb68297922a824aed1610b846ddeef78626bf446b0f7