[INFO] cloning repository https://github.com/amudhan22/SCANX [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amudhan22/SCANX" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famudhan22%2FSCANX", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famudhan22%2FSCANX'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b51e932268e37e8d7490bda8df8c507964022e3a [INFO] testing amudhan22/SCANX against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famudhan22%2FSCANX" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/amudhan22/SCANX [INFO] finished tweaking git repo https://github.com/amudhan22/SCANX [INFO] tweaked toml for git repo https://github.com/amudhan22/SCANX written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/amudhan22/SCANX on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/amudhan22/SCANX 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.100.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-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e [INFO] running `Command { std: "docker" "start" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", 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" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", 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" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling tree-sitter-language v0.1.7 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling openssl-sys v0.9.114 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling tree-sitter-javascript v0.23.1 [INFO] [stderr] Compiling tree-sitter v0.23.2 [INFO] [stderr] Compiling tree-sitter-python v0.23.6 [INFO] [stderr] Compiling tree-sitter-rust v0.23.3 [INFO] [stderr] Compiling tree-sitter-typescript v0.23.2 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.15 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling instability v0.3.12 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling ollama-rs v0.2.6 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling ignore v0.4.25 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling uuid v1.23.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling scanx-core v0.1.0 (/opt/rustwide/workdir/scanx-core) [INFO] [stderr] Compiling scanx-tui v0.1.0 (/opt/rustwide/workdir/scanx-tui) [INFO] [stderr] Compiling scanx-cli v0.1.0 (/opt/rustwide/workdir/scanx-cli) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 4m 58s [INFO] running `Command { std: "docker" "inspect" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", 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" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling ollama-rs v0.2.6 [INFO] [stderr] Compiling scanx-core v0.1.0 (/opt/rustwide/workdir/scanx-core) [INFO] [stderr] Compiling scanx-tui v0.1.0 (/opt/rustwide/workdir/scanx-tui) [INFO] [stderr] Compiling scanx-cli v0.1.0 (/opt/rustwide/workdir/scanx-cli) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", 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" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/scanx-cli/c0dd982fdf896807/out/scanx-c0dd982fdf896807) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/scanx-core/ecba300488e9b956/out/scanx_core-ecba300488e9b956) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test agents::scan::tests::parse_findings_handles_markdown_fenced_json ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_ignores_unsupported_top_level_files ... ok [INFO] [stdout] test agents::explore::tests::explore_agent_language_stats_sorted_by_file_count_desc ... ok [INFO] [stdout] test agents::explore::tests::explore_agent_rejects_path_outside_allowed_root ... ok [INFO] [stdout] test agents::explore::tests::extract_dependencies_from_cargo_toml ... ok [INFO] [stdout] test agents::explore::tests::explore_agent_writes_artifact_json ... ok [INFO] [stdout] test agents::explore::tests::explore_agent_extracts_cargo_dependencies ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_parses_findings_from_mock_llm ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_returns_empty_for_clean_code ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_skips_path_outside_allowed_root ... ok [INFO] [stdout] test ast::tests::detect_language_tsx_uses_tsx_grammar ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_skips_oversized_file ... ok [INFO] [stdout] test ast::tests::ast_summary_to_prompt_context_includes_function_names ... ok [INFO] [stdout] test ast::tests::summarize_rust_detects_functions ... ok [INFO] [stdout] test ast::tests::detect_language_typescript_uses_typescript_grammar ... ok [INFO] [stdout] test ast::tests::summarize_unknown_extension_returns_empty ... ok [INFO] [stdout] test config::tests::config_load_from_file_errors_on_missing_file ... ok [INFO] [stdout] test config::tests::config_defaults_when_empty ... ok [INFO] [stdout] test config::tests::scan_config_exclude_patterns_defaults_when_section_present ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_injects_parent_summary_into_system_prompt ... ok [INFO] [stdout] test context::tests::content_budget_excludes_reserves ... ok [INFO] [stdout] test context::tests::count_tokens_approximates_length_div_4 ... ok [INFO] [stdout] test agents::explore::tests::explore_agent_discovers_rust_files ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_records_skipped_for_path_outside_root ... ok [INFO] [stdout] test context::tests::maybe_compact_no_op_under_threshold ... ok [INFO] [stdout] test context::tests::maybe_compact_no_op_when_too_few_conv_msgs ... ok [INFO] [stdout] test agents::explore::tests::explore_agent_skips_oversized_files ... ok [INFO] [stdout] test context::tests::track_updates_used_tokens ... ok [INFO] [stdout] test config::tests::config_parses_toml ... ok [INFO] [stdout] test context::tests::compaction_threshold_is_75_percent ... ok [INFO] [stdout] test context::tests::maybe_compact_compacts_when_over_threshold ... ok [INFO] [stdout] test agents::scan::tests::scan_agent_recursively_scans_supported_files_in_directories ... ok [INFO] [stdout] test llm::ollama::tests::role_mapping_produces_correct_chat_messages ... ok [INFO] [stdout] test llm::tests::mock_backend_returns_configured_response ... ok [INFO] [stdout] test security::tests::sanitize_handles_non_ascii_content_without_panic ... ok [INFO] [stdout] test security::tests::sanitize_redacts_mixed_case_and_lowercase_variants ... ok [INFO] [stdout] test security::tests::validate_path_allows_file_inside_root ... ok [INFO] [stdout] test security::tests::validate_path_rejects_path_outside_root ... ok [INFO] [stdout] test security::tests::sanitize_redacts_injection_patterns ... ok [INFO] [stdout] test types::agent::tests::intersect_narrows_to_common_tools ... ok [INFO] [stdout] test types::agent::tests::intersect_prevents_permission_expansion ... ok [INFO] [stdout] test types::agent::tests::tool_allow_list_readonly_denies_write ... ok [INFO] [stdout] test types::agent::tests::tool_allow_list_scan_and_write_allows_write ... ok [INFO] [stdout] test types::codebase_map::tests::codebase_map_round_trips_json ... ok [INFO] [stdout] test types::codebase_map::tests::to_summary_no_language_stats_omits_languages_section ... ok [INFO] [stdout] test types::finding::tests::finding_round_trips_json ... ok [INFO] [stdout] test types::finding::tests::severity_serializes_to_pascal_case ... ok [INFO] [stdout] test types::codebase_map::tests::to_summary_includes_root_and_file_count ... ok [INFO] [stdout] test types::scan_report::tests::scan_report_default_is_empty ... ok [INFO] [stdout] test types::scan_report::tests::scan_report_round_trips_json ... ok [INFO] [stdout] test llm::claude::tests::default_max_tokens_is_8192 ... ok [INFO] [stdout] test llm::ollama::tests::new_sets_custom_model_id ... ok [INFO] [stdout] test llm::ollama::tests::default_local_sets_model_id ... ok [INFO] [stdout] test llm::claude::tests::with_max_tokens_overrides_default ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/scanx-tui/755190d23de4736e/out/scanx_tui-755190d23de4736e) [INFO] [stdout] test llm::claude::tests::claude_backend_constructs ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test app::tests::app_submit_clears_input_and_returns_text ... ok [INFO] [stdout] test app::tests::app_submit_empty_returns_none ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests scanx_core [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e", kill_on_drop: false }` [INFO] [stdout] c977d7aced6e682b411944e71f5868b80e0784c9dd80df417eeb98c9d122372e