[INFO] cloning repository https://github.com/DenzelPenzel/clawsec [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenzelPenzel/clawsec" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenzelPenzel%2Fclawsec", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenzelPenzel%2Fclawsec'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c539dd5d9b84857096067d6d9e5d61e9b593d45 [INFO] testing DenzelPenzel/clawsec against 1.100.0-beta.1 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenzelPenzel%2Fclawsec" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/DenzelPenzel/clawsec [INFO] finished tweaking git repo https://github.com/DenzelPenzel/clawsec [INFO] tweaked toml for git repo https://github.com/DenzelPenzel/clawsec written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/DenzelPenzel/clawsec 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/DenzelPenzel/clawsec 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-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860 [INFO] running `Command { std: "docker" "start" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", 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" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860" "/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" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", 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" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling borrow-or-share v0.2.4 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling uuid-simd v0.8.0 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling fluent-uri v0.3.2 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling referencing v0.28.3 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling clawsec-types v0.1.0 (/opt/rustwide/workdir/crates/clawsec-types) [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.15.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling clawsec-utils v0.1.0 (/opt/rustwide/workdir/crates/clawsec-utils) [INFO] [stderr] Compiling clawsec-queue v0.1.0 (/opt/rustwide/workdir/crates/clawsec-queue) [INFO] [stderr] Compiling clawsec-git v0.1.0 (/opt/rustwide/workdir/crates/clawsec-git) [INFO] [stderr] Compiling clawsec-prompt v0.1.0 (/opt/rustwide/workdir/crates/clawsec-prompt) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/clawsec-utils/src/lib.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Timer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 118 | fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clawsec-audit v0.1.0 (/opt/rustwide/workdir/crates/clawsec-audit) [INFO] [stderr] Compiling clawsec-engine v0.1.0 (/opt/rustwide/workdir/crates/clawsec-engine) [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling clawsec-phases v0.1.0 (/opt/rustwide/workdir/crates/clawsec-phases) [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.8.1 [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 jsonschema v0.28.3 [INFO] [stderr] Compiling clawsec-api v0.1.0 (/opt/rustwide/workdir/crates/clawsec-api) [INFO] [stderr] Compiling clawsec-config v0.1.0 (/opt/rustwide/workdir/crates/clawsec-config) [INFO] [stderr] Compiling clawsec-pipeline v0.1.0 (/opt/rustwide/workdir/crates/clawsec-pipeline) [INFO] [stderr] Compiling clawsec-cli v0.1.0 (/opt/rustwide/workdir/crates/clawsec-cli) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.22s [INFO] running `Command { std: "docker" "inspect" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", 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" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling deadpool-runtime v0.1.4 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling clawsec-types v0.1.0 (/opt/rustwide/workdir/crates/clawsec-types) [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tempfile v3.25.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling clawsec-utils v0.1.0 (/opt/rustwide/workdir/crates/clawsec-utils) [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling clawsec-git v0.1.0 (/opt/rustwide/workdir/crates/clawsec-git) [INFO] [stderr] Compiling clawsec-queue v0.1.0 (/opt/rustwide/workdir/crates/clawsec-queue) [INFO] [stderr] Compiling clawsec-prompt v0.1.0 (/opt/rustwide/workdir/crates/clawsec-prompt) [INFO] [stderr] Compiling deadpool v0.12.3 [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> crates/clawsec-utils/src/lib.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | impl Timer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 118 | fn new(name: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clawsec-audit v0.1.0 (/opt/rustwide/workdir/crates/clawsec-audit) [INFO] [stderr] Compiling clawsec-engine v0.1.0 (/opt/rustwide/workdir/crates/clawsec-engine) [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling clawsec-phases v0.1.0 (/opt/rustwide/workdir/crates/clawsec-phases) [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling wiremock v0.6.5 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling jsonschema v0.28.3 [INFO] [stderr] Compiling clawsec-api v0.1.0 (/opt/rustwide/workdir/crates/clawsec-api) [INFO] [stderr] Compiling clawsec-config v0.1.0 (/opt/rustwide/workdir/crates/clawsec-config) [INFO] [stderr] Compiling clawsec-pipeline v0.1.0 (/opt/rustwide/workdir/crates/clawsec-pipeline) [INFO] [stdout] warning: unused import: `clawsec_types::pipeline::AgentMetrics` [INFO] [stdout] --> crates/clawsec-pipeline/src/executor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clawsec_types::pipeline::AgentMetrics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clawsec-cli v0.1.0 (/opt/rustwide/workdir/crates/clawsec-cli) [INFO] [stdout] warning: unused import: `clap::CommandFactory` [INFO] [stdout] --> crates/clawsec-cli/src/main.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use clap::CommandFactory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.63s [INFO] running `Command { std: "docker" "inspect" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", 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" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> crates/clawsec-utils/src/lib.rs:118:8 [INFO] [stderr] | [INFO] [stderr] 117 | impl Timer { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 118 | fn new(name: impl Into) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `clawsec-utils` (lib) generated 1 warning [INFO] [stderr] warning: unused import: `clawsec_types::pipeline::AgentMetrics` [INFO] [stderr] --> crates/clawsec-pipeline/src/executor.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use clawsec_types::pipeline::AgentMetrics; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `clawsec-pipeline` (lib test) generated 1 warning (run `cargo fix --lib -p clawsec-pipeline --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `clap::CommandFactory` [INFO] [stderr] --> crates/clawsec-cli/src/main.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | use clap::CommandFactory; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `clawsec-cli` (bin "clawsec-cli" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-api/44432486da0f3c9a/out/clawsec_api-44432486da0f3c9a) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test billing::tests::layer1_billing_error_type ... ok [INFO] [stdout] test billing::tests::layer1_billing_keywords_in_message ... ok [INFO] [stdout] test billing::tests::layer3_billing_at_exactly_2_turns ... ok [INFO] [stdout] test billing::tests::layer1_http_402_is_billing ... ok [INFO] [stdout] test billing::tests::layer1_non_billing_error ... ok [INFO] [stdout] test billing::tests::layer2_case_insensitive ... ok [INFO] [stdout] test billing::tests::layer2_detects_billing_keywords ... ok [INFO] [stdout] test billing::tests::layer2_non_billing_text ... ok [INFO] [stdout] test billing::tests::layer3_billing_heuristic_triggers ... ok [INFO] [stdout] test billing::tests::layer3_no_trigger_above_2_turns ... ok [INFO] [stdout] test billing::tests::layer3_no_trigger_with_nonzero_cost ... ok [INFO] [stdout] test billing::tests::layer3_no_trigger_without_billing_text ... ok [INFO] [stdout] test billing::tests::layer3_requires_all_three_conditions ... ok [INFO] [stdout] test execution::tests::single_tool_use_cycle ... ok [INFO] [stdout] test client::tests::create_message_401_error ... ok [INFO] [stdout] test client::tests::create_message_success ... ok [INFO] [stdout] test tools::tests::bash_captures_stderr ... ok [INFO] [stdout] test execution::tests::tool_error_sent_back_as_is_error ... ok [INFO] [stdout] test tools::tests::bash_missing_command ... ok [INFO] [stdout] test tools::tests::bash_echo ... ok [INFO] [stdout] test client::tests::create_message_billing_error_layer1 ... ok [INFO] [stdout] test tools::tests::bash_nonzero_exit ... ok [INFO] [stdout] test execution::tests::multi_turn_tool_use ... ok [INFO] [stdout] test tools::tests::file_read_nonexistent ... ok [INFO] [stdout] test tools::tests::file_read_write_round_trip ... ok [INFO] [stdout] test execution::tests::billing_detection_layer2 ... ok [INFO] [stdout] test tools::tests::tool_registry_definitions ... ok [INFO] [stdout] test execution::tests::max_turns_enforcement ... ok [INFO] [stdout] test tools::tests::list_files_nonexistent ... ok [INFO] [stdout] test tools::tests::tool_registry_execute_unknown_tool ... ok [INFO] [stdout] test client::tests::create_message_unparseable_error_body ... ok [INFO] [stdout] test tools::tests::truncate_output_exceeds_limit ... ok [INFO] [stdout] test tools::tests::file_write_creates_parent_dirs ... ok [INFO] [stdout] test execution::tests::max_tokens_continues_conversation ... ok [INFO] [stdout] test tools::tests::truncate_output_within_limit ... ok [INFO] [stdout] test tools::tests::list_files_basic ... ok [INFO] [stdout] test execution::tests::simple_end_turn ... ok [INFO] [stdout] test execution::tests::unknown_tool_returns_error_to_model ... ok [INFO] [stdout] test client::tests::create_message_500_error ... ok [INFO] [stdout] test client::tests::correct_headers_sent ... ok [INFO] [stdout] test tools::tests::tool_registry_execute_known_tool ... ok [INFO] [stdout] test execution::tests::multiple_tool_uses_in_one_response ... ok [INFO] [stdout] test client::tests::create_message_429_error ... ok [INFO] [stdout] test client::tests::create_message_malformed_response ... ok [INFO] [stdout] test execution::tests::api_error_mid_loop ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-audit/4e986f551916a6b7/out/clawsec_audit-4e986f551916a6b7) [INFO] [stdout] test tools::tests::bash_timeout ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.24s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::generate_workflow_log_path_format ... ok [INFO] [stdout] test tests::generate_audit_path_format ... ok [INFO] [stdout] test tests::generate_prompt_path_format ... ok [INFO] [stdout] test tests::initialize_audit_structure_creates_dirs ... ok [INFO] [stdout] test tests::generate_session_json_path_format ... ok [INFO] [stdout] test tests::agent_logger_save_prompt ... ok [INFO] [stdout] test tests::metrics_tracker_lifecycle ... ok [INFO] [stdout] test tests::session_data_recalculate_totals ... ok [INFO] [stdout] test tests::metrics_tracker_reload ... ok [INFO] [stdout] test tests::agent_logger_writes_events ... ok [INFO] [stdout] test tests::audit_session_full_lifecycle ... ok [INFO] [stdout] test tests::workflow_logger_writes ... ok [INFO] [stdout] test tests::concurrent_agent_end ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/clawsec-cli/0048585109fb2e9a/out/clawsec_cli-0048585109fb2e9a) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::cli_parses_query ... ok [INFO] [stdout] test tests::cli_parses_start_with_all_options ... ok [INFO] [stdout] test tests::cli_parses_logs ... ok [INFO] [stdout] test tests::cli_short_flags ... ok [INFO] [stdout] test tests::cli_parses_start ... ok [INFO] [stdout] test commands::tests::cmd_query_with_state ... ok [INFO] [stdout] test commands::tests::cmd_query_missing_state ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-config/5cc339b5ab2f2b9a/out/clawsec_config-5cc339b5ab2f2b9a) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test tests::distribute_normalizes_empty_rules ... ok [INFO] [stdout] test tests::distribute_none_config ... ok [INFO] [stdout] test tests::distribute_trims_whitespace ... ok [INFO] [stdout] test tests::parse_config_file_too_large ... ok [INFO] [stdout] test tests::parse_config_file_not_found ... ok [INFO] [stdout] test tests::parse_config_empty_file ... ok [INFO] [stdout] test tests::reject_empty_content ... ok [INFO] [stdout] test tests::parse_rules_only_config ... ok [INFO] [stdout] test tests::reject_invalid_yaml ... ok [INFO] [stdout] test tests::parse_auth_only_config ... ok [INFO] [stdout] test tests::accept_valid_subdomain_rule ... ok [INFO] [stdout] test tests::reject_domain_without_dot ... ok [INFO] [stdout] test tests::reject_javascript_url_in_credentials ... ok [INFO] [stdout] test tests::accept_valid_header_name ... ok [INFO] [stdout] test tests::reject_domain_with_slash ... ok [INFO] [stdout] test tests::accept_valid_method_case_insensitive ... ok [INFO] [stdout] test tests::reject_path_rule_without_leading_slash ... ok [INFO] [stdout] test tests::reject_path_traversal_in_rule ... ok [INFO] [stdout] test tests::reject_data_url_in_login_flow ... ok [INFO] [stdout] test tests::reject_invalid_method ... ok [INFO] [stdout] test tests::reject_html_injection_in_description ... ok [INFO] [stdout] test tests::parse_config_valid_file ... ok [INFO] [stdout] test tests::reject_invalid_header_name ... ok [INFO] [stdout] test tests::reject_duplicate_rules ... ok [INFO] [stdout] test tests::reject_subdomain_with_slash ... ok [INFO] [stdout] test tests::reject_conflicting_rules ... ok [INFO] [stdout] test tests::allow_same_path_different_types ... ok [INFO] [stdout] test tests::parse_valid_full_config ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-engine/fc2064ee91a29dfd/out/clawsec_engine-fc2064ee91a29dfd) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test activity::tests::activity_stops_on_non_retryable_error ... ok [INFO] [stdout] test engine::tests::run_parallel_all_succeed ... ok [INFO] [stdout] test activity::tests::activity_succeeds_first_try ... ok [INFO] [stdout] test engine::tests::run_activity_failure_updates_state ... ok [INFO] [stdout] test engine::tests::fail_updates_state ... ok [INFO] [stdout] test engine::tests::run_single_activity_success ... ok [INFO] [stdout] test engine::tests::set_phase_and_complete ... ok [INFO] [stdout] test state::tests::durable_state_load_nonexistent_returns_none ... ok [INFO] [stdout] test engine::tests::run_parallel_partial_failure ... ok [INFO] [stdout] test state::tests::crash_recovery_skips_completed ... ok [INFO] [stdout] test engine::tests::sequential_activities_update_state_correctly ... ok [INFO] [stdout] test engine::tests::skip_already_completed_agent ... ok [INFO] [stdout] test state::tests::durable_state_overwrite ... ok [INFO] [stdout] test state::tests::progress_tracker_snapshot ... ok [INFO] [stdout] test engine::tests::durable_state_persisted_after_activity ... ok [INFO] [stdout] test state::tests::progress_tracker_concurrent_reads ... ok [INFO] [stdout] test state::tests::durable_state_creates_parent_dirs ... ok [INFO] [stdout] test state::tests::progress_tracker_read_write ... ok [INFO] [stdout] test state::tests::progress_tracker_save_to_durable ... ok [INFO] [stdout] test state::tests::durable_state_save_load_cycle ... ok [INFO] [stdout] test activity::tests::activity_retries_on_transient_error ... ok [INFO] [stdout] test activity::tests::activity_stops_after_max_attempts ... ok [INFO] [stdout] test engine::tests::engine_with_retry_on_transient ... ok [INFO] [stdout] test activity::tests::activity_context_has_correct_attempt_numbers ... ok [INFO] [stdout] test activity::tests::billing_error_is_retryable ... ok [INFO] [stdout] test engine::tests::progress_tracker_readable_during_execution ... ok [INFO] [stdout] test activity::tests::activity_timeout_exhausts_retries ... ok [INFO] [stdout] test activity::tests::activity_timeout_triggers_retry ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-git/d9961e13040aba05/out/clawsec_git-d9961e13040aba05) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test tests::is_git_lock_error_detection ... ok [INFO] [stdout] test tests::get_commit_hash_non_git_returns_none ... ok [INFO] [stdout] test tests::is_git_repository_false ... ok [INFO] [stdout] test tests::commit_success_non_git_skips ... ok [INFO] [stdout] test tests::rollback_non_git_skips ... ok [INFO] [stdout] test tests::create_checkpoint_non_git_skips ... ok [INFO] [stdout] test tests::is_git_repository_true ... ok [INFO] [stdout] test tests::create_checkpoint_no_changes ... ok [INFO] [stdout] test tests::create_checkpoint_in_git_repo ... ok [INFO] [stdout] test tests::rollback_restores_clean_state ... ok [INFO] [stdout] test tests::rollback_no_changes ... ok [INFO] [stdout] test tests::checkpoint_retry_rolls_back_first ... ok [INFO] [stdout] test tests::get_commit_hash_returns_hash ... ok [INFO] [stdout] test tests::concurrent_operations_via_semaphore ... ok [INFO] [stdout] test tests::commit_success_in_git_repo ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-phases/abb5d9655406535f/out/clawsec_phases-abb5d9655406535f) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test tools::tests::install_hint_unknown_tool ... ok [INFO] [stdout] test pre_recon::tests::wave1_pipeline_testing_mode ... ok [INFO] [stdout] test tools::tests::missing_tools_empty_availability ... ok [INFO] [stdout] test pre_recon::tests::wave2_pipeline_testing_mode ... ok [INFO] [stdout] test reporting::tests::extract_models_from_session_data ... ok [INFO] [stdout] test tools::tests::missing_tools_none_missing ... ok [INFO] [stdout] test pre_recon::tests::wave2_tool_unavailable ... ok [INFO] [stdout] test tools::tests::missing_tools_partial ... ok [INFO] [stdout] test tools::tests::tool_names_complete ... ok [INFO] [stdout] test tools::tests::missing_tools_all_missing ... ok [INFO] [stdout] test pre_recon::tests::execute_pre_recon_pipeline_testing ... ok [INFO] [stdout] test tools::tests::install_hints_all_tools ... ok [INFO] [stdout] test reporting::tests::inject_model_after_assessment_date ... ok [INFO] [stdout] test reporting::tests::inject_model_report_missing ... ok [INFO] [stdout] test reporting::tests::assemble_all_deliverables ... ok [INFO] [stdout] test pre_recon::tests::stitch_outputs_with_code_analysis ... ok [INFO] [stdout] test reporting::tests::assemble_some_deliverables ... ok [INFO] [stdout] test reporting::tests::inject_model_after_executive_summary ... ok [INFO] [stdout] test tools::tests::check_tool_availability_returns_all_tools ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-pipeline/d26c364d15911add/out/clawsec_pipeline-d26c364d15911add) [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test agent::tests::result_to_metrics ... ok [INFO] [stdout] test pipeline::tests::compute_summary_with_metrics ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 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/debug/build/clawsec-prompt/2262e1586942410d/out/clawsec_prompt-2262e1586942410d) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test tests::build_login_instructions_from_flow ... ok [INFO] [stdout] test tests::interpolate_with_rules ... ok [INFO] [stdout] test tests::load_prompt_not_found ... ok [INFO] [stdout] test tests::interpolate_default_mcp_server ... ok [INFO] [stdout] test tests::interpolate_replaces_core_variables ... ok [INFO] [stdout] test tests::process_includes_resolves_file ... ok [INFO] [stdout] test tests::process_includes_missing_file_errors ... ok [INFO] [stdout] test tests::extract_section_basic ... ok [INFO] [stdout] test tests::build_login_instructions_with_template ... ok [INFO] [stdout] test tests::process_includes_no_directives ... ok [INFO] [stdout] test tests::interpolate_login_instructions_without_auth ... ok [INFO] [stdout] test tests::interpolate_no_rules_replaces_block ... ok [INFO] [stdout] test tests::load_prompt_from_file ... ok [INFO] [stdout] test tests::load_prompt_testing_mode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-queue/4894355a9d513aab/out/clawsec_queue-4894355a9d513aab) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test tests::expected_paths_vuln_agent ... ok [INFO] [stdout] test tests::expected_paths_pre_recon ... ok [INFO] [stdout] test tests::neither_file_exists ... ok [INFO] [stdout] test tests::validate_report_output ... ok [INFO] [stdout] test tests::populated_vulnerabilities ... ok [INFO] [stdout] test tests::expected_paths_exploit_agent ... ok [INFO] [stdout] test tests::only_deliverable_exists ... ok [INFO] [stdout] test tests::only_queue_exists ... ok [INFO] [stdout] test tests::validate_exploit_agent_output ... ok [INFO] [stdout] test tests::missing_vulnerabilities_array ... ok [INFO] [stdout] test tests::empty_vulnerabilities_array ... ok [INFO] [stdout] test tests::invalid_json_queue ... ok [INFO] [stdout] test tests::validate_vuln_agent_output ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/clawsec-types/d79c9f60a55ed991/out/clawsec_types-d79c9f60a55ed991) [INFO] [stdout] test tests::validate_pre_recon_output ... ok [INFO] [stdout] test tests::validate_recon_output ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test config::tests::distributed_config_from_config ... ok [INFO] [stdout] test agents::tests::vuln_agents_returns_correct_set ... ok [INFO] [stdout] test agents::tests::agent_name_round_trip_string ... ok [INFO] [stdout] test config::tests::distributed_config_empty ... ok [INFO] [stdout] test agents::tests::agent_name_round_trip_json ... ok [INFO] [stdout] test config::tests::config_round_trip_yaml ... ok [INFO] [stdout] test config::tests::login_type_serialization ... ok [INFO] [stdout] test config::tests::config_deserialize_minimal ... ok [INFO] [stdout] test config::tests::success_condition_type_serialization ... ok [INFO] [stdout] test agents::tests::agent_order_has_all_agents ... ok [INFO] [stdout] test config::tests::rule_type_serialization ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 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/debug/build/clawsec-utils/f05dd3395736612d/out/clawsec_utils-f05dd3395736612d) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test tests::calculate_percentage_basic ... ok [INFO] [stdout] test tests::calculate_percentage_zero_total ... ok [INFO] [stdout] test tests::format_duration_milliseconds ... ok [INFO] [stdout] test tests::format_timestamp_epoch ... ok [INFO] [stdout] test tests::format_timestamp_known_value ... ok [INFO] [stdout] test tests::sanitize_hostname_basic ... ok [INFO] [stdout] test tests::atomic_write_creates_file ... ok [INFO] [stdout] test tests::extract_agent_type_variants ... ok [INFO] [stdout] test tests::file_exists_works ... ok [INFO] [stdout] test tests::atomic_write_no_temp_file_left ... ok [INFO] [stdout] test tests::format_duration_seconds ... ok [INFO] [stdout] test tests::ensure_directory_creates_nested ... ok [INFO] [stdout] test tests::format_duration_minutes ... ok [INFO] [stdout] test tests::atomic_write_json_round_trip ... ok [INFO] [stdout] test tests::sanitize_hostname_invalid_url ... ok [INFO] [stdout] test tests::timer_basic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests clawsec_api [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] Doc-tests clawsec_audit [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] Doc-tests clawsec_config [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] Doc-tests clawsec_engine [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] Doc-tests clawsec_git [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] Doc-tests clawsec_phases [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] Doc-tests clawsec_pipeline [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] Doc-tests clawsec_prompt [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] Doc-tests clawsec_queue [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] Doc-tests clawsec_types [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] Doc-tests clawsec_utils [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" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860", kill_on_drop: false }` [INFO] [stdout] d27bd947d4012c4824a944ca492b6792bbc3c526164648f24453b8e9df363860