[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] 72b633b00de88ea724402bdfd2b36e5388e717dd [INFO] testing XuebinMa/agent-guard against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXuebinMa%2Fagent-guard" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/XuebinMa/agent-guard on toolchain 1.98.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "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.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e [INFO] running `Command { std: "docker" "start" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", 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" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", 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" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [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 zeroize v1.8.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.2.59 [INFO] [stderr] Compiling indexmap v2.13.1 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling aws-lc-rs v1.16.3 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling rustls-pki-types v1.14.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling aws-lc-sys v0.40.0 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling rustls v0.23.40 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling want v0.3.1 [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 zerofrom v0.1.7 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.2 [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 zerotrie v0.2.4 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling tokio v1.51.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tracing v0.1.44 [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 curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling target-lexicon v0.13.5 [INFO] [stderr] Compiling h2 v0.4.14 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling uuid v1.23.0 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling evalexpr v11.3.1 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling agent-guard-core v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-core) [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling pyo3-build-config v0.29.0 [INFO] [stderr] Compiling tower-http v0.6.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling utf8parse v0.2.2 [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 agent-guard-validators v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-validators) [INFO] [stderr] Compiling agent-guard-sandbox v0.2.0-rc2 (/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 is_terminal_polyfill v1.70.2 [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 anstream v1.0.0 [INFO] [stderr] Compiling pyo3-ffi v0.29.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling unicode-segmentation v1.13.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling pyo3 v0.29.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.29.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling napi-build v2.3.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling agent-guard-node v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-node) [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling napi-sys v2.4.0 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling tracing-subscriber v0.3.23 [INFO] [stderr] Compiling napi-derive-backend v1.0.75 [INFO] [stderr] Compiling napi-derive v2.16.13 [INFO] [stderr] Compiling pyo3-macros v0.29.0 [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-rc2 (/opt/rustwide/workdir/crates/agent-guard-sdk) [INFO] [stderr] Compiling agent-guard-python v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-python) [INFO] [stderr] Compiling agent-guard-cli v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-cli) [INFO] [stderr] Compiling guard-hook v0.2.0-rc2 (/opt/rustwide/workdir/crates/guard-hook) [INFO] [stderr] Compiling guard-verify v0.2.0-rc2 (/opt/rustwide/workdir/crates/guard-verify) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", 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" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", 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 crossbeam-utils v0.8.21 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling bitflags v2.11.0 [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 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 url v2.5.8 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling h2 v0.4.14 [INFO] [stderr] Compiling tower-http v0.6.10 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.8.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 criterion v0.5.1 [INFO] [stderr] Compiling tabwriter v1.4.1 [INFO] [stderr] Compiling agent-guard-core v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-core) [INFO] [stderr] Compiling async-object-pool v0.2.0 [INFO] [stderr] Compiling headers v0.4.1 [INFO] [stderr] Compiling path-tree v0.8.3 [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 agent-guard-sandbox v0.2.0-rc2 (/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-rc2 (/opt/rustwide/workdir/crates/agent-guard-validators) [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling stringmetrics v2.2.2 [INFO] [stderr] Compiling napi v2.16.17 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [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-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-rc2 (/opt/rustwide/workdir/crates/agent-guard-sdk) [INFO] [stderr] Compiling agent-guard-python v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-python) [INFO] [stderr] Compiling guard-verify v0.2.0-rc2 (/opt/rustwide/workdir/crates/guard-verify) [INFO] [stderr] Compiling guard-hook v0.2.0-rc2 (/opt/rustwide/workdir/crates/guard-hook) [INFO] [stderr] Compiling agent-guard-node v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-node) [INFO] [stderr] Compiling agent-guard-cli v0.2.0-rc2 (/opt/rustwide/workdir/crates/agent-guard-cli) [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 `release` profile [optimized] target(s) in 41.66s [INFO] running `Command { std: "docker" "inspect" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", 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" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", 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] Finished `release` profile [optimized] target(s) in 0.28s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/deps/agent_guard-d5acbbb887283715) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::deciding_unknown_request_exits_nonzero ... ok [INFO] [stdout] test tests::show_missing_request_exits_nonzero ... ok [INFO] [stdout] test tests::approve_flips_pending_to_approved_and_exits_zero ... ok [INFO] [stdout] test tests::list_and_show_present_existing_requests ... ok [INFO] [stdout] test tests::deciding_twice_exits_nonzero ... ok [INFO] [stdout] test tests::deny_flips_pending_to_denied ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/agent_guard_core-15966d1469b062d6) [INFO] [stdout] [INFO] [stdout] running 146 tests [INFO] [stdout] test decision::tests::ask_with_reason_enforces_non_empty_prompt ... ok [INFO] [stdout] test decision::tests::builders_attach_rule_and_details_without_mutating_message ... ok [INFO] [stdout] test decision::tests::decision_code_is_copy ... ok [INFO] [stdout] test decision::tests::decision_reason_new_substitutes_empty_message ... ok [INFO] [stdout] test decision::tests::deny_constructor_never_yields_empty_message ... ok [INFO] [stdout] test attestation::tests::proof_verification_fails_if_host_measurement_is_tampered ... ok [INFO] [stdout] test decision::tests::policy_mode_orders_by_permissiveness ... ok [INFO] [stdout] test decision::tests::reason_accessors_expose_constructed_parts ... ok [INFO] [stdout] test decision::tests::trust_level_orders_by_privilege ... ok [INFO] [stdout] test file_paths::tests::allows_absolute_path_when_no_workspace_bound ... ok [INFO] [stdout] test tests::audit_tests::audit_event_allow_has_no_code ... ok [INFO] [stdout] test tests::audit_tests::different_payloads_give_different_hashes ... ok [INFO] [stdout] test tests::audit_tests::audit_event_deny_has_code_and_matched_rule ... ok [INFO] [stdout] test file_paths::tests::allows_in_workspace_symlink_to_in_workspace_target ... ok [INFO] [stdout] test tests::audit_tests::payload_hash_absent_when_disabled ... ok [INFO] [stdout] test file_paths::tests::rejects_absolute_path_outside_workspace_when_bound_provided ... ok [INFO] [stdout] test tests::audit_tests::payload_hash_is_deterministic ... ok [INFO] [stdout] test tests::audit_tests::payload_hash_present_when_enabled ... ok [INFO] [stdout] test file_paths::tests::resolves_relative_paths_against_working_directory ... ok [INFO] [stdout] test tests::audit_tests::to_jsonl_hash_null_when_disabled ... ok [INFO] [stdout] test tests::audit_tests::to_jsonl_is_valid_json ... ok [INFO] [stdout] test file_paths::tests::resolves_glob_patterns_through_existing_prefixes ... ok [INFO] [stdout] test tests::content_policy_tests::content_policy_absent_by_default ... ok [INFO] [stdout] test tests::content_policy_tests::content_policy_parses_explicit_detectors_and_mask_mode ... ok [INFO] [stdout] test tests::content_policy_tests::content_policy_parses_mode_and_default_detectors ... ok [INFO] [stdout] test file_paths::tests::rejects_ancestor_symlink_outside_workspace_for_nonexistent_leaf ... ok [INFO] [stdout] test file_paths::tests::rejects_symlink_target_outside_workspace ... ok [INFO] [stdout] test tests::content_policy_tests::content_policy_rejects_unknown_mode ... ok [INFO] [stdout] test tests::decision_tests::allow_is_allow ... ok [INFO] [stdout] test tests::content_policy_tests::input_content_parses_mode_and_default_detectors ... ok [INFO] [stdout] test tests::decision_tests::ask_with_rule_sets_matched_rule ... ok [INFO] [stdout] test tests::content_policy_tests::input_content_absent_by_default ... ok [INFO] [stdout] test tests::decision_tests::deny_with_rule_sets_matched_rule ... ok [INFO] [stdout] test tests::decision_tests::deny_carries_code_and_message ... ok [INFO] [stdout] test tests::decision_tests::runtime_ask_carries_prompt_and_reason ... ok [INFO] [stdout] test tests::decision_tests::ask_carries_message_and_code ... 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::effective_mode_tests::admin_falls_back_to_default_when_no_tool_override ... 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::custom_tool_with_explicit_mode_uses_it ... ok [INFO] [stdout] test tests::effective_mode_tests::custom_tool_without_mode_falls_back_to_default ... 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::default_mode_workspace_write_applies_when_no_tool_override ... ok [INFO] [stdout] test tests::effective_mode_tests::tool_override_read_only_beats_default_full_access_for_trusted ... ok [INFO] [stdout] test tests::file_paths_coverage_tests::empty_raw_path_is_invalid_payload ... ok [INFO] [stdout] test tests::effective_mode_tests::unknown_custom_tool_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::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::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_override_mode_takes_precedence_over_default ... 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::resolve_glob_pattern_empty_string_stays_empty ... ok [INFO] [stdout] test tests::file_paths_coverage_tests::whitespace_only_raw_path_is_invalid_payload ... ok [INFO] [stdout] test tests::policy_coverage_tests::allow_paths_allows_path_inside_allowlist ... ok [INFO] [stdout] test tests::policy_coverage_tests::audit_config_reflects_yaml_overrides ... ok [INFO] [stdout] test tests::policy_coverage_tests::allow_paths_blocks_path_outside_allowlist ... ok [INFO] [stdout] test tests::file_paths_coverage_tests::resolve_glob_pattern_handles_existing_separator_in_prefix ... ok [INFO] [stdout] test tests::policy_coverage_tests::anomaly_config_defaults_when_absent ... ok [INFO] [stdout] test tests::policy_coverage_tests::ask_decision_carries_condition_in_details_when_rule_has_if ... ok [INFO] [stdout] test tests::file_paths_coverage_tests::resolve_glob_pattern_returns_pattern_when_glob_char_is_first ... 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::audit_config_uses_per_field_defaults_when_audit_block_present_but_empty ... ok [INFO] [stdout] test tests::policy_coverage_tests::audit_config_uses_struct_default_when_block_absent ... ok [INFO] [stdout] test tests::policy_coverage_tests::anomaly_config_loads_explicit_values ... ok [INFO] [stdout] test tests::policy_coverage_tests::blocked_mode_can_be_punched_through_by_explicit_allow ... ok [INFO] [stdout] test tests::policy_coverage_tests::blocked_mode_denies_when_no_allow_rule_matches ... 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_falls_back_to_complex_rule_label_for_condition_only_rule ... 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_message_uses_prefix_display_for_prefix_only_rule ... ok [INFO] [stdout] test tests::policy_coverage_tests::deny_message_uses_regex_source_when_rule_has_regex ... ok [INFO] [stdout] test tests::policy_coverage_tests::hash_differs_when_yaml_differs ... 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_loads_existing_file ... ok [INFO] [stdout] test tests::policy_coverage_tests::from_yaml_file_io_error_when_path_missing ... ok [INFO] [stdout] test tests::policy_coverage_tests::custom_tool_ask_rule_triggers_ask_user ... ok [INFO] [stdout] test tests::policy_coverage_tests::invalid_deny_path_glob_fails_at_load_time ... 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::malformed_yaml_returns_parse_error ... ok [INFO] [stdout] test tests::policy_coverage_tests::missing_required_version_field_is_parse_error ... ok [INFO] [stdout] test tests::policy_coverage_tests::map_rule_regex_no_match_falls_through ... ok [INFO] [stdout] test tests::policy_coverage_tests::hash_is_deterministic_for_identical_yaml ... ok [INFO] [stdout] test tests::policy_coverage_tests::read_only_allows_get_http_request ... ok [INFO] [stdout] test tests::policy_coverage_tests::read_only_denies_write_file_by_default ... ok [INFO] [stdout] test tests::policy_coverage_tests::read_only_allows_read_file ... 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::read_only_denies_mutation_http_request ... 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::rule_pattern_plain_string_form_matches_substring ... 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::workspace_escape_paths_allows_listed_path_outside_workspace ... ok [INFO] [stdout] test tests::policy_coverage_tests::workspace_escape_paths_only_applies_to_owning_tool ... 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_still_subject_to_deny_paths ... ok [INFO] [stdout] test tests::policy_coverage_tests::workspace_write_denies_write_file_without_workspace_capability ... ok [INFO] [stdout] test tests::policy_coverage_tests::workspace_write_still_allows_write_file ... 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_tests::accepts_version_1 ... ok [INFO] [stdout] test tests::policy_tests::allow_normal_http_request ... ok [INFO] [stdout] test tests::policy_tests::allow_rule_short_circuits ... ok [INFO] [stdout] test tests::policy_tests::ask_matched_rule_path_is_set ... ok [INFO] [stdout] test tests::policy_tests::ask_rule_triggers_ask_user ... 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::custom_tool_deny_rule ... ok [INFO] [stdout] test tests::policy_tests::deny_metadata_endpoint ... ok [INFO] [stdout] test tests::policy_tests::function_calls_fail_at_load_time ... ok [INFO] [stdout] test tests::policy_tests::deny_prefix_rule_blocks ... ok [INFO] [stdout] test tests::policy_tests::deny_paths_allows_safe_path ... ok [INFO] [stdout] test tests::policy_tests::deny_paths_blocks_etc ... ok [INFO] [stdout] test tests::policy_tests::http_request_invalid_json_denied ... ok [INFO] [stdout] test tests::policy_tests::deny_regex_rule_blocks_curl_pipe_bash ... ok [INFO] [stdout] test tests::policy_tests::if_condition_allows_on_actor_mismatch ... ok [INFO] [stdout] test tests::policy_tests::deny_paths_blocks_ssh_key ... ok [INFO] [stdout] test tests::policy_tests::if_condition_blocks_on_actor_match ... ok [INFO] [stdout] test tests::policy_tests::invalid_condition_variable_fails_at_load_time ... ok [INFO] [stdout] test tests::policy_tests::if_condition_allows_on_agent_id_mismatch ... ok [INFO] [stdout] test tests::policy_tests::if_condition_only_rule_blocks_untrusted ... ok [INFO] [stdout] test tests::policy_tests::if_condition_blocks_on_agent_id_membership ... ok [INFO] [stdout] test tests::policy_tests::rejects_wrong_version ... ok [INFO] [stdout] test tests::policy_tests::read_file_missing_path_field_denied ... 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::policy_tests::trusted_can_use_workspace_write_tool ... ok [INFO] [stdout] test tests::types_tests::custom_tool_id_empty ... ok [INFO] [stdout] test tests::policy_tests::untrusted_blocked_by_mode_override ... ok [INFO] [stdout] test tests::types_tests::guard_input_default_context_is_untrusted ... ok [INFO] [stdout] test tests::types_tests::custom_tool_id_invalid_chars ... ok [INFO] [stdout] test tests::types_tests::custom_tool_id_must_not_shadow_builtin ... ok [INFO] [stdout] test tests::types_tests::custom_tool_id_valid ... ok [INFO] [stdout] test tests::types_tests::trust_level_all_round_trips_every_variant ... ok [INFO] [stdout] test tests::types_tests::custom_tool_id_too_long ... ok [INFO] [stdout] test tests::types_tests::tool_builtin_names_cover_every_non_custom_variant ... ok [INFO] [stdout] test tests::types_tests::trust_level_default_is_untrusted ... ok [INFO] [stdout] test tests::types_tests::tool_name_matches_policy_key ... ok [INFO] [stdout] test tests::regex_precompile_tests::check_loop_under_threshold_with_regex_heavy_policy ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 146 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/agent_guard_node-1db57fd3027ac613) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::normalize_payload_preserves_existing_shell_objects ... ok [INFO] [stdout] test tests::node_trust_level_covers_every_core_variant ... ok [INFO] [stdout] test tests::normalize_payload_wraps_generic_scalars ... ok [INFO] [stdout] test tests::normalize_payload_wraps_shell_strings ... ok [INFO] [stdout] test tests::parse_tool_resolves_every_core_builtin_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/agent_guard-68c60afc0c27fe76) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/agent_guard_sandbox-f22e357b727aab41) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/macos_integration.rs (/opt/rustwide/target/release/deps/macos_integration-f59271a4ab719ac5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/seccomp_integration.rs (/opt/rustwide/target/release/deps/seccomp_integration-882239c5709c3133) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/windows_job_integration.rs (/opt/rustwide/target/release/deps/windows_job_integration-a00c8e4ee81c2591) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/deps/agent_guard_sdk-8c79cdb3789d1a92) [INFO] [stdout] [INFO] [stdout] running 74 tests [INFO] [stdout] test anomaly::tests::test_rate_limiting ... ok [INFO] [stdout] test anomaly::tests::test_deny_fuse ... ok [INFO] [stdout] test approval::tests::approve_transitions_to_approved ... ok [INFO] [stdout] test approval::tests::deciding_unknown_request_is_not_found ... ok [INFO] [stdout] test approval::tests::deciding_twice_is_rejected ... ok [INFO] [stdout] test approval::tests::corrupt_lines_are_skipped ... ok [INFO] [stdout] test approval::tests::deny_transitions_to_denied ... ok [INFO] [stdout] test approval::tests::list_pending_excludes_decided_and_sorts_by_age ... ok [INFO] [stdout] test approval::tests::create_then_get_yields_pending ... ok [INFO] [stdout] test approval::tests::missing_ledger_file_reads_as_empty ... ok [INFO] [stdout] test content_filter::tests::block_mode_has_no_execution_application ... ok [INFO] [stdout] test content_filter::tests::mask_mode_never_objects_in_check_path ... ok [INFO] [stdout] test content_filter::tests::clean_content_has_no_execution_application ... ok [INFO] [stdout] test content_filter::tests::block_mode_denies_when_secret_found_in_write_content ... ok [INFO] [stdout] test content_filter::tests::deny_message_lists_labels_not_raw_secret ... ok [INFO] [stdout] test content_filter::tests::unscoped_tool_yields_no_objection ... ok [INFO] [stdout] test content_filter::tests::mask_rewrites_payload_field_and_reports_labels ... ok [INFO] [stdout] test content_filter::tests::warn_mode_never_objects_in_check_path ... ok [INFO] [stdout] test executors::tests::allows_6to4_to_public_ipv4 ... ok [INFO] [stdout] test executors::tests::allows_ipv4_mapped_public_ipv4 ... ok [INFO] [stdout] test content_filter::tests::warn_reports_labels_without_rewriting ... ok [INFO] [stdout] test executors::tests::allows_just_outside_cgnat_range ... ok [INFO] [stdout] test executors::tests::allows_just_outside_rfc1918_one_seven_two_range ... ok [INFO] [stdout] test executors::tests::allows_nat64_to_public_ipv4 ... ok [INFO] [stdout] test executors::tests::allows_public_ipv4_addresses ... ok [INFO] [stdout] test executors::tests::allows_public_ipv6_addresses ... ok [INFO] [stdout] test executors::tests::bash_extract_malformed_json_is_invalid_payload ... ok [INFO] [stdout] test executors::tests::bash_extract_missing_command_carries_missing_field_code ... ok [INFO] [stdout] test executors::tests::blocks_6to4_embedded_private_ipv4 ... ok [INFO] [stdout] test executors::tests::blocks_ipv4_compatible_loopback ... ok [INFO] [stdout] test executors::tests::blocks_ipv4_link_local_carryover ... ok [INFO] [stdout] test executors::tests::blocks_ipv4_loopback ... ok [INFO] [stdout] test executors::tests::blocks_ipv4_mapped_link_local_metadata ... ok [INFO] [stdout] test executors::tests::blocks_ipv4_mapped_loopback ... ok [INFO] [stdout] test executors::tests::blocks_ipv4_mapped_rfc1918 ... ok [INFO] [stdout] test executors::tests::blocks_ipv6_link_local_carryover ... ok [INFO] [stdout] test executors::tests::blocks_ipv6_loopback ... ok [INFO] [stdout] test executors::tests::blocks_ipv6_unique_local_fc00_slash_7 ... ok [INFO] [stdout] test executors::tests::blocks_nat64_well_known_metadata ... ok [INFO] [stdout] test executors::tests::blocks_rfc1918_one_nine_two ... ok [INFO] [stdout] test executors::tests::blocks_rfc1918_one_seven_two ... ok [INFO] [stdout] test executors::tests::blocks_rfc1918_ten_dot ... ok [INFO] [stdout] test executors::tests::blocks_rfc2544_benchmark_range ... ok [INFO] [stdout] test executors::tests::blocks_rfc6598_cgnat_shared_space ... ok [INFO] [stdout] test executors::tests::blocks_this_network_zero_slash_eight ... ok [INFO] [stdout] test executors::tests::blocks_unspecified_and_multicast_carryover ... ok [INFO] [stdout] test executors::tests::empty_json_object_fails_closed_to_true ... ok [INFO] [stdout] test content_filter::tests::block_mode_denies_when_pii_found_in_http_body ... ok [INFO] [stdout] test executors::tests::http_request_invalid_url_is_invalid_payload ... ok [INFO] [stdout] test executors::tests::http_request_malformed_json_is_invalid_payload ... ok [INFO] [stdout] test content_filter::tests::mask_rewrites_http_body ... ok [INFO] [stdout] test executors::tests::json_null_root_fails_closed_to_true ... ok [INFO] [stdout] test content_filter::tests::detector_not_configured_is_not_scanned ... ok [INFO] [stdout] test content_filter::tests::clean_content_yields_no_objection ... ok [INFO] [stdout] test executors::tests::malformed_json_fails_closed_to_true ... ok [INFO] [stdout] test executors::tests::missing_method_field_fails_closed_to_true ... ok [INFO] [stdout] test executors::tests::mutation_methods_return_true ... ok [INFO] [stdout] test executors::tests::mutation_methods_case_insensitive_return_true ... ok [INFO] [stdout] test executors::tests::non_mutation_methods_return_false ... ok [INFO] [stdout] test executors::tests::non_string_method_fails_closed_to_true ... ok [INFO] [stdout] test executors::tests::write_file_malformed_json_is_invalid_payload ... ok [INFO] [stdout] test guard::tests::audit_sink_receives_decision_lines_and_survives_reload ... ok [INFO] [stdout] test policy_signing::tests::parses_hex_signing_key ... ok [INFO] [stdout] test guard::tests::injected_metrics_are_isolated_per_guard ... ok [INFO] [stdout] test policy_signing::tests::signs_and_verifies_policy_yaml ... ok [INFO] [stdout] test provenance::tests::approved_receipt_verifies_and_carries_provenance ... ok [INFO] [stdout] test policy_signing::tests::reports_invalid_policy_signature ... ok [INFO] [stdout] test provenance::tests::tampering_approver_breaks_verification ... ok [INFO] [stdout] test provenance::tests::test_receipt_sign_and_verify ... ok [INFO] [stdout] test provenance::tests::colon_in_agent_id_cannot_forge_field_boundaries ... ok [INFO] [stdout] test provenance::tests::test_receipt_tamper_detection ... ok [INFO] [stdout] test audit_writer::tests::writes_lines_in_order ... ok [INFO] [stdout] test doctor::tests::doctor_renderers_include_expected_sections ... ok [INFO] [stdout] test guard::tests::concurrent_reload_and_signing_key_updates_are_not_lost ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 74 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.42s [INFO] [stdout] [INFO] [stderr] Running tests/approval_resume.rs (/opt/rustwide/target/release/deps/approval_resume-9d57f31ac17ba545) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test denied_request_is_denied ... ok [INFO] [stdout] test approved_request_executes ... ok [INFO] [stdout] test timeout_denies_and_marks_expired ... ok [INFO] [stdout] test non_ask_outcomes_pass_through_without_ledger_writes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] [stderr] Running tests/audit_async_integration.rs (/opt/rustwide/target/release/deps/audit_async_integration-ba8be712d8e7cb71) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test audit_under_concurrent_load_does_not_serialize ... ignored, perf smoke; run manually with --ignored [INFO] [stdout] test audit_file_writer_drops_when_full ... ok [INFO] [stdout] test audit_file_writer_orders_writes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/content_enforcement.rs (/opt/rustwide/target/release/deps/content_enforcement-8afb7fa9dd17f467) [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test input_without_policy_is_benign ... ok [INFO] [stdout] test no_content_policy_means_no_content_enforcement ... ok [INFO] [stdout] test warn_mode_allows_even_with_secret ... ok [INFO] [stdout] test block_mode_allows_clean_http_body ... ok [INFO] [stdout] test input_clean_text_is_benign ... ok [INFO] [stdout] test block_mode_denies_http_body_with_secret ... ok [INFO] [stdout] test input_warn_reports_labels_without_masking ... ok [INFO] [stdout] test input_mask_returns_redacted_text_to_host ... ok [INFO] [stdout] test input_block_flags_secret_in_prompt ... ok [INFO] [stdout] test mask_mode_writes_redacted_file_on_execution ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/e2e_full_chain.rs (/opt/rustwide/target/release/deps/e2e_full_chain-22004a1c60f09a3f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test test_e2e_anomaly_fuse ... ok [INFO] [stdout] test test_e2e_provenance_receipt ... ok [INFO] [stdout] test test_e2e_full_chain_allow ... FAILED [INFO] [stdout] test test_e2e_full_chain_deny ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_e2e_full_chain_allow stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_e2e_full_chain_allow' (8033) panicked at crates/agent-guard-sdk/tests/e2e_full_chain.rs:24:41: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: AuditFileOpen { path: "audit_e2e_allow.jsonl", source: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b47c8632731 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5b47c864bd2a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x5b47c86382dc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x5b47c860e3b6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5b47c86295f9 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x5b47c7fe14f0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5b47c8629922 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5b47c860e462 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5b47c86059f9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5b47c860f24d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x5b47c864c50c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x5b47c864c2e2 - core[812a354ff5be3162]::result::unwrap_failed [INFO] [stdout] 12: 0x5b47c7fd0c75 - >::call_once [INFO] [stdout] 13: 0x5b47c7fd482b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 14: 0x5b47c7fe1e75 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 15: 0x5b47c7fdc924 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5b47c7fe4fc2 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5b47c863189f - ::new::thread_start [INFO] [stdout] 18: 0x7145c3a3f07a - [INFO] [stdout] 19: 0x7145c3ad2534 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- test_e2e_full_chain_deny stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test_e2e_full_chain_deny' (8034) panicked at crates/agent-guard-sdk/tests/e2e_full_chain.rs:96:41: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: AuditFileOpen { path: "audit_e2e_deny.jsonl", source: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b47c8632731 - <::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt [INFO] [stdout] 1: 0x5b47c864bd2a - core[812a354ff5be3162]::fmt::write [INFO] [stdout] 2: 0x5b47c86382dc - as std[93043b772a62376c]::io::Write>::write_fmt [INFO] [stdout] 3: 0x5b47c860e3b6 - std[93043b772a62376c]::panicking::default_hook::{closure#0} [INFO] [stdout] 4: 0x5b47c86295f9 - std[93043b772a62376c]::panicking::default_hook [INFO] [stdout] 5: 0x5b47c7fe14f0 - test[8de0c696b8e66f4f]::test_main_inner::::{closure#0} [INFO] [stdout] 6: 0x5b47c8629922 - std[93043b772a62376c]::panicking::panic_with_hook [INFO] [stdout] 7: 0x5b47c860e462 - std[93043b772a62376c]::panicking::panic_handler::{closure#0} [INFO] [stdout] 8: 0x5b47c86059f9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] 9: 0x5b47c860f24d - __rustc[9fcb67b4460bf95]::rust_begin_unwind [INFO] [stdout] 10: 0x5b47c864c50c - core[812a354ff5be3162]::panicking::panic_fmt [INFO] [stdout] 11: 0x5b47c864c2e2 - core[812a354ff5be3162]::result::unwrap_failed [INFO] [stdout] 12: 0x5b47c7fcffa1 - >::call_once [INFO] [stdout] 13: 0x5b47c7fd482b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>> [INFO] [stdout] 14: 0x5b47c7fe1e75 - test[8de0c696b8e66f4f]::run_test::{closure#0} [INFO] [stdout] 15: 0x5b47c7fdc924 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] 16: 0x5b47c7fe4fc2 - ::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] 17: 0x5b47c863189f - ::new::thread_start [INFO] [stdout] 18: 0x7145c3a3f07a - [INFO] [stdout] 19: 0x7145c3ad2534 - clone [INFO] [stdout] 20: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_e2e_full_chain_allow [INFO] [stdout] test_e2e_full_chain_deny [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p agent-guard-sdk --test e2e_full_chain` [INFO] running `Command { std: "docker" "inspect" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e", kill_on_drop: false }` [INFO] [stdout] fcfdee68f00d34ef457f816e8d0315bbbcb26cf57d0fd15e606c47b07577c78e