[INFO] fetching crate jamjet-policy 0.3.1... [INFO] testing jamjet-policy-0.3.1 against 1.95.0 for beta-1.96-1 [INFO] extracting crate jamjet-policy 0.3.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate jamjet-policy 0.3.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jamjet-policy 0.3.1 [INFO] tweaked toml for crates.io crate jamjet-policy 0.3.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jamjet-policy 0.3.1 on toolchain 1.95.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jamjet-policy 0.3.1 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jamjet-ir v0.3.1 [INFO] [stderr] Downloaded libredox v0.1.15 [INFO] [stderr] Downloaded redox_syscall v0.7.3 [INFO] [stderr] Downloaded jamjet-agents v0.3.1 [INFO] [stderr] Downloaded iri-string v0.7.11 [INFO] [stderr] Downloaded jamjet-core v0.3.1 [INFO] [stderr] Downloaded jamjet-state v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2caea9e7cb9b37b09b49881c665f08eb52d4bde02839ff10a9b70e91adec083e [INFO] running `Command { std: "docker" "start" "-a" "2caea9e7cb9b37b09b49881c665f08eb52d4bde02839ff10a9b70e91adec083e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2caea9e7cb9b37b09b49881c665f08eb52d4bde02839ff10a9b70e91adec083e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2caea9e7cb9b37b09b49881c665f08eb52d4bde02839ff10a9b70e91adec083e", kill_on_drop: false }` [INFO] [stdout] 2caea9e7cb9b37b09b49881c665f08eb52d4bde02839ff10a9b70e91adec083e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edb19bd2f17f9eda46260a086789c373efa06b11425b2cce9ddc4281ecad3479 [INFO] running `Command { std: "docker" "start" "-a" "edb19bd2f17f9eda46260a086789c373efa06b11425b2cce9ddc4281ecad3479", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling zerocopy v0.8.47 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling iri-string v0.7.11 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-webpki v0.103.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 tracing-attributes v0.1.31 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [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 icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling jamjet-core v0.3.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling jamjet-ir v0.3.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling jamjet-state v0.3.1 [INFO] [stderr] Compiling jamjet-agents v0.3.1 [INFO] [stderr] Compiling jamjet-policy v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "edb19bd2f17f9eda46260a086789c373efa06b11425b2cce9ddc4281ecad3479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb19bd2f17f9eda46260a086789c373efa06b11425b2cce9ddc4281ecad3479", kill_on_drop: false }` [INFO] [stdout] edb19bd2f17f9eda46260a086789c373efa06b11425b2cce9ddc4281ecad3479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dfc7c0eb16442ca9d5e7433b28718a732fc8ade5601aecc5c7c01eb6ffd1e24 [INFO] running `Command { std: "docker" "start" "-a" "2dfc7c0eb16442ca9d5e7433b28718a732fc8ade5601aecc5c7c01eb6ffd1e24", kill_on_drop: false }` [INFO] [stderr] Compiling jamjet-policy v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.27s [INFO] running `Command { std: "docker" "inspect" "2dfc7c0eb16442ca9d5e7433b28718a732fc8ade5601aecc5c7c01eb6ffd1e24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dfc7c0eb16442ca9d5e7433b28718a732fc8ade5601aecc5c7c01eb6ffd1e24", kill_on_drop: false }` [INFO] [stdout] 2dfc7c0eb16442ca9d5e7433b28718a732fc8ade5601aecc5c7c01eb6ffd1e24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b8bb61dfc3a893f3e138ddea84526f3741e2a5521070ec099b7e310057900de [INFO] running `Command { std: "docker" "start" "-a" "8b8bb61dfc3a893f3e138ddea84526f3741e2a5521070ec099b7e310057900de", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jamjet_policy-e4ad5e658672f8f2) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test autonomy::tests::bounded_iteration_limit_escalates ... ok [INFO] [stdout] test autonomy::tests::bounded_cost_limit_escalates ... ok [INFO] [stdout] test autonomy::tests::circuit_breaker_fires_at_threshold ... ok [INFO] [stdout] test autonomy::tests::guided_requires_approval_for_tool ... ok [INFO] [stdout] test redaction::tests::remove_mode_deletes_key ... ok [INFO] [stdout] test redaction::tests::field_path_redaction_in_json ... ok [INFO] [stdout] test redaction::tests::hash_mode_produces_stable_hash ... ok [INFO] [stdout] test redaction::tests::combined_field_and_pattern_detection ... ok [INFO] [stdout] test redaction::tests::empty_policy_is_noop ... ok [INFO] [stdout] test tests::glob_star ... ok [INFO] [stdout] test tests::model_allowlist_allows_matching_model ... ok [INFO] [stdout] test tests::require_approval_pattern ... ok [INFO] [stdout] test redaction::tests::wildcard_field_path ... ok [INFO] [stdout] test redaction::tests::mask_email_in_string ... ok [INFO] [stdout] test tests::model_allowlist_blocks_unknown_model ... ok [INFO] [stdout] test autonomy::tests::bounded_under_limits_proceeds ... ok [INFO] [stdout] test tests::block_tool_by_exact_name ... ok [INFO] [stdout] test tests::block_tool_by_glob ... ok [INFO] [stdout] test tests::node_level_policy_overrides_workflow_level ... ok [INFO] [stdout] test tests::workflow_level_block_applies_when_no_node_policy ... ok [INFO] [stdout] test redaction::tests::mask_ssn_in_string ... ok [INFO] [stdout] test tests::allow_when_no_rules ... ok [INFO] [stdout] test tests::glob_question_mark ... ok [INFO] [stdout] test autonomy::tests::fully_autonomous_below_cb_threshold_proceeds ... ok [INFO] [stdout] test redaction::tests::mask_credit_card_in_string ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running tests/healthcare_workflow.rs (/opt/rustwide/target/debug/deps/healthcare_workflow-57c5e07b791bf0cb) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test approved_model_proceeds_normally ... ok [INFO] [stdout] test agent_cannot_delete_patient_records ... ok [INFO] [stdout] test prescription_requires_pharmacist_approval ... ok [INFO] [stdout] test safe_tools_pass_through_all_policy_layers ... ok [INFO] [stdout] test triage_node_allows_finetuned_model ... ok [INFO] [stdout] test wildcard_blocks_catch_novel_deletion_tools ... ok [INFO] [stdout] test workflow_policy_adds_restrictions ... ok [INFO] [stdout] test lab_orders_all_require_approval ... ok [INFO] [stdout] test unapproved_model_blocked_at_runtime ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tenant_policy.rs (/opt/rustwide/target/debug/deps/tenant_policy-aa750a1cc0186603) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test empty_tenant_policy_allows_everything ... ok [INFO] [stdout] test tenant_block_with_node_approval_override ... ok [INFO] [stdout] test tenant_policy_deserialized_from_json ... ok [INFO] [stdout] test four_scope_chain_tenant_between_global_and_workflow ... ok [INFO] [stdout] test tenant_policy_blocks_tool_overriding_global ... ok [INFO] [stdout] test workflow_overrides_tenant_block_with_approval ... ok [INFO] [stdout] test tenant_model_allowlist_blocks_unallowed_model ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Running tests/trading_agent_autonomy.rs (/opt/rustwide/target/debug/deps/trading_agent_autonomy-c938e5dcfd61fa88) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test circuit_breaker_overrides_bounded_autonomous_limits ... ok [INFO] [stdout] test circuit_breaker_trips_after_consecutive_errors ... ok [INFO] [stdout] test execution_agent_guided_mode_requires_approval ... ok [INFO] [stdout] test research_agent_cost_budget_escalates ... ok [INFO] [stdout] test research_agent_iteration_limit_escalates ... ok [INFO] [stdout] test fully_autonomous_agent_only_has_circuit_breaker ... ok [INFO] [stdout] test research_agent_token_budget_escalates ... ok [INFO] [stdout] test research_agent_within_limits_proceeds ... ok [INFO] [stdout] test execution_agent_cancel_also_requires_approval ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests jamjet_policy [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" "8b8bb61dfc3a893f3e138ddea84526f3741e2a5521070ec099b7e310057900de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8bb61dfc3a893f3e138ddea84526f3741e2a5521070ec099b7e310057900de", kill_on_drop: false }` [INFO] [stdout] 8b8bb61dfc3a893f3e138ddea84526f3741e2a5521070ec099b7e310057900de