[INFO] cloning repository https://github.com/Nom-nom-hub/agentml
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nom-nom-hub/agentml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNom-nom-hub%2Fagentml", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNom-nom-hub%2Fagentml'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6d21c4508c257da403d8fedf4da3864cc6393629
[INFO] testing Nom-nom-hub/agentml against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNom-nom-hub%2Fagentml" "/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/Nom-nom-hub/agentml
[INFO] finished tweaking git repo https://github.com/Nom-nom-hub/agentml
[INFO] tweaked toml for git repo https://github.com/Nom-nom-hub/agentml written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Nom-nom-hub/agentml on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Nom-nom-hub/agentml already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db
[INFO] running `Command { std: "docker" "start" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", 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" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", 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" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.46
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling autocfg v1.5.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling bitflags v2.13.0
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling anyhow v1.0.103
[INFO] [stderr]    Compiling regex-syntax v0.8.11
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling simd-adler32 v0.3.9
[INFO] [stderr]    Compiling filetime v0.2.29
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling colored v3.1.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling uuid v1.23.4
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling flate2 v1.1.9
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling xattr v1.6.1
[INFO] [stderr]    Compiling tar v0.4.46
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling clap_derive v4.6.1
[INFO] [stderr]    Compiling regex v1.12.4
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling clap v4.6.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling chrono v0.4.45
[INFO] [stderr]    Compiling agentml v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.87s
[INFO] running `Command { std: "docker" "inspect" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", 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" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling agentml v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.38s
[INFO] running `Command { std: "docker" "inspect" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", 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" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agentml-98ed0361a5003b35)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test commands::convert::tests::converted_native_stack_syntax_validates ... ok
[INFO] [stdout] test commands::convert::tests::convert_omits_empty_context_block ... ok
[INFO] [stdout] test commands::convert::tests::convert_outputs_canonical_native_stack_syntax ... ok
[INFO] [stdout] test commands::convert::tests::convert_outputs_canonical_policy_syntax ... ok
[INFO] [stdout] test commands::convert::tests::convert_merges_project_type_languages_and_frameworks ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agentml-d0ef16b11c981e19)
[INFO] [stderr]      Running tests/agents_md.rs (/opt/rustwide/target/debug/deps/agents_md-49226b70a8128412)
[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] [stdout] 
[INFO] [stdout] running 23 tests
[INFO] [stdout] test agents_md_does_not_overwrite_without_force ... ok
[INFO] [stdout] test agents_md_fails_without_agent_file ... ok
[INFO] [stdout] test agents_md_overwrites_with_force ... ok
[INFO] [stdout] test agents_md_prints_valid_markdown ... ok
[INFO] [stdout] test repo_agents_md_final_report_includes_commit ... ok
[INFO] [stdout] test doctor_passes_when_agents_md_includes_required_sections ... ok
[INFO] [stdout] test doctor_passes_with_all_required_sections ... ok
[INFO] [stdout] test repo_agents_md_includes_task_closure_rule ... ok
[INFO] [stdout] test repo_agents_md_includes_git_workflow ... ok
[INFO] [stdout] test doctor_warns_when_agents_md_lacks_git_workflow ... ok
[INFO] [stdout] test repo_agents_md_includes_update_rules ... ok
[INFO] [stdout] test doctor_warns_when_final_report_lacks_commit ... ok
[INFO] [stdout] test generated_agents_md_final_report_includes_commit ... ok
[INFO] [stdout] test doctor_warns_when_agents_md_lacks_required_sections ... ok
[INFO] [stdout] test agents_md_write_creates_file ... ok
[INFO] [stdout] test generated_agents_md_includes_agent_self_update_rule ... ok
[INFO] [stdout] test generated_agents_md_includes_documentation_sync_rule ... ok
[INFO] [stdout] test generated_agents_md_includes_final_report_format ... ok
[INFO] [stdout] test generated_agents_md_includes_forbidden_paths ... ok
[INFO] [stdout] test generated_agents_md_includes_git_workflow ... ok
[INFO] [stdout] test generated_agents_md_includes_maintenance_intelligence ... ok
[INFO] [stdout] test generated_agents_md_includes_pre_final_checklist ... ok
[INFO] [stdout] test generated_agents_md_includes_validation_commands ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/close_tests.rs (/opt/rustwide/target/debug/deps/close_tests-0fee7c4d2b2fab57)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test risk_score_100_is_blocked ... ok
[INFO] [stdout] test generated_agents_md_mentions_close ... ok
[INFO] [stdout] test risk_score_21_is_medium ... ok
[INFO] [stdout] test repo_agents_md_mentions_close ... ok
[INFO] [stdout] test risk_score_20_is_low ... ok
[INFO] [stdout] test risk_score_49_is_medium ... ok
[INFO] [stdout] test risk_score_50_is_high ... ok
[INFO] [stdout] test risk_score_79_is_high ... ok
[INFO] [stdout] test risk_score_0_is_low ... ok
[INFO] [stdout] test risk_score_80_is_critical ... ok
[INFO] [stdout] test risk_score_99_is_critical ... ok
[INFO] [stdout] test close_fail_at_risk_high ... ok
[INFO] [stdout] test close_json_has_git_status_separate_from_risk ... ok
[INFO] [stdout] test close_json_has_numeric_risk_score ... ok
[INFO] [stdout] test close_low_risk_may_report_no_material_risks ... ok
[INFO] [stdout] test close_json_outputs_valid_json ... ok
[INFO] [stdout] test close_report_git_status_separate_from_risk ... ok
[INFO] [stdout] test close_high_risk_includes_risk_note ... ok
[INFO] [stdout] test close_require_clean_fails_on_dirty_tree ... ok
[INFO] [stdout] test close_report_risk_score_is_numeric ... ok
[INFO] [stdout] test close_write_report_creates_file ... ok
[INFO] [stdout] test close_report_never_uses_clean_tree_as_risk_score ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/commands_agents_md_test.rs (/opt/rustwide/target/debug/deps/commands_agents_md_test-4be4392d58859cc9)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test agents_md_generated_with_context_stack ... ok
[INFO] [stderr]      Running tests/commands_convert_test.rs (/opt/rustwide/target/debug/deps/commands_convert_test-bafedd9cb7f12289)
[INFO] [stdout] test agents_md_generated_output_includes_stack ... 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] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stdout] test convert_yaml_to_native_omits_colon_for_arrays ... ok
[INFO] [stdout] test convert_yaml_to_native_uses_canonical_stack_syntax ... ok
[INFO] [stdout] test native_output_final_report_maps_to_internal_model ... ok
[INFO] [stdout] test converted_root_agent_validates_without_output_warning ... ok
[INFO] [stdout] test convert_preserves_output_final_report ... ok
[INFO] [stdout] test root_agent_has_output_final_report ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/commands_init_test.rs (/opt/rustwide/target/debug/deps/commands_init_test-eed0feee16572a73)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test generic_native_template_uses_canonical_stack_syntax ... ok
[INFO] [stdout] test generic_native_template_validates ... 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 tests/contract_validation.rs (/opt/rustwide/target/debug/deps/contract_validation-5f15b05c96bf377e)
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test missing_purpose_fails ... ok
[INFO] [stdout] test missing_permissions_fails ... ok
[INFO] [stdout] test context_generation_includes_permissions_and_validation ... ok
[INFO] [stdout] test missing_validation_commands_fails ... ok
[INFO] [stdout] test forbidden_path_cannot_be_writable ... ok
[INFO] [stdout] test destructive_action_without_approval_warns ... ok
[INFO] [stdout] test valid_agent_file_passes ... ok
[INFO] [stdout] test self_check_passes_on_repo ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/diff_audit.rs (/opt/rustwide/target/debug/deps/diff_audit-f75343394e4700af)
[INFO] [stdout] 
[INFO] [stdout] running 11 tests
[INFO] [stdout] test diff_counts_top_level_integration_test ... ok
[INFO] [stdout] test diff_maps_diff_command_to_diff_audit_test ... ok
[INFO] [stdout] test diff_does_not_require_wrong_conventional_name_when_explicit_mapping_exists ... ok
[INFO] [stdout] test diff_does_not_count_uncompiled_nested_test_file ... ok
[INFO] [stdout] test diff_uses_watched_path_required_tests ... ok
[INFO] [stdout] test diff_warns_for_nested_unwired_test_file ... ok
[INFO] [stdout] test diff_warns_when_required_test_file_missing ... ok
[INFO] [stdout] test test_diff_allows_normal_src_changes ... ok
[INFO] [stdout] test test_diff_raises_risk_for_validator_changes ... ok
[INFO] [stdout] test test_diff_raises_risk_when_src_changes_without_tests ... ok
[INFO] [stderr]      Running tests/doctor_checks.rs (/opt/rustwide/target/debug/deps/doctor_checks-cd0a2f8258c0f0d9)
[INFO] [stdout] test test_diff_recognizes_agent_file_changes ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test doctor_passes_in_agentml_repo ... ok
[INFO] [stdout] test doctor_detects_git_repo ... ok
[INFO] [stderr]      Running tests/dogfood_self_check.rs (/opt/rustwide/target/debug/deps/dogfood_self_check-58fa31d19f8c4726)
[INFO] [stdout] test doctor_passes_after_generic_init ... ok
[INFO] [stdout] test doctor_warns_for_missing_user_repo_files ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test self_check_docs_exist ... ok
[INFO] [stdout] test self_check_contract_is_valid ... ok
[INFO] [stdout] test self_check_skills_are_valid ... ok
[INFO] [stdout] test self_check_readme_mentions_dogfooding ... ok
[INFO] [stderr]      Running tests/examples_validation.rs (/opt/rustwide/target/debug/deps/examples_validation-2617d54ed31a6bb7)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test docs_examples_md_exists ... ok
[INFO] [stdout] test dangerous_change_demo_has_before_and_after ... ok
[INFO] [stdout] test every_example_agents_md_exists ... ok
[INFO] [stdout] test every_example_agent_file_exists ... ok
[INFO] [stdout] test every_example_readme_exists ... ok
[INFO] [stdout] test readme_links_examples ... ok
[INFO] [stdout] test each_example_agent_validates ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stderr]      Running tests/init_native.rs (/opt/rustwide/target/debug/deps/init_native-43ae7848167f1d6c)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test native_policy_uses_canonical_syntax ... ok
[INFO] [stdout] test native_context_stack_roundtrips_to_agent_context ... ok
[INFO] [stdout] test native_purpose_struct_parses ... ok
[INFO] [stdout] test native_generated_contract_has_final_report_fields ... ok
[INFO] [stdout] test native_safety_policy_parses ... ok
[INFO] [stdout] test native_generated_contract_has_forbidden_paths ... ok
[INFO] [stdout] test native_template_policy_validates ... ok
[INFO] [stdout] test init_template_generic_native_validates ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mcp_tests.rs (/opt/rustwide/target/debug/deps/mcp_tests-d946d939a8cc02af)
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test mcp_does_not_panic_on_malformed_input ... ok
[INFO] [stdout] test mcp_generate_context_write_only_writes_to_agentml ... ok
[INFO] [stdout] test mcp_get_agent_brief_includes_forbidden_paths ... ok
[INFO] [stdout] test mcp_validate_contract_returns_valid_true ... ok
[INFO] [stdout] test mcp_validate_skill_blocks_path_traversal ... ok
[INFO] [stdout] test mcp_generate_brief_write_only_writes_to_agentml ... ok
[INFO] [stdout] test risk_status_returns_correct_levels ... ok
[INFO] [stdout] test mcp_rejects_unknown_tools_cleanly ... ok
[INFO] [stdout] test mcp_get_project_contract_returns_parsed_contract ... ok
[INFO] [stdout] test mcp_audit_diff_returns_risk_score ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-670175e732f6f537)
[INFO] [stdout] 
[INFO] [stdout] running 58 tests
[INFO] [stdout] test agents_md::agents_md_fails_without_agent_file ... ok
[INFO] [stdout] test agents_md::agents_md_prints_valid_markdown ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_pre_final_checklist ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_validation_commands ... ok
[INFO] [stdout] test agents_md::agents_md_write_creates_file ... ok
[INFO] [stdout] test agents_md::repo_agents_md_includes_git_workflow ... ok
[INFO] [stdout] test agents_md::repo_agents_md_final_report_includes_commit ... ok
[INFO] [stdout] test agents_md::doctor_warns_when_agents_md_lacks_git_workflow ... ok
[INFO] [stdout] test agents_md::doctor_warns_when_final_report_lacks_commit ... ok
[INFO] [stdout] test agents_md::repo_agents_md_includes_task_closure_rule ... ok
[INFO] [stdout] test agents_md::repo_agents_md_includes_update_rules ... ok
[INFO] [stdout] test agents_md::doctor_warns_when_agents_md_lacks_required_sections ... ok
[INFO] [stdout] test agents_md::generated_agents_md_final_report_includes_commit ... ok
[INFO] [stdout] test contract_validation::destructive_action_without_approval_warns ... ok
[INFO] [stdout] test contract_validation::forbidden_path_cannot_be_writable ... ok
[INFO] [stdout] test contract_validation::missing_purpose_fails ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_agent_self_update_rule ... ok
[INFO] [stdout] test contract_validation::missing_validation_commands_fails ... ok
[INFO] [stdout] test agents_md::agents_md_does_not_overwrite_without_force ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_final_report_format ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_documentation_sync_rule ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_git_workflow ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_maintenance_intelligence ... ok
[INFO] [stdout] test contract_validation::valid_agent_file_passes ... ok
[INFO] [stdout] test diff_audit::diff_counts_top_level_integration_test ... ok
[INFO] [stdout] test diff_audit::diff_does_not_count_uncompiled_nested_test_file ... ok
[INFO] [stdout] test agents_md::generated_agents_md_includes_forbidden_paths ... ok
[INFO] [stdout] test agents_md::agents_md_overwrites_with_force ... ok
[INFO] [stdout] test diff_audit::diff_maps_diff_command_to_diff_audit_test ... ok
[INFO] [stdout] test agents_md::doctor_passes_when_agents_md_includes_required_sections ... ok
[INFO] [stdout] test diff_audit::diff_does_not_require_wrong_conventional_name_when_explicit_mapping_exists ... ok
[INFO] [stdout] test diff_audit::diff_uses_watched_path_required_tests ... ok
[INFO] [stdout] test diff_audit::diff_warns_for_nested_unwired_test_file ... ok
[INFO] [stdout] test diff_audit::diff_warns_when_required_test_file_missing ... ok
[INFO] [stdout] test agents_md::doctor_passes_with_all_required_sections ... ok
[INFO] [stdout] test diff_audit::test_diff_raises_risk_for_validator_changes ... ok
[INFO] [stdout] test contract_validation::missing_permissions_fails ... ok
[INFO] [stdout] test diff_audit::test_diff_raises_risk_when_src_changes_without_tests ... ok
[INFO] [stdout] test diff_audit::test_diff_allows_normal_src_changes ... ok
[INFO] [stdout] test diff_audit::test_diff_recognizes_agent_file_changes ... ok
[INFO] [stdout] test contract_validation::context_generation_includes_permissions_and_validation ... ok
[INFO] [stdout] test dogfood_self_check::self_check_docs_exist ... ok
[INFO] [stdout] test dogfood_self_check::self_check_readme_mentions_dogfooding ... ok
[INFO] [stdout] test doctor_checks::doctor_warns_for_missing_user_repo_files ... ok
[INFO] [stdout] test doctor_checks::doctor_detects_git_repo ... ok
[INFO] [stdout] test examples_validation::dangerous_change_demo_has_before_and_after ... ok
[INFO] [stdout] test examples_validation::docs_examples_md_exists ... ok
[INFO] [stdout] test examples_validation::every_example_agent_file_exists ... ok
[INFO] [stdout] test examples_validation::every_example_agents_md_exists ... ok
[INFO] [stdout] test contract_validation::self_check_passes_on_repo ... ok
[INFO] [stdout] test examples_validation::every_example_readme_exists ... ok
[INFO] [stdout] test doctor_checks::doctor_passes_in_agentml_repo ... ok
[INFO] [stdout] test examples_validation::readme_links_examples ... ok
[INFO] [stdout] test examples_validation::each_example_agent_validates ... ok
[INFO] [stdout] test dogfood_self_check::self_check_contract_is_valid ... ok
[INFO] [stdout] test dogfood_self_check::self_check_skills_are_valid ... ok
[INFO] [stdout] test skill_validation::every_skill_file_validates ... ok
[INFO] [stdout] test doctor_checks::doctor_passes_after_generic_init ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 58 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/native_syntax.rs (/opt/rustwide/target/debug/deps/native_syntax-9344eed6e75888f7)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test native_detection_works ... ok
[INFO] [stdout] test native_skill_parses_correctly ... ok
[INFO] [stdout] test native_agent_parses_correctly ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/skill_validation.rs (/opt/rustwide/target/debug/deps/skill_validation-e98c0cb0a7b79d5f)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test every_skill_file_validates ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/syntax_ast_test.rs (/opt/rustwide/target/debug/deps/syntax_ast_test-4f31baaba3b3cb1a)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test agent_ast_default_fields ... ok
[INFO] [stdout] test context_ast_default_stack_is_empty ... 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]      Running tests/syntax_convert_test.rs (/opt/rustwide/target/debug/deps/syntax_convert_test-7ed0ed5bf3dc36fe)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test ast_converts_stack_to_agent_context ... ok
[INFO] [stdout] test ast_round_trips_empty_context ... 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]      Running tests/syntax_parser_test.rs (/opt/rustwide/target/debug/deps/syntax_parser_test-bd8b1ce79b25af5b)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test parse_agent_with_colon_style_stack ... ok
[INFO] [stdout] test parse_agent_with_stack ... ok
[INFO] [stdout] test parse_agent_without_context ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/types_test.rs (/opt/rustwide/target/debug/deps/types_test-f45849cc1642b876)
[INFO] [stderr]    Doc-tests agentml
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test agent_context_stack_items_falls_back_to_legacy_fields ... ok
[INFO] [stdout] test agent_context_stack_items_returns_explicit_stack ... 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] [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" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db", kill_on_drop: false }`
[INFO] [stdout] 30f723dc7b350d622ec580ced96811611544ea0a4c8b13cf2e50bdb0c2ed87db
