[INFO] fetching crate hessra-cap-policy 0.2.0... [INFO] testing hessra-cap-policy-0.2.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate hessra-cap-policy 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate hessra-cap-policy 0.2.0 [INFO] finished tweaking crates.io crate hessra-cap-policy 0.2.0 [INFO] tweaked toml for crates.io crate hessra-cap-policy 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hessra-cap-policy 0.2.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hessra-cap-policy 0.2.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3384c4259029b6bd77bca0616f55ab17dbe1cc3dbaf504e41335b617a6080e9 [INFO] running `Command { std: "docker" "start" "-a" "f3384c4259029b6bd77bca0616f55ab17dbe1cc3dbaf504e41335b617a6080e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3384c4259029b6bd77bca0616f55ab17dbe1cc3dbaf504e41335b617a6080e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3384c4259029b6bd77bca0616f55ab17dbe1cc3dbaf504e41335b617a6080e9", kill_on_drop: false }` [INFO] [stdout] f3384c4259029b6bd77bca0616f55ab17dbe1cc3dbaf504e41335b617a6080e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fdb34820cf8c909bb781c45caf6e2d6016e69d136a181db182e99224f602b7c [INFO] running `Command { std: "docker" "start" "-a" "9fdb34820cf8c909bb781c45caf6e2d6016e69d136a181db182e99224f602b7c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling deranged v0.5.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling zmij v1.0.20 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling biscuit-auth v6.0.0 [INFO] [stderr] Compiling chrono v0.4.43 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling glob-match v0.2.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling biscuit-parser v0.2.0 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling biscuit-quote v0.3.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hessra-token-core v1.0.0 [INFO] [stderr] Compiling hessra-context-token v1.1.0 [INFO] [stderr] Compiling hessra-cap-token v1.0.0 [INFO] [stderr] Compiling hessra-identity-token v1.1.0 [INFO] [stderr] Compiling hessra-cap-engine v0.2.0 [INFO] [stderr] Compiling hessra-cap-policy v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.90s [INFO] running `Command { std: "docker" "inspect" "9fdb34820cf8c909bb781c45caf6e2d6016e69d136a181db182e99224f602b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fdb34820cf8c909bb781c45caf6e2d6016e69d136a181db182e99224f602b7c", kill_on_drop: false }` [INFO] [stdout] 9fdb34820cf8c909bb781c45caf6e2d6016e69d136a181db182e99224f602b7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77edfae707555b8a299be16439465f5fc24044950aa77404c10388a89e42ff7a [INFO] running `Command { std: "docker" "start" "-a" "77edfae707555b8a299be16439465f5fc24044950aa77404c10388a89e42ff7a", kill_on_drop: false }` [INFO] [stderr] Compiling hessra-cap-policy v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "77edfae707555b8a299be16439465f5fc24044950aa77404c10388a89e42ff7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77edfae707555b8a299be16439465f5fc24044950aa77404c10388a89e42ff7a", kill_on_drop: false }` [INFO] [stdout] 77edfae707555b8a299be16439465f5fc24044950aa77404c10388a89e42ff7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f640e1ce4066734da49f746bf767c57a098c0146db4a9f940bb00ce4cee76ced [INFO] running `Command { std: "docker" "start" "-a" "f640e1ce4066734da49f746bf767c57a098c0146db4a9f940bb00ce4cee76ced", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hessra_cap_policy-5475d9bda25f8a34) [INFO] [stdout] running 14 tests [INFO] [stderr] Doc-tests hessra_cap_policy [INFO] [stdout] test matching::tests::test_exact_match ... ok [INFO] [stdout] test matching::tests::test_wildcard_match ... ok [INFO] [stdout] test policy::tests::test_basic_grant ... ok [INFO] [stdout] test matching::tests::test_full_wildcard ... ok [INFO] [stdout] test matching::tests::test_tool_wildcard ... ok [INFO] [stdout] test policy::tests::test_classification_lookup ... ok [INFO] [stdout] test policy::tests::test_exposure_allows_non_blocked ... ok [INFO] [stdout] test policy::tests::test_compound_exposure_rule ... ok [INFO] [stdout] test policy::tests::test_can_delegate ... ok [INFO] [stdout] test policy::tests::test_denied_unknown_subject ... ok [INFO] [stdout] test policy::tests::test_denied_no_capability ... ok [INFO] [stdout] test policy::tests::test_exposure_blocks_access ... ok [INFO] [stdout] test policy::tests::test_list_grants ... ok [INFO] [stdout] test policy::tests::test_denied_wrong_operation ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f640e1ce4066734da49f746bf767c57a098c0146db4a9f940bb00ce4cee76ced", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f640e1ce4066734da49f746bf767c57a098c0146db4a9f940bb00ce4cee76ced", kill_on_drop: false }` [INFO] [stdout] f640e1ce4066734da49f746bf767c57a098c0146db4a9f940bb00ce4cee76ced