[INFO] cloning repository https://github.com/XuebinMa/agent-guard
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XuebinMa/agent-guard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuebinMa%2Fagent-guard", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuebinMa%2Fagent-guard'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e82bcca25f44fc723b472724ba67029a9e46173b
[INFO] testing XuebinMa/agent-guard against 1.97.0-beta.1 for beta-1.97-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuebinMa%2Fagent-guard" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/XuebinMa/agent-guard
[INFO] finished tweaking git repo https://github.com/XuebinMa/agent-guard
[INFO] tweaked toml for git repo https://github.com/XuebinMa/agent-guard written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/XuebinMa/agent-guard on toolchain 1.97.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/XuebinMa/agent-guard 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.97.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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45397d9ac90e28cf3612288e2749d34b126b1187790ff18d1c8eb438f6a2fbde
[INFO] running `Command { std: "docker" "start" "-a" "45397d9ac90e28cf3612288e2749d34b126b1187790ff18d1c8eb438f6a2fbde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45397d9ac90e28cf3612288e2749d34b126b1187790ff18d1c8eb438f6a2fbde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45397d9ac90e28cf3612288e2749d34b126b1187790ff18d1c8eb438f6a2fbde", kill_on_drop: false }`
[INFO] [stdout] 45397d9ac90e28cf3612288e2749d34b126b1187790ff18d1c8eb438f6a2fbde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3ba3e340785d3e6009c3472144052eb5992ff60c5da150961de57383e0fa0cde
[INFO] running `Command { std: "docker" "start" "-a" "3ba3e340785d3e6009c3472144052eb5992ff60c5da150961de57383e0fa0cde", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.184
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling zeroize v1.8.2
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling fs_extra v1.3.0
[INFO] [stderr]    Compiling dunce v1.0.5
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling target-lexicon v0.13.5
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling semver v1.0.28
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling writeable v0.6.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling litemap v0.8.2
[INFO] [stderr]    Compiling jobserver v0.1.34
[INFO] [stderr]    Compiling socket2 v0.6.3
[INFO] [stderr]    Compiling mio v1.2.0
[INFO] [stderr]    Compiling cc v1.2.59
[INFO] [stderr]    Compiling aws-lc-rs v1.16.3
[INFO] [stderr]    Compiling indexmap v2.13.1
[INFO] [stderr]    Compiling pyo3-build-config v0.28.3
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling curve25519-dalek v4.1.3
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aws-lc-sys v0.40.0
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling unsafe-libyaml v0.2.11
[INFO] [stderr]    Compiling ryu v1.0.23
[INFO] [stderr]    Compiling uuid v1.23.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 tower-layer v0.3.3
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]    Compiling evalexpr v11.3.1
[INFO] [stderr]    Compiling openssl-probe v0.2.1
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling rustls-native-certs v0.8.3
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr]    Compiling zerofrom v0.1.7
[INFO] [stderr]    Compiling yoke v0.8.2
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling prometheus-client v0.22.3
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling prometheus-client-derive-encode v0.4.2
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling dtoa v1.0.11
[INFO] [stderr]    Compiling anstyle-parse v1.0.0
[INFO] [stderr]    Compiling arc-swap v1.9.1
[INFO] [stderr]    Compiling ed25519 v2.2.3
[INFO] [stderr]    Compiling serde_yaml v0.9.34+deprecated
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling ed25519-dalek v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling pyo3-macros-backend v0.28.3
[INFO] [stderr]    Compiling pyo3-ffi v0.28.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling h2 v0.4.14
[INFO] [stderr]    Compiling agent-guard-core v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-core)
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling colorchoice v1.0.5
[INFO] [stderr]    Compiling anstyle v1.0.14
[INFO] [stderr]    Compiling anstyle-query v1.1.5
[INFO] [stderr]    Compiling tower-http v0.6.10
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.2
[INFO] [stderr]    Compiling anstream v1.0.0
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling clap_lex v1.1.0
[INFO] [stderr]    Compiling unicode-segmentation v1.13.2
[INFO] [stderr]    Compiling agent-guard-sandbox v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-sandbox)
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]   --> crates/agent-guard-sandbox/src/linux.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::unix::process::CommandExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling agent-guard-validators v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-validators)
[INFO] [stderr]    Compiling convert_case v0.6.0
[INFO] [stderr]    Compiling clap_builder v4.6.0
[INFO] [stderr]    Compiling clap_derive v4.6.0
[INFO] [stderr]    Compiling pyo3 v0.28.3
[INFO] [stderr]    Compiling napi-build v2.3.1
[INFO] [stderr]    Compiling agent-guard-node v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-node)
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling ctor v0.2.9
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling napi-derive-backend v1.0.75
[INFO] [stderr]    Compiling napi-sys v2.4.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling tracing-subscriber v0.3.23
[INFO] [stderr]    Compiling clap v4.6.0
[INFO] [stderr]    Compiling napi v2.16.17
[INFO] [stderr]    Compiling napi-derive v2.16.13
[INFO] [stderr]    Compiling pyo3-macros v0.28.3
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling rustls-platform-verifier v0.7.0
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling reqwest v0.13.3
[INFO] [stderr]    Compiling agent-guard-sdk v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-sdk)
[INFO] [stderr]    Compiling guard-verify v0.2.0-rc1 (/opt/rustwide/workdir/crates/guard-verify)
[INFO] [stderr]    Compiling guard-hook v0.2.0-rc1 (/opt/rustwide/workdir/crates/guard-hook)
[INFO] [stderr]    Compiling agent-guard-python v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-python)
[INFO] [stdout] warning: use of deprecated associated constant `pyo3::impl_::deprecated::HasAutomaticFromPyObject::<true>::MSG`: The `FromPyObject` implementation for `#[pyclass]` types which implement `Clone` is changing to an opt-in option. Use `#[pyclass(from_py_object)]` to opt-in to the `FromPyObject` derive now, or `#[pyclass(skip_from_py_object)]` to skip the `FromPyObject` implementation.
[INFO] [stdout]    --> crates/agent-guard-python/src/types.rs:386:1
[INFO] [stdout]     |
[INFO] [stdout] 386 | #[pyclass(module = "agent_guard")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 52s
[INFO] running `Command { std: "docker" "inspect" "3ba3e340785d3e6009c3472144052eb5992ff60c5da150961de57383e0fa0cde", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ba3e340785d3e6009c3472144052eb5992ff60c5da150961de57383e0fa0cde", kill_on_drop: false }`
[INFO] [stdout] 3ba3e340785d3e6009c3472144052eb5992ff60c5da150961de57383e0fa0cde
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02fff932da0c6276f71088de7f76118b9ad69cb75e748271105d7c6789cfab83
[INFO] running `Command { std: "docker" "start" "-a" "02fff932da0c6276f71088de7f76118b9ad69cb75e748271105d7c6789cfab83", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.48
[INFO] [stderr]    Compiling zerocopy-derive v0.8.48
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling errno v0.3.14
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.8
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling tokio v1.51.0
[INFO] [stderr]    Compiling http v1.4.0
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling rayon v1.12.0
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling async-lock v3.4.2
[INFO] [stderr]    Compiling headers-core v0.3.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling unicode-width v0.2.2
[INFO] [stderr]    Compiling headers v0.4.1
[INFO] [stderr]    Compiling tabwriter v1.4.1
[INFO] [stderr]    Compiling path-tree v0.8.3
[INFO] [stderr]    Compiling async-object-pool v0.2.0
[INFO] [stderr]    Compiling serde_regex v1.1.0
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling stringmetrics v2.2.2
[INFO] [stderr]    Compiling futures-timer v3.0.3
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tokio-rustls v0.26.4
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling napi v2.16.17
[INFO] [stderr]    Compiling tower-http v0.6.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling h2 v0.4.14
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand v0.8.6
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling agent-guard-core v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-core)
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling agent-guard-sandbox v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-sandbox)
[INFO] [stderr]    Compiling agent-guard-validators v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-validators)
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]   --> crates/agent-guard-sandbox/src/linux.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::unix::process::CommandExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stdout]   --> crates/agent-guard-sandbox/src/linux.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use std::os::unix::process::CommandExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling hyper v1.9.0
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-rustls v0.27.9
[INFO] [stderr]    Compiling httpmock v0.8.3
[INFO] [stderr]    Compiling reqwest v0.13.3
[INFO] [stderr]    Compiling agent-guard-sdk v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-sdk)
[INFO] [stderr]    Compiling guard-verify v0.2.0-rc1 (/opt/rustwide/workdir/crates/guard-verify)
[INFO] [stderr]    Compiling agent-guard-python v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-python)
[INFO] [stderr]    Compiling guard-hook v0.2.0-rc1 (/opt/rustwide/workdir/crates/guard-hook)
[INFO] [stderr]    Compiling agent-guard-node v0.2.0-rc1 (/opt/rustwide/workdir/crates/agent-guard-node)
[INFO] [stdout] warning: use of deprecated associated constant `pyo3::impl_::deprecated::HasAutomaticFromPyObject::<true>::MSG`: The `FromPyObject` implementation for `#[pyclass]` types which implement `Clone` is changing to an opt-in option. Use `#[pyclass(from_py_object)]` to opt-in to the `FromPyObject` derive now, or `#[pyclass(skip_from_py_object)]` to skip the `FromPyObject` implementation.
[INFO] [stdout]    --> crates/agent-guard-python/src/types.rs:386:1
[INFO] [stdout]     |
[INFO] [stdout] 386 | #[pyclass(module = "agent_guard")]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout]     = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead
[INFO] [stdout]    --> crates/agent-guard-sdk/tests/stress_resources.rs:162:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |     delay_mock.assert_hits(30);
[INFO] [stdout]     |                ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 27s
[INFO] running `Command { std: "docker" "inspect" "02fff932da0c6276f71088de7f76118b9ad69cb75e748271105d7c6789cfab83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02fff932da0c6276f71088de7f76118b9ad69cb75e748271105d7c6789cfab83", kill_on_drop: false }`
[INFO] [stdout] 02fff932da0c6276f71088de7f76118b9ad69cb75e748271105d7c6789cfab83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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.97.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fef1f31d7e2605f78d20abb50dd2d329b93a3566692815babc09a94dd465080c
[INFO] running `Command { std: "docker" "start" "-a" "fef1f31d7e2605f78d20abb50dd2d329b93a3566692815babc09a94dd465080c", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::os::unix::process::CommandExt`
[INFO] [stderr]   --> crates/agent-guard-sandbox/src/linux.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use std::os::unix::process::CommandExt;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `agent-guard-sandbox` (lib) generated 1 warning (run `cargo fix --lib -p agent-guard-sandbox` to apply 1 suggestion)
[INFO] [stderr] warning: use of deprecated method `httpmock::Mock::<'a>::assert_hits`: please use `assert_calls` instead
[INFO] [stderr]    --> crates/agent-guard-sdk/tests/stress_resources.rs:162:16
[INFO] [stderr]     |
[INFO] [stderr] 162 |     delay_mock.assert_hits(30);
[INFO] [stderr]     |                ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `agent-guard-sdk` (test "stress_resources") generated 1 warning
[INFO] [stderr] warning: `agent-guard-sandbox` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: use of deprecated associated constant `pyo3::impl_::deprecated::HasAutomaticFromPyObject::<true>::MSG`: The `FromPyObject` implementation for `#[pyclass]` types which implement `Clone` is changing to an opt-in option. Use `#[pyclass(from_py_object)]` to opt-in to the `FromPyObject` derive now, or `#[pyclass(skip_from_py_object)]` to skip the `FromPyObject` implementation.
[INFO] [stderr]    --> crates/agent-guard-python/src/types.rs:386:1
[INFO] [stderr]     |
[INFO] [stderr] 386 | #[pyclass(module = "agent_guard")]
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]     = note: this warning originates in the attribute macro `pyclass` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `agent-guard-python` (lib test) generated 1 warning
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/agent_guard_core-be553bd1ddfb3877)
[INFO] [stdout] 
[INFO] [stdout] running 124 tests
[INFO] [stdout] test file_paths::tests::allows_absolute_path_when_no_workspace_bound ... ok
[INFO] [stdout] test file_paths::tests::rejects_absolute_path_outside_workspace_when_bound_provided ... ok
[INFO] [stdout] test file_paths::tests::rejects_symlink_target_outside_workspace ... ok
[INFO] [stdout] test file_paths::tests::rejects_ancestor_symlink_outside_workspace_for_nonexistent_leaf ... ok
[INFO] [stdout] test file_paths::tests::resolves_relative_paths_against_working_directory ... ok
[INFO] [stdout] test tests::audit_tests::audit_event_allow_has_no_code ... ok
[INFO] [stdout] test file_paths::tests::resolves_glob_patterns_through_existing_prefixes ... ok
[INFO] [stdout] test tests::audit_tests::different_payloads_give_different_hashes ... ok
[INFO] [stdout] test tests::audit_tests::payload_hash_absent_when_disabled ... ok
[INFO] [stdout] test tests::audit_tests::to_jsonl_hash_null_when_disabled ... ok
[INFO] [stdout] test tests::audit_tests::payload_hash_is_deterministic ... ok
[INFO] [stdout] test tests::audit_tests::audit_event_deny_has_code_and_matched_rule ... ok
[INFO] [stdout] test tests::decision_tests::ask_carries_message_and_code ... ok
[INFO] [stdout] test tests::decision_tests::deny_with_rule_sets_matched_rule ... ok
[INFO] [stdout] test file_paths::tests::allows_in_workspace_symlink_to_in_workspace_target ... ok
[INFO] [stdout] test tests::decision_tests::runtime_ask_carries_prompt_and_reason ... ok
[INFO] [stdout] test tests::decision_tests::runtime_deny_carries_reason ... ok
[INFO] [stdout] test tests::decision_tests::runtime_execute_is_execute ... ok
[INFO] [stdout] test tests::decision_tests::runtime_handoff_is_handoff ... ok
[INFO] [stdout] test tests::audit_tests::payload_hash_present_when_enabled ... ok
[INFO] [stdout] test tests::audit_tests::to_jsonl_is_valid_json ... ok
[INFO] [stdout] test tests::decision_tests::allow_is_allow ... ok
[INFO] [stdout] test tests::decision_tests::ask_with_rule_sets_matched_rule ... ok
[INFO] [stdout] test tests::decision_tests::deny_carries_code_and_message ... ok
[INFO] [stdout] test tests::effective_mode_tests::default_mode_full_access_applies_to_all_tools ... ok
[INFO] [stdout] test tests::effective_mode_tests::default_mode_read_only_applies_to_all_tools ... ok
[INFO] [stdout] test tests::effective_mode_tests::admin_falls_back_to_default_when_no_tool_override ... ok
[INFO] [stdout] test tests::effective_mode_tests::custom_tool_with_explicit_mode_uses_it ... ok
[INFO] [stdout] test tests::effective_mode_tests::default_mode_workspace_write_applies_when_no_tool_override ... ok
[INFO] [stdout] test tests::effective_mode_tests::custom_tool_without_mode_falls_back_to_default ... ok
[INFO] [stdout] test tests::effective_mode_tests::tool_override_full_access_beats_default_read_only_for_trusted ... ok
[INFO] [stdout] test tests::effective_mode_tests::tool_override_read_only_beats_default_full_access_for_trusted ... ok
[INFO] [stdout] test tests::effective_mode_tests::admin_gets_tool_level_override_same_as_trusted ... ok
[INFO] [stdout] test tests::effective_mode_tests::custom_tool_untrusted_ignores_tool_level_mode ... ok
[INFO] [stdout] test tests::effective_mode_tests::unknown_custom_tool_falls_back_to_default ... ok
[INFO] [stdout] test tests::effective_mode_tests::untrusted_override_mode_takes_precedence_over_default ... ok
[INFO] [stdout] test tests::effective_mode_tests::untrusted_ignores_tool_level_full_access_override ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::absolute_path_without_working_directory_is_normalized ... ok
[INFO] [stdout] test tests::effective_mode_tests::untrusted_with_no_trust_config_falls_back_to_default_mode ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::empty_raw_path_is_invalid_payload ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::relative_path_traversal_pops_components_when_no_root ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::relative_path_without_working_directory_passes_through_normalization ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::resolve_glob_pattern_handles_existing_separator_in_prefix ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::resolve_glob_pattern_empty_string_stays_empty ... ok
[INFO] [stdout] test tests::policy_coverage_tests::anomaly_config_defaults_when_absent ... ok
[INFO] [stdout] test tests::policy_coverage_tests::allow_paths_allows_path_inside_allowlist ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::resolve_glob_pattern_without_meta_chars_falls_through_to_path_resolution ... ok
[INFO] [stdout] test tests::policy_coverage_tests::allow_paths_blocks_path_outside_allowlist ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::whitespace_only_raw_path_is_invalid_payload ... ok
[INFO] [stdout] test tests::policy_coverage_tests::audit_config_uses_per_field_defaults_when_audit_block_present_but_empty ... ok
[INFO] [stdout] test tests::policy_coverage_tests::anomaly_config_loads_explicit_values ... ok
[INFO] [stdout] test tests::policy_coverage_tests::audit_config_uses_struct_default_when_block_absent ... ok
[INFO] [stdout] test tests::policy_coverage_tests::blocked_mode_can_be_punched_through_by_explicit_allow ... ok
[INFO] [stdout] test tests::file_paths_coverage_tests::resolve_glob_pattern_returns_pattern_when_glob_char_is_first ... ok
[INFO] [stdout] test tests::policy_coverage_tests::blocked_mode_denies_when_no_allow_rule_matches ... ok
[INFO] [stdout] test tests::policy_coverage_tests::audit_config_reflects_yaml_overrides ... ok
[INFO] [stdout] test tests::policy_coverage_tests::ask_decision_carries_condition_in_details_when_rule_has_if ... ok
[INFO] [stdout] test tests::policy_coverage_tests::deny_message_falls_back_to_complex_rule_label_for_condition_only_rule ... ok
[INFO] [stdout] test tests::policy_coverage_tests::condition_only_rule_with_no_pattern_matches_when_condition_holds ... ok
[INFO] [stdout] test tests::policy_coverage_tests::condition_uses_working_directory_variable ... ok
[INFO] [stdout] test tests::policy_coverage_tests::deny_message_uses_plain_display_for_plain_only_rule ... ok
[INFO] [stdout] test tests::policy_coverage_tests::deny_decision_carries_condition_in_details_when_rule_has_if ... ok
[INFO] [stdout] test tests::policy_coverage_tests::from_yaml_file_io_error_when_path_missing ... ok
[INFO] [stdout] test tests::policy_coverage_tests::deny_message_uses_prefix_display_for_prefix_only_rule ... ok
[INFO] [stdout] test tests::policy_coverage_tests::hash_differs_when_yaml_differs ... ok
[INFO] [stdout] test tests::policy_coverage_tests::from_yaml_file_loads_existing_file ... ok
[INFO] [stdout] test tests::policy_coverage_tests::malformed_yaml_returns_parse_error ... ok
[INFO] [stdout] test tests::policy_coverage_tests::invalid_workspace_escape_path_glob_fails_at_load_time ... ok
[INFO] [stdout] test tests::policy_coverage_tests::hash_is_deterministic_for_identical_yaml ... ok
[INFO] [stdout] test tests::policy_coverage_tests::missing_required_version_field_is_parse_error ... ok
[INFO] [stdout] test tests::policy_coverage_tests::rule_pattern_invalid_yaml_node_type_is_parse_error ... ok
[INFO] [stdout] test tests::policy_coverage_tests::rule_pattern_map_plain_field_matches_substring ... ok
[INFO] [stdout] test tests::policy_coverage_tests::read_only_mode_blocks_workspace_write_tool_with_insufficient_permission_code ... ok
[INFO] [stdout] test tests::policy_coverage_tests::version_and_hash_are_64_char_hex_and_match ... ok
[INFO] [stdout] test tests::policy_coverage_tests::tool_level_blocked_overrides_admin_trust_in_effective_mode ... ok
[INFO] [stdout] test tests::policy_coverage_tests::rule_pattern_plain_string_form_matches_substring ... ok
[INFO] [stdout] test tests::policy_coverage_tests::workspace_escape_paths_allows_listed_path_outside_workspace ... ok
[INFO] [stdout] test tests::policy_coverage_tests::workspace_escape_paths_preserves_traversal_deny_for_unlisted_path ... ok
[INFO] [stdout] test tests::policy_coverage_tests::workspace_escape_paths_only_applies_to_owning_tool ... ok
[INFO] [stdout] test tests::policy_coverage_tests::write_file_invalid_json_payload_denied ... ok
[INFO] [stdout] test tests::policy_coverage_tests::write_file_deny_paths_blocks_write_to_etc ... ok
[INFO] [stdout] test tests::policy_coverage_tests::workspace_escape_paths_still_subject_to_deny_paths ... ok
[INFO] [stdout] test tests::policy_coverage_tests::invalid_deny_path_glob_fails_at_load_time ... ok
[INFO] [stdout] test tests::policy_coverage_tests::map_rule_regex_no_match_falls_through ... ok
[INFO] [stdout] test tests::policy_coverage_tests::deny_message_uses_regex_source_when_rule_has_regex ... ok
[INFO] [stdout] test tests::policy_tests::accepts_version_1 ... ok
[INFO] [stdout] test tests::policy_tests::allow_rule_short_circuits ... ok
[INFO] [stdout] test tests::policy_tests::allow_normal_http_request ... ok
[INFO] [stdout] test tests::policy_tests::ask_rule_triggers_ask_user ... ok
[INFO] [stdout] test tests::policy_tests::ask_matched_rule_path_is_set ... ok
[INFO] [stdout] test tests::policy_coverage_tests::custom_tool_ask_rule_triggers_ask_user ... ok
[INFO] [stdout] test tests::policy_tests::custom_tool_deny_rule ... ok
[INFO] [stdout] test tests::policy_tests::custom_tool_allow_when_no_rule_matches ... ok
[INFO] [stdout] test tests::policy_tests::deny_matched_rule_path_is_set ... ok
[INFO] [stdout] test tests::policy_tests::deny_paths_allows_safe_path ... ok
[INFO] [stdout] test tests::policy_tests::function_calls_fail_at_load_time ... ok
[INFO] [stdout] test tests::policy_tests::if_condition_allows_on_actor_mismatch ... ok
[INFO] [stdout] test tests::policy_tests::if_condition_allows_on_agent_id_mismatch ... ok
[INFO] [stdout] test tests::policy_tests::deny_regex_rule_blocks_curl_pipe_bash ... ok
[INFO] [stdout] test tests::policy_tests::deny_paths_blocks_etc ... ok
[INFO] [stdout] test tests::policy_tests::deny_prefix_rule_blocks ... ok
[INFO] [stdout] test tests::policy_tests::http_request_invalid_json_denied ... ok
[INFO] [stdout] test tests::policy_tests::if_condition_blocks_on_actor_match ... ok
[INFO] [stdout] test tests::policy_tests::if_condition_blocks_on_agent_id_membership ... ok
[INFO] [stdout] test tests::policy_tests::deny_paths_blocks_ssh_key ... ok
[INFO] [stdout] test tests::policy_tests::if_condition_only_rule_blocks_untrusted ... ok
[INFO] [stdout] test tests::policy_tests::deny_metadata_endpoint ... ok
[INFO] [stdout] test tests::policy_tests::invalid_condition_variable_fails_at_load_time ... ok
[INFO] [stdout] test tests::policy_tests::rejects_wrong_version ... ok
[INFO] [stdout] test tests::policy_tests::read_file_invalid_json_denied ... ok
[INFO] [stdout] test tests::regex_precompile_tests::malformed_regex_fails_at_load_time ... ok
[INFO] [stdout] test tests::types_tests::custom_tool_id_empty ... ok
[INFO] [stdout] test tests::types_tests::custom_tool_id_invalid_chars ... ok
[INFO] [stdout] test tests::types_tests::custom_tool_id_too_long ... ok
[INFO] [stdout] test tests::types_tests::custom_tool_id_valid ... ok
[INFO] [stdout] test tests::types_tests::custom_tool_id_must_not_shadow_builtin ... ok
[INFO] [stdout] test tests::types_tests::guard_input_default_context_is_untrusted ... ok
[INFO] [stdout] test tests::types_tests::tool_name_matches_policy_key ... ok
[INFO] [stdout] test tests::types_tests::trust_level_default_is_untrusted ... ok
[INFO] [stdout] test tests::policy_tests::untrusted_blocked_by_mode_override ... ok
[INFO] [stdout] test attestation::tests::proof_verification_fails_if_host_measurement_is_tampered ... ok
[INFO] [stdout] test tests::policy_tests::trusted_can_use_workspace_write_tool ... ok
[INFO] [stdout] test tests::policy_tests::read_file_missing_path_field_denied ... ok
[INFO] [stdout] test tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy' (132) panicked at crates/agent-guard-core/src/tests.rs:990:9:
[INFO] [stdout] 10k checks took 229.011523ms; expected < 200ms (possible regex precompile regression)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5e35f3d681b8 - std[d04d96f94fe49f48]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5e35f3d681b8 - std[d04d96f94fe49f48]::backtrace_rs::backtrace::trace_unsynchronized::<std[d04d96f94fe49f48]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5e35f3d681b8 - std[d04d96f94fe49f48]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5e35f3d681b8 - <<std[d04d96f94fe49f48]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[62a6a15d25c41f78]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5e35f3d7fa1a - <core[62a6a15d25c41f78]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5e35f3d7fa1a - core[62a6a15d25c41f78]::fmt::write
[INFO] [stdout]    6:     0x5e35f3d6cad2 - std[d04d96f94fe49f48]::io::default_write_fmt::<alloc[ad3b45e33a508219]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/io/mod.rs:622:11
[INFO] [stdout]    7:     0x5e35f3d6cad2 - <alloc[ad3b45e33a508219]::vec::Vec<u8> as std[d04d96f94fe49f48]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/io/mod.rs:1977:13
[INFO] [stdout]    8:     0x5e35f3d450e6 - <std[d04d96f94fe49f48]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5e35f3d450e6 - std[d04d96f94fe49f48]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5e35f3d5f7b9 - std[d04d96f94fe49f48]::panicking::default_hook
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5e35f39ef09c - <alloc[ad3b45e33a508219]::boxed::Box<dyn for<'a, 'b> core[62a6a15d25c41f78]::ops::function::Fn<(&'a std[d04d96f94fe49f48]::panic::PanicHookInfo<'b>,), Output = ()> + core[62a6a15d25c41f78]::marker::Send + core[62a6a15d25c41f78]::marker::Sync> as core[62a6a15d25c41f78]::ops::function::Fn<(&std[d04d96f94fe49f48]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   12:     0x5e35f39ef09c - test[692ded6b456f550c]::test_main_inner::<test[692ded6b456f550c]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5e35f3d5f972 - <alloc[ad3b45e33a508219]::boxed::Box<dyn for<'a, 'b> core[62a6a15d25c41f78]::ops::function::Fn<(&'a std[d04d96f94fe49f48]::panic::PanicHookInfo<'b>,), Output = ()> + core[62a6a15d25c41f78]::marker::Send + core[62a6a15d25c41f78]::marker::Sync> as core[62a6a15d25c41f78]::ops::function::Fn<(&std[d04d96f94fe49f48]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/boxed.rs:2289:9
[INFO] [stdout]   14:     0x5e35f3d5f972 - std[d04d96f94fe49f48]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5e35f3d451a2 - std[d04d96f94fe49f48]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5e35f3d3c8d9 - std[d04d96f94fe49f48]::sys::backtrace::__rust_end_short_backtrace::<std[d04d96f94fe49f48]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5e35f3d45f7d - __rustc[7f3d614e80e58542]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5e35f3d8028c - core[62a6a15d25c41f78]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5e35f393f2a2 - agent_guard_core[52ecf8100f82621c]::tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy
[INFO] [stdout]                                at /opt/rustwide/workdir/crates/agent-guard-core/src/tests.rs:990:9
[INFO] [stdout]   20:     0x5e35f3935b07 - agent_guard_core[52ecf8100f82621c]::tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/crates/agent-guard-core/src/tests.rs:975:60
[INFO] [stdout]   21:     0x5e35f39060d6 - <agent_guard_core[52ecf8100f82621c]::tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy::{closure#0} as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5e35f39e217b - <fn() -> core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5e35f39e217b - test[692ded6b456f550c]::__rust_begin_short_backtrace::<core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>, fn() -> core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:724:18
[INFO] [stdout]   24:     0x5e35f39ef9f5 - test[692ded6b456f550c]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:747:74
[INFO] [stdout]   25:     0x5e35f39ef9f5 - <core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<test[692ded6b456f550c]::run_test_in_process::{closure#0}> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x5e35f39ef9f5 - std[d04d96f94fe49f48]::panicking::catch_unwind::do_call::<core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<test[692ded6b456f550c]::run_test_in_process::{closure#0}>, core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x5e35f39ef9f5 - std[d04d96f94fe49f48]::panicking::catch_unwind::<core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>, core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<test[692ded6b456f550c]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x5e35f39ef9f5 - std[d04d96f94fe49f48]::panic::catch_unwind::<core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<test[692ded6b456f550c]::run_test_in_process::{closure#0}>, core[62a6a15d25c41f78]::result::Result<(), alloc[ad3b45e33a508219]::string::String>>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5e35f39ef9f5 - test[692ded6b456f550c]::run_test_in_process
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:747:27
[INFO] [stdout]   30:     0x5e35f39ef9f5 - test[692ded6b456f550c]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:668:43
[INFO] [stdout]   31:     0x5e35f39ea554 - test[692ded6b456f550c]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/test/src/lib.rs:698:41
[INFO] [stdout]   32:     0x5e35f39ea554 - std[d04d96f94fe49f48]::sys::backtrace::__rust_begin_short_backtrace::<test[692ded6b456f550c]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x5e35f39f2a72 - std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked::<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   34:     0x5e35f39f2a72 - <core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x5e35f39f2a72 - std[d04d96f94fe49f48]::panicking::catch_unwind::do_call::<core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x5e35f39f2a72 - std[d04d96f94fe49f48]::panicking::catch_unwind::<(), core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x5e35f39f2a72 - std[d04d96f94fe49f48]::panic::catch_unwind::<core[62a6a15d25c41f78]::panic::unwind_safe::AssertUnwindSafe<std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5e35f39f2a72 - std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked::<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   39:     0x5e35f39f2a72 - <std[d04d96f94fe49f48]::thread::lifecycle::spawn_unchecked<test[692ded6b456f550c]::run_test::{closure#1}, ()>::{closure#1} as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x5e35f3d675df - <alloc[ad3b45e33a508219]::boxed::Box<dyn core[62a6a15d25c41f78]::ops::function::FnOnce<(), Output = ()> + core[62a6a15d25c41f78]::marker::Send> as core[62a6a15d25c41f78]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/alloc/src/boxed.rs:2275:9
[INFO] [stdout]   41:     0x5e35f3d675df - <std[d04d96f94fe49f48]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/96f70397ed7ba8baf8d1bb541a1ba8e06e3d6f57/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   42:     0x764af3f4daa4 - <unknown>
[INFO] [stdout]   43:     0x764af3fdaa64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 123 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `-p agent-guard-core --lib`
[INFO] running `Command { std: "docker" "inspect" "fef1f31d7e2605f78d20abb50dd2d329b93a3566692815babc09a94dd465080c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fef1f31d7e2605f78d20abb50dd2d329b93a3566692815babc09a94dd465080c", kill_on_drop: false }`
[INFO] [stdout] fef1f31d7e2605f78d20abb50dd2d329b93a3566692815babc09a94dd465080c
