[INFO] cloning repository https://github.com/machado2/codicuru
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/machado2/codicuru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachado2%2Fcodicuru", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachado2%2Fcodicuru'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 72162eba1e1c186b2c17731abb27006ce7bd62d6
[INFO] testing machado2/codicuru against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmachado2%2Fcodicuru" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/machado2/codicuru
[INFO] finished tweaking git repo https://github.com/machado2/codicuru
[INFO] tweaked toml for git repo https://github.com/machado2/codicuru written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/machado2/codicuru on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/machado2/codicuru 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.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f
[INFO] running `Command { std: "docker" "start" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", 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" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling adler2 v2.0.1
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling bstr v1.12.3
[INFO] [stderr]    Compiling zune-core v0.5.1
[INFO] [stderr]    Compiling mio v1.2.1
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling webpki-roots v1.0.8
[INFO] [stderr]    Compiling data-encoding v2.11.0
[INFO] [stderr]    Compiling pxfm v0.1.29
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling pulldown-cmark v0.12.2
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling weezl v0.1.12
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling signal-hook-mio v0.2.5
[INFO] [stderr]    Compiling image-webp v0.2.4
[INFO] [stderr]    Compiling webpki-roots v0.26.11
[INFO] [stderr]    Compiling zune-jpeg v0.5.15
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling getopts v0.2.24
[INFO] [stderr]    Compiling bytemuck v1.25.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling gif v0.14.2
[INFO] [stderr]    Compiling unicase v2.9.0
[INFO] [stderr]    Compiling pulldown-cmark-escape v0.11.0
[INFO] [stderr]    Compiling png v0.18.1
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling uuid v1.23.4
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling rustls v0.23.41
[INFO] [stderr]    Compiling moxcms v0.8.1
[INFO] [stderr]    Compiling globset v0.4.18
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling ignore v0.4.26
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tungstenite v0.26.2
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling tokio-tungstenite v0.26.2
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling image v0.25.10
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling codicuru v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `source` is never read
[INFO] [stdout]   --> src/auth.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct ResolvedApiKey {
[INFO] [stdout]    |            -------------- field in this struct
[INFO] [stdout] 46 |     pub key: String,
[INFO] [stdout] 47 |     pub source: ApiKeySource,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResolvedApiKey` has derived impls for the traits `Clone` and `Debug`, but these are 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: fields `raw_global` and `raw_project` are never read
[INFO] [stdout]   --> src/settings.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct LoadedSettings {
[INFO] [stdout]    |            -------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 22 |     raw_global: Value,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 23 |     #[serde(skip_serializing)]
[INFO] [stdout] 24 |     raw_project: Value,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoadedSettings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `run` is never used
[INFO] [stdout]    --> src/tools/mod.rs:234:14
[INFO] [stdout]     |
[INFO] [stdout] 218 | trait Tool: Send + Sync {
[INFO] [stdout]     |       ---- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 234 |     async fn run(
[INFO] [stdout]     |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 19s
[INFO] running `Command { std: "docker" "inspect" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling codicuru v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 42.95s
[INFO] running `Command { std: "docker" "inspect" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codicuru-b3295b6748d52af7)
[INFO] [stdout] 
[INFO] [stdout] running 244 tests
[INFO] [stdout] test agent::tests::agent_event_serializes_with_snake_case_type ... ok
[INFO] [stdout] test auth::tests::anthropic_auth_file_key_is_resolved ... ok
[INFO] [stdout] test agent::tests::run_turn_auto_compacts_before_provider_call_when_threshold_is_exceeded ... ok
[INFO] [stdout] test agent::tests::run_turn_emits_provider_streaming_message_updates ... ok
[INFO] [stdout] test auth::tests::amazon_bedrock_auth_file_key_is_resolved ... ok
[INFO] [stdout] test auth::tests::github_copilot_auth_file_key_is_resolved ... ok
[INFO] [stdout] test auth::tests::interpolates_env_vars_and_escapes ... ok
[INFO] [stdout] test auth::tests::google_auth_file_key_is_resolved ... ok
[INFO] [stdout] test auth::tests::auth_file_key_is_resolved_with_source ... ok
[INFO] [stdout] test auth::tests::google_vertex_auth_file_key_is_resolved ... ok
[INFO] [stdout] test auth::tests::expired_openai_codex_oauth_is_refreshed_and_persisted ... ok
[INFO] [stdout] test auth::tests::oauth_access_token_is_resolved_when_not_expired ... ok
[INFO] [stdout] test auth::tests::expired_github_copilot_oauth_is_refreshed_and_persisted ... ok
[INFO] [stdout] test auth::tests::anthropic_oauth_login_exchanges_manual_code_and_stores_oauth ... ok
[INFO] [stdout] test agent::tests::run_turn_retries_transient_llm_errors ... ok
[INFO] [stdout] test auth::tests::github_copilot_device_login_exchanges_and_stores_oauth ... ok
[INFO] [stdout] test auth::tests::openai_codex_auth_file_key_is_resolved ... ok
[INFO] [stdout] test auth::tests::missing_env_var_is_an_error ... ok
[INFO] [stdout] test cli::tests::clipboard_mime_selection_prefers_supported_images_and_falls_back ... ok
[INFO] [stdout] test cli::tests::copy_and_share_helpers_select_expected_content ... ok
[INFO] [stdout] test auth::tests::openai_compatible_provider_auth_file_key_is_resolved ... ok
[INFO] [stdout] test agent::tests::run_turn_emits_message_and_tool_events ... ok
[INFO] [stdout] test cli::tests::import_command_parses_quoted_paths_and_cwd_override ... ok
[INFO] [stdout] test cli::tests::fork_session_from_reference_copies_active_context_and_state ... ok
[INFO] [stdout] test cli::tests::block_images_setting_omits_image_attachment_with_note ... ok
[INFO] [stdout] test cli::tests::continue_creates_new_when_none_but_resume_errors ... ok
[INFO] [stdout] test cli::tests::initial_prompt_converts_bmp_attachments_to_png ... ok
[INFO] [stdout] test cli::tests::fork_and_name_flags_parse ... ok
[INFO] [stdout] test auth::tests::openai_codex_device_login_exchanges_and_stores_oauth ... ok
[INFO] [stdout] test cli::tests::continue_and_resume_resolve_latest_session_file ... ok
[INFO] [stdout] test cli::tests::initial_prompt_expands_at_file_arguments_and_stdin ... ok
[INFO] [stdout] test cli::tests::initial_prompt_rejects_at_file_outside_workspace ... ok
[INFO] [stdout] test cli::tests::interactive_bash_prefixes_parse_context_policy ... ok
[INFO] [stdout] test agent::tests::run_turn_retries_after_context_overflow_by_compacting_once ... ok
[INFO] [stdout] test cli::tests::initial_prompt_expands_image_arguments_as_attachments ... ok
[INFO] [stdout] test cli::tests::interactive_agent_turn_renders_events_and_updates_transcript ... ok
[INFO] [stdout] test cli::tests::interactive_compact_command_writes_compaction_and_keeps_recent_context ... ok
[INFO] [stdout] test auth::tests::remove_credential_only_removes_requested_provider ... ok
[INFO] [stdout] test cli::tests::interactive_footer_view_reflects_agent_runtime_state ... ok
[INFO] [stdout] test cli::tests::interactive_import_command_accepts_cwd_override_for_missing_session_cwd ... ok
[INFO] [stdout] test cli::tests::interactive_resume_command_switches_session_by_name_search ... ok
[INFO] [stdout] test cli::tests::interactive_runtime_input_queues_steering_follow_up_and_restores ... ok
[INFO] [stdout] test cli::tests::interactive_import_command_copies_and_switches_after_validation ... ok
[INFO] [stdout] test cli::tests::interactive_export_command_writes_html_and_jsonl ... ok
[INFO] [stdout] test cli::tests::invalid_thinking_level_is_rejected ... ok
[INFO] [stdout] test cli::tests::interactive_tree_command_selects_entry_in_same_session_file ... ok
[INFO] [stdout] test cli::tests::json_line_serializes_session_header_and_events ... ok
[INFO] [stdout] test cli::tests::interactive_footer_view_reflects_provider_usage_cache_and_cost ... ok
[INFO] [stdout] test cli::tests::json_mode_stdout_is_parseable_jsonl_on_agent_failure ... ok
[INFO] [stdout] test cli::tests::list_models_search_filters_provider_id_and_name ... ok
[INFO] running `Command { std: "docker" "inspect" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f", kill_on_drop: false }`
[INFO] [stdout] 918f6ac12b299e33161ea4674b0d92f226b31de772ff2bf6d165085314b4068f
