[INFO] cloning repository https://github.com/JSLEEKR/claw-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JSLEEKR/claw-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJSLEEKR%2Fclaw-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJSLEEKR%2Fclaw-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2979b742a79bb881b22da28c4f38ce13f467c68 [INFO] testing JSLEEKR/claw-rs against 1.98.0-beta.8+cargoflags=--release for beta-release-1.99-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJSLEEKR%2Fclaw-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JSLEEKR/claw-rs [INFO] finished tweaking git repo https://github.com/JSLEEKR/claw-rs [INFO] tweaked toml for git repo https://github.com/JSLEEKR/claw-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JSLEEKR/claw-rs on toolchain 1.98.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JSLEEKR/claw-rs 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.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.116 [INFO] [stderr] Downloaded wasm-bindgen v0.2.116 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.116 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.66 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded tokio-macros v2.6.1 [INFO] [stderr] Downloaded dirs-sys v0.5.0 [INFO] [stderr] Downloaded dirs v6.0.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.116 [INFO] [stderr] Downloaded redox_users v0.5.2 [INFO] [stderr] Downloaded wasm-streams v0.4.2 [INFO] [stderr] Downloaded clap_derive v4.6.0 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded futures v0.3.32 [INFO] [stderr] Downloaded clap v4.6.0 [INFO] [stderr] Downloaded socket2 v0.6.3 [INFO] [stderr] Downloaded openssl-sys v0.9.112 [INFO] [stderr] Downloaded cc v1.2.58 [INFO] [stderr] Downloaded rustls-webpki v0.103.10 [INFO] [stderr] Downloaded js-sys v0.3.93 [INFO] [stderr] Downloaded mio v1.2.0 [INFO] [stderr] Downloaded hyper v1.9.0 [INFO] [stderr] Downloaded iri-string v0.7.12 [INFO] [stderr] Downloaded chrono v0.4.44 [INFO] [stderr] Downloaded openssl v0.10.76 [INFO] [stderr] Downloaded rustls v0.23.37 [INFO] [stderr] Downloaded web-sys v0.3.93 [INFO] [stderr] Downloaded libc v0.2.183 [INFO] [stderr] Downloaded tokio v1.50.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4 [INFO] running `Command { std: "docker" "start" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", 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" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", 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" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling cc v1.2.58 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling openssl-probe v0.2.1 [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 ipnet v2.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling glob v0.3.3 [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 claw-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 3m 48s [INFO] running `Command { std: "docker" "inspect" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", 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" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [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 claw-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", 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" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.8" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/claw_rs-209aff149acdc512) [INFO] [stdout] [INFO] [stdout] running 329 tests [INFO] [stdout] test agent::tests::test_default_system_prompt ... ok [INFO] [stdout] test agent::tests::test_turn_result ... ok [INFO] [stdout] test agent::tests::test_tool_call ... ok [INFO] [stdout] test agent::tests::test_turn_stop_reasons ... ok [INFO] [stdout] test bootstrap::tests::test_bootstrap_full ... ok [INFO] [stdout] test bootstrap::tests::test_bootstrap_phases ... ok [INFO] [stdout] test bootstrap::tests::test_generate_system_prompt_no_workspace ... ok [INFO] [stdout] test bootstrap::tests::test_detect_platform ... ok [INFO] [stdout] test bootstrap::tests::test_generate_system_prompt_ci ... ok [INFO] [stdout] test bootstrap::tests::test_generate_system_prompt_with_workspace ... ok [INFO] [stdout] test bootstrap::tests::test_scan_project_finds_cargo ... ok [INFO] [stdout] test bootstrap::tests::test_scan_project_not_found ... ok [INFO] [stdout] test commands::tests::test_alias_usage_command ... ok [INFO] [stdout] test bootstrap::tests::test_platform_os_known ... ok [INFO] [stdout] test commands::tests::test_case_insensitive_lookup ... ok [INFO] [stdout] test commands::tests::test_command_debug ... ok [INFO] [stdout] test bootstrap::tests::test_scan_project_walks_up ... ok [INFO] [stdout] test commands::tests::test_config_command ... ok [INFO] [stdout] test commands::tests::test_command_names ... ok [INFO] [stdout] test commands::tests::test_compact_command ... ok [INFO] [stdout] test commands::tests::test_compact_default ... ok [INFO] [stdout] test commands::tests::test_cost_command ... ok [INFO] [stdout] test commands::tests::test_export_empty_history ... ok [INFO] [stdout] test commands::tests::test_export_command ... ok [INFO] [stdout] test commands::tests::test_history_command ... ok [INFO] [stdout] test commands::tests::test_help_command ... ok [INFO] [stdout] test commands::tests::test_history_empty ... ok [INFO] [stdout] test commands::tests::test_lookup_by_alias ... ok [INFO] [stdout] test commands::tests::test_lookup_by_name ... ok [INFO] [stdout] test commands::tests::test_model_command_change ... ok [INFO] [stdout] test commands::tests::test_parse_command_with_multiple_args ... ok [INFO] [stdout] test commands::tests::test_model_command_show ... ok [INFO] [stdout] test commands::tests::test_parse_not_a_command ... ok [INFO] [stdout] test commands::tests::test_parse_simple_command ... ok [INFO] [stdout] test commands::tests::test_quit_command ... ok [INFO] [stdout] test commands::tests::test_permissions_command ... ok [INFO] [stdout] test commands::tests::test_register_uppercase_name_lookup ... ok [INFO] [stdout] test commands::tests::test_parse_command_with_args ... ok [INFO] [stdout] test commands::tests::test_resume_with_id ... ok [INFO] [stdout] test commands::tests::test_registry_with_defaults ... ok [INFO] [stdout] test commands::tests::test_resume_no_args ... ok [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stdout] test config::tests::test_default_permission_lists ... ok [INFO] [stdout] test config::tests::test_llm_config_defaults ... ok [INFO] [stdout] test config::tests::test_load_nonexistent_file ... ok [INFO] [stdout] test config::tests::test_session_config_default_dir ... ok [INFO] [stdout] test config::tests::test_validate_missing_api_key ... ok [INFO] [stdout] test config::tests::test_validate_with_api_key ... ok [INFO] [stdout] test commands::tests::test_status_command ... ok [INFO] [stdout] test commands::tests::test_version_command ... ok [INFO] [stdout] test config::tests::test_yaml_roundtrip ... ok [INFO] [stdout] test context::tests::test_detect_java_project ... ok [INFO] [stdout] test context::tests::test_count_source_files_skips_hidden ... ok [INFO] [stdout] test context::tests::test_count_source_files ... ok [INFO] [stdout] test context::tests::test_detect_python_requirements ... ok [INFO] [stdout] test context::tests::test_detect_python_project ... ok [INFO] [stdout] test context::tests::test_detect_typescript_project ... ok [INFO] [stdout] test context::tests::test_detect_unknown_project ... ok [INFO] [stdout] test context::tests::test_detect_js_project ... ok [INFO] [stdout] test context::tests::test_detect_go_project ... ok [INFO] [stdout] test context::tests::test_find_claude_dir ... ok [INFO] [stdout] test context::tests::test_find_claude_md ... ok [INFO] [stdout] test context::tests::test_discover_full_context ... ok [INFO] [stdout] test context::tests::test_find_source_root_rust ... ok [INFO] [stdout] test context::tests::test_find_test_root_rust ... ok [INFO] [stdout] test context::tests::test_detect_rust_project ... ok [INFO] [stdout] test context::tests::test_git_info_remote_url ... ok [INFO] [stdout] test context::tests::test_git_info_no_repo ... ok [INFO] [stdout] test context::tests::test_git_info_with_repo ... ok [INFO] [stdout] test context::tests::test_git_info_detached_head ... ok [INFO] [stdout] test context::tests::test_git_info_worktree_file ... ok [INFO] [stdout] test context::tests::test_project_type_name ... ok [INFO] [stdout] test context::tests::test_project_type_extension ... ok [INFO] [stdout] test context::tests::test_workspace_summary ... ok [INFO] [stdout] test llm::client::tests::test_chat_request_serialization ... ok [INFO] [stdout] test agent::tests::test_set_callbacks ... ok [INFO] [stdout] test llm::client::tests::test_build_request_system_override ... ok [INFO] [stdout] test llm::streaming::tests::test_content_block_start_tool_use ... ok [INFO] [stdout] test agent::tests::test_agent_clear ... ok [INFO] [stdout] test llm::streaming::tests::test_empty_feed ... ok [INFO] [stdout] test llm::streaming::tests::test_crlf_line_endings ... ok [INFO] [stdout] test llm::streaming::tests::test_crlf_partial_chunks ... ok [INFO] [stdout] test llm::streaming::tests::test_message_delta_with_stop_reason ... ok [INFO] [stdout] test agent::tests::test_agent_creation ... ok [INFO] [stdout] test llm::client::tests::test_build_request_with_tools ... ok [INFO] [stdout] test llm::client::tests::test_client_creation ... ok [INFO] [stdout] test llm::streaming::tests::test_input_json_delta ... ok [INFO] [stdout] test llm::streaming::tests::test_mixed_line_endings ... ok [INFO] [stdout] test llm::streaming::tests::test_parse_message_start ... ok [INFO] [stdout] test llm::streaming::tests::test_parse_message_stop ... ok [INFO] [stdout] test agent::tests::test_agent_compact ... ok [INFO] [stdout] test llm::streaming::tests::test_multiple_events ... ok [INFO] [stdout] test llm::streaming::tests::test_parse_ping ... ok [INFO] [stdout] test llm::streaming::tests::test_parse_text_delta ... ok [INFO] [stdout] test llm::streaming::tests::test_partial_chunks ... ok [INFO] [stdout] test llm::types::tests::test_content_block_estimate_tokens ... ok [INFO] [stdout] test llm::types::tests::test_content_block_text ... ok [INFO] [stdout] test llm::types::tests::test_content_block_tool_result ... ok [INFO] [stdout] test llm::types::tests::test_content_block_tool_use ... ok [INFO] [stdout] test llm::types::tests::test_estimate_token_count_multibyte ... ok [INFO] [stdout] test llm::types::tests::test_message_assistant ... ok [INFO] [stdout] test llm::types::tests::test_estimate_token_count ... ok [INFO] [stdout] test llm::types::tests::test_message_estimate_tokens ... ok [INFO] [stdout] test llm::types::tests::test_message_tool_results ... ok [INFO] [stdout] test llm::types::tests::test_message_user ... ok [INFO] [stdout] test llm::types::tests::test_message_with_tool_use ... ok [INFO] [stdout] test llm::types::tests::test_stop_reason_serde ... ok [INFO] [stdout] test llm::types::tests::test_content_block_serde ... ok [INFO] [stdout] test llm::types::tests::test_tool_definition_serde ... ok [INFO] [stdout] test permissions::tests::test_allow_all ... ok [INFO] [stdout] test llm::types::tests::test_usage ... ok [INFO] [stdout] test permissions::tests::test_allow_list ... ok [INFO] [stdout] test permissions::tests::test_allow_tool_dynamic ... ok [INFO] [stdout] test permissions::tests::test_auto_approve ... ok [INFO] [stdout] test permissions::tests::test_case_insensitive_tool_names ... ok [INFO] [stdout] test permissions::tests::test_default_permissions ... ok [INFO] [stdout] test permissions::tests::test_check_bash_combined ... ok [INFO] [stdout] test permissions::tests::test_deny_list ... ok [INFO] [stdout] test llm::client::tests::test_build_request_no_stream ... ok [INFO] [stdout] test permissions::tests::test_deny_overrides_allow ... ok [INFO] [stdout] test permissions::tests::test_deny_tool_dynamic ... ok [INFO] [stdout] test permissions::tests::test_destructive_auto_approve ... ok [INFO] [stdout] test permissions::tests::test_destructive_base64_evasion_detected ... ok [INFO] [stdout] test permissions::tests::test_destructive_command_detection ... ok [INFO] [stdout] test permissions::tests::test_destructive_delete_from_detected ... ok [INFO] [stdout] test permissions::tests::test_destructive_windows_del_detected ... ok [INFO] [stdout] test permissions::tests::test_destructive_eval_detected ... ok [INFO] [stdout] test permissions::tests::test_destructive_extra_whitespace_normalized ... ok [INFO] [stdout] test permissions::tests::test_destructive_fork_bomb_detected ... ok [INFO] [stdout] test llm::types::tests::test_role_serde ... ok [INFO] [stdout] test permissions::tests::test_destructive_windows_rmdir_detected ... ok [INFO] [stdout] test permissions::tests::test_set_auto_approve ... ok [INFO] [stdout] test session::tests::test_add_message ... ok [INFO] [stdout] test permissions::tests::test_destructive_pipe_to_shell_detected ... ok [INFO] [stdout] test session::tests::test_clear ... ok [INFO] [stdout] test permissions::tests::test_safe_command ... ok [INFO] [stdout] test session::tests::test_compact ... ok [INFO] [stdout] test session::tests::test_compact_no_op ... ok [INFO] [stdout] test session::tests::test_session_creation ... ok [INFO] [stdout] test session::tests::test_session_path_traversal_sanitized ... ok [INFO] [stdout] test session::tests::test_session_id_length_limited ... ok [INFO] [stdout] test session::tests::test_session_serialization ... ok [INFO] [stdout] test session::tests::test_session_store_not_found ... ok [INFO] [stdout] test session::tests::test_session_with_id ... ok [INFO] [stdout] test session::tests::test_update_usage ... ok [INFO] [stdout] test streaming::tests::test_color_constants ... ok [INFO] [stdout] test streaming::tests::test_event_types ... ok [INFO] [stdout] test streaming::tests::test_renderer_message_delta ... ok [INFO] [stdout] test streaming::tests::test_renderer_command_match_no_args ... ok [INFO] [stdout] test streaming::tests::test_renderer_command_match_with_args ... ok [INFO] [stdout] test session::tests::test_session_store_delete ... ok [INFO] [stdout] test streaming::tests::test_renderer_message_stop ... ok [INFO] [stdout] test streaming::tests::test_renderer_tool_match ... ok [INFO] [stdout] test streaming::tests::test_renderer_permission_denial ... ok [INFO] [stdout] test streaming::tests::test_renderer_no_color ... ok [INFO] [stdout] test session::tests::test_session_store_save_load ... ok [INFO] [stdout] test streaming::tests::test_renderer_uses_colors ... ok [INFO] [stdout] test tools::ask_user::tests::test_execute_with_custom_callback ... ok [INFO] [stdout] test streaming::tests::test_streaming_event_serde ... ok [INFO] [stdout] test streaming::tests::test_renderer_with_color ... ok [INFO] [stdout] test tools::ask_user::tests::test_execute_no_response ... ok [INFO] [stdout] test tools::ask_user::tests::test_permission_level ... ok [INFO] [stdout] test tools::ask_user::tests::test_execute_with_fixed_response ... ok [INFO] [stdout] test tools::ask_user::tests::test_tool_description ... ok [INFO] [stdout] test tools::ask_user::tests::test_missing_question ... ok [INFO] [stdout] test tools::ask_user::tests::test_tool_name ... ok [INFO] [stdout] test tools::bash::tests::test_bash_schema ... ok [INFO] [stdout] test tools::ask_user::tests::test_tool_schema ... ok [INFO] [stdout] test tools::bash::tests::test_custom_timeout ... ok [INFO] [stdout] test tools::bash::tests::test_execute_missing_command ... ok [INFO] [stdout] test tools::bash::tests::test_is_destructive ... ok [INFO] [stdout] test tools::bash::tests::test_is_destructive_eval_wrapper ... ok [INFO] [stdout] test tools::bash::tests::test_is_destructive_extra_whitespace ... ok [INFO] [stdout] test tools::bash::tests::test_is_destructive_find_delete ... ok [INFO] [stdout] test tools::bash::tests::test_is_destructive_pipe_to_shell ... ok [INFO] [stdout] test tools::bash::tests::test_bash_tool_properties ... ok [INFO] [stdout] test session::tests::test_session_store_delete_nonexistent ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_ambiguous ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_identical_strings ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_empty_old ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_multiline ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_not_found ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_replace_all ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_simple ... ok [INFO] [stdout] test session::tests::test_session_store_list ... ok [INFO] [stdout] test tools::edit::tests::test_edit_schema ... ok [INFO] [stdout] test tools::edit::tests::test_edit_tool_properties ... ok [INFO] [stdout] test tools::edit::tests::test_apply_edit_preserves_indentation ... ok [INFO] [stdout] test tools::bash::tests::test_execute_failing_command ... ok [INFO] [stdout] test tools::bash::tests::test_execute_simple_command ... ok [INFO] [stdout] test tools::edit::tests::test_execute_edit_nonexistent ... ok [INFO] [stdout] test tools::glob_tool::tests::test_execute_glob ... ok [INFO] [stdout] test tools::glob_tool::tests::test_find_matches_invalid_pattern ... ok [INFO] [stdout] test tools::glob_tool::tests::test_execute_glob_no_matches ... ok [INFO] [stdout] test tools::glob_tool::tests::test_glob_schema ... ok [INFO] [stdout] test tools::glob_tool::tests::test_glob_tool_properties ... ok [INFO] [stdout] test tools::glob_tool::tests::test_find_matches_no_results ... ok [INFO] [stdout] test tools::glob_tool::tests::test_find_matches_in_tempdir ... ok [INFO] [stdout] test tools::edit::tests::test_execute_edit_file ... ok [INFO] [stdout] test tools::bash::tests::test_execute_with_timeout ... ok [INFO] [stdout] test tools::glob_tool::tests::test_find_matches_nested ... ok [INFO] [stdout] test tools::bash::tests::test_execute_captures_stderr ... ok [INFO] [stdout] test tools::grep::tests::test_execute_grep_no_matches ... ok [INFO] [stdout] test tools::grep::tests::test_grep_tool_properties ... ok [INFO] [stdout] test tools::grep::tests::test_execute_invalid_regex ... ok [INFO] [stdout] test tools::grep::tests::test_grep_schema ... ok [INFO] [stdout] test tools::grep::tests::test_is_likely_binary ... ok [INFO] [stdout] test tools::grep::tests::test_search_file_no_matches ... ok [INFO] [stdout] test tools::grep::tests::test_search_max_results ... ok [INFO] [stdout] test tools::notebook::tests::test_format_notebook ... ok [INFO] [stdout] test tools::grep::tests::test_execute_grep ... ok [INFO] [stdout] test tools::grep::tests::test_search_file ... ok [INFO] [stdout] test tools::grep::tests::test_search_dir ... ok [INFO] [stdout] test tools::grep::tests::test_search_dir_with_glob ... ok [INFO] [stdout] test tools::grep::tests::test_walk_dir_skips_hidden ... ok [INFO] [stdout] test tools::notebook::tests::test_format_notebook_code_output ... ok [INFO] [stdout] test tools::notebook::tests::test_format_notebook_invalid_json ... ok [INFO] [stdout] test tools::notebook::tests::test_max_file_bytes_constant ... ok [INFO] [stdout] test tools::notebook::tests::test_missing_file_path ... ok [INFO] [stdout] test tools::notebook::tests::test_permission_level ... ok [INFO] [stdout] test tools::notebook::tests::test_nonexistent_file ... ok [INFO] [stdout] test tools::notebook::tests::test_tool_name ... ok [INFO] [stdout] test tools::notebook::tests::test_format_notebook_error_output ... ok [INFO] [stdout] test tools::notebook::tests::test_format_notebook_markdown_cell ... ok [INFO] [stdout] test tools::notebook::tests::test_strip_ansi ... ok [INFO] [stdout] test tools::notebook::tests::test_tool_schema ... ok [INFO] [stdout] test tools::read::tests::test_execute_nonexistent_file ... ok [INFO] [stdout] test tools::notebook::tests::test_read_notebook_file ... ok [INFO] [stdout] test tools::notebook::tests::test_wrong_extension ... ok [INFO] [stdout] test tools::read::tests::test_execute_path_traversal_blocked ... ok [INFO] [stdout] test tools::read::tests::test_execute_sensitive_path_blocked ... ok [INFO] [stdout] test tools::read::tests::test_format_with_offset_and_limit ... ok [INFO] [stdout] test tools::read::tests::test_format_offset_past_end ... ok [INFO] [stdout] test tools::read::tests::test_format_empty_content ... ok [INFO] [stdout] test tools::read::tests::test_format_with_limit ... ok [INFO] [stdout] test tools::bash::tests::test_truncation_utf8_boundary_safety ... ok [INFO] [stdout] test tools::read::tests::test_format_with_line_numbers ... ok [INFO] [stdout] test tools::read::tests::test_format_with_offset ... ok [INFO] [stdout] test tools::read::tests::test_read_schema ... ok [INFO] [stdout] test tools::read::tests::test_resolve_path_relative ... ok [INFO] [stdout] test tools::tests::test_permission_level_variants ... ok [INFO] [stdout] test tools::read::tests::test_read_tool_properties ... ok [INFO] [stdout] test tools::read::tests::test_resolve_path_absolute ... ok [INFO] [stdout] test tools::read::tests::test_execute_real_file ... ok [INFO] [stdout] test tools::tests::test_registry_definitions ... ok [INFO] [stdout] test tools::tests::test_registry_empty ... ok [INFO] [stdout] test tools::tests::test_registry_with_defaults ... ok [INFO] [stdout] test tools::tests::test_registry_not_found ... ok [INFO] [stdout] test tools::tests::test_tool_context_default ... ok [INFO] [stdout] test tools::tests::test_registry_names ... ok [INFO] [stdout] test tools::tests::test_tool_result_error ... ok [INFO] [stdout] test tools::tests::test_validate_path_safety_normal ... ok [INFO] [stdout] test tools::tests::test_validate_path_safety_sensitive_unix ... ok [INFO] [stdout] test tools::tests::test_validate_path_safety_null_byte ... ok [INFO] [stdout] test tools::tests::test_validate_path_safety_windows_sensitive ... ok [INFO] [stdout] test tools::tests::test_validate_path_safety_traversal ... ok [INFO] [stdout] test tools::web_fetch::tests::test_invalid_url ... ok [INFO] [stdout] test tools::web_fetch::tests::test_permission_level ... ok [INFO] [stdout] test tools::web_fetch::tests::test_missing_url ... ok [INFO] [stdout] test tools::web_fetch::tests::test_ssrf_localhost ... ok [INFO] [stdout] test tools::web_fetch::tests::test_ssrf_ipv6_loopback ... ok [INFO] [stdout] test tools::web_fetch::tests::test_ssrf_metadata_endpoint ... ok [INFO] [stdout] test tools::web_fetch::tests::test_ssrf_loopback ... ok [INFO] [stdout] test tools::tests::test_tool_result_success ... ok [INFO] [stdout] test tools::web_fetch::tests::test_ssrf_private_ip ... ok [INFO] [stdout] test tools::web_fetch::tests::test_ssrf_zero_ip ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_apos_entity ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_empty ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_basic ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_entities ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_plain_text ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_script ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_whitespace_collapse ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_style ... ok [INFO] [stdout] test tools::web_fetch::tests::test_tool_schema ... ok [INFO] [stdout] test tools::web_search::tests::test_format_results ... ok [INFO] [stdout] test tools::web_search::tests::test_max_body_bytes_constant ... ok [INFO] [stdout] test tools::web_search::tests::test_parse_ddg_results_empty ... ok [INFO] [stdout] test tools::web_search::tests::test_percent_decode ... ok [INFO] [stdout] test tools::web_search::tests::test_missing_query ... ok [INFO] [stdout] test tools::web_search::tests::test_parse_ddg_results_with_content ... ok [INFO] [stdout] test tools::web_search::tests::test_format_results_empty ... ok [INFO] [stdout] test tools::web_search::tests::test_permission_level ... ok [INFO] [stdout] test tools::web_search::tests::test_percent_decode_utf8 ... ok [INFO] [stdout] test tools::web_search::tests::test_percent_decode_invalid_utf8_no_panic ... ok [INFO] [stdout] test tools::web_search::tests::test_percent_decode_mixed_utf8 ... ok [INFO] [stdout] test tools::web_search::tests::test_tool_schema ... ok [INFO] [stdout] test tools::web_search::tests::test_strip_tags ... ok [INFO] [stdout] test tools::write::tests::test_write_schema ... ok [INFO] [stdout] test tools::write::tests::test_write_tool_properties ... ok [INFO] [stdout] test transcript::tests::test_append_marks_dirty ... ok [INFO] [stdout] test tools::web_fetch::tests::test_tool_name ... ok [INFO] [stdout] test tools::web_search::tests::test_tool_name ... ok [INFO] [stdout] test transcript::tests::test_append_tool ... ok [INFO] [stdout] test tools::write::tests::test_write_missing_params ... ok [INFO] [stdout] test transcript::tests::test_clear ... ok [INFO] [stdout] test tools::web_fetch::tests::test_strip_html_utf8_truncation ... ok [INFO] [stdout] test transcript::tests::test_append_user_and_assistant ... ok [INFO] [stdout] test transcript::tests::test_compact ... ok [INFO] [stdout] test tools::write::tests::test_write_new_file ... ok [INFO] [stdout] test transcript::tests::test_compact_adjusts_flush_index ... ok [INFO] [stdout] test transcript::tests::test_compact_no_op ... ok [INFO] [stdout] test transcript::tests::test_entry_timestamp ... ok [INFO] [stdout] test tools::write::tests::test_write_existing_file ... ok [INFO] [stdout] test transcript::tests::test_estimate_tokens ... ok [INFO] [stdout] test transcript::tests::test_flush_and_unflushed ... ok [INFO] [stdout] test transcript::tests::test_new_transcript_empty ... ok [INFO] [stdout] test transcript::tests::test_total_token_estimate ... ok [INFO] [stdout] test usage::tests::test_calculate_cost_opus ... ok [INFO] [stdout] test transcript::tests::test_replay ... ok [INFO] [stdout] test usage::tests::test_calculate_cost_with_cache ... ok [INFO] [stdout] test usage::tests::test_calculate_cost_haiku ... ok [INFO] [stdout] test usage::tests::test_format_cost_medium ... ok [INFO] [stdout] test usage::tests::test_format_cost_small ... ok [INFO] [stdout] test usage::tests::test_format_cost_negative_zero ... ok [INFO] [stdout] test usage::tests::test_token_usage_add ... ok [INFO] [stdout] test usage::tests::test_format_cost_zero ... ok [INFO] [stdout] test usage::tests::test_calculate_cost_sonnet ... ok [INFO] [stdout] test usage::tests::test_format_cost_large ... ok [INFO] [stdout] test usage::tests::test_token_usage_total ... ok [INFO] [stdout] test usage::tests::test_token_usage_total_with_cache ... ok [INFO] [stdout] test usage::tests::test_tracker_cost_formatted ... ok [INFO] [stdout] test usage::tests::test_tracker_multiple_turns ... ok [INFO] [stdout] test tools::write::tests::test_write_creates_parent_dirs ... ok [INFO] [stdout] test usage::tests::test_tracker_new ... ok [INFO] [stdout] test usage::tests::test_tracker_set_model ... ok [INFO] [stdout] test usage::tests::test_tracker_summary ... ok [INFO] [stdout] test usage::tests::test_tracker_record_turn ... ok [INFO] [stdout] test usage::tests::test_zero_usage ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 329 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/claw_rs-0019a2ca78a1a691) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test tests::test_cli_parse_auto_approve ... ok [INFO] [stdout] test tests::test_cli_parse_max_turns ... ok [INFO] [stdout] test tests::test_cli_parse_model ... ok [INFO] [stdout] test tests::test_cli_parse_default ... ok [INFO] [stdout] test tests::test_cli_parse_with_prompt ... ok [INFO] [stdout] test tests::test_handle_slash_cost ... ok [INFO] [stdout] test tests::test_handle_unknown_command ... ok [INFO] [stdout] test tests::test_handle_slash_tools ... ok [INFO] [stdout] test tests::test_handle_slash_help ... ok [INFO] [stdout] test tests::test_handle_slash_clear ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Doc-tests claw_rs [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" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4", kill_on_drop: false }` [INFO] [stdout] 9f4697217419d4a54472f8e438dccd93e9c1b206fa29d3842e7609e1990be8c4