[INFO] fetching crate doxa-policy 0.1.6... [INFO] testing doxa-policy-0.1.6 against 1.97.0-beta.6 for beta-1.98-2 [INFO] extracting crate doxa-policy 0.1.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate doxa-policy 0.1.6 [INFO] finished tweaking crates.io crate doxa-policy 0.1.6 [INFO] tweaked toml for crates.io crate doxa-policy 0.1.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate doxa-policy 0.1.6 on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate doxa-policy 0.1.6 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.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded utoipa-axum v0.2.0 [INFO] [stderr] Downloaded doxa-macros v0.1.6 [INFO] [stderr] Downloaded logos-derive v0.16.1 [INFO] [stderr] Downloaded doxa-docs v0.1.6 [INFO] [stderr] Downloaded smol_str v0.3.6 [INFO] [stderr] Downloaded nonempty v0.12.0 [INFO] [stderr] Downloaded rustc-literal-escaper v0.0.7 [INFO] [stderr] Downloaded linked_hash_set v0.1.6 [INFO] [stderr] Downloaded pretty v0.12.5 [INFO] [stderr] Downloaded ascii-canvas v4.0.0 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.1 [INFO] [stderr] Downloaded logos v0.16.1 [INFO] [stderr] Downloaded stacker v0.1.23 [INFO] [stderr] Downloaded lalrpop-util v0.22.2 [INFO] [stderr] Downloaded cached_proc_macro v0.27.0 [INFO] [stderr] Downloaded serde_with_macros v3.18.0 [INFO] [stderr] Downloaded cedar-policy-formatter v4.9.1 [INFO] [stderr] Downloaded psm v0.1.30 [INFO] [stderr] Downloaded logos-codegen v0.16.1 [INFO] [stderr] Downloaded term v1.2.1 [INFO] [stderr] Downloaded cached v0.59.0 [INFO] [stderr] Downloaded cedar-policy v4.9.1 [INFO] [stderr] Downloaded serde_with v3.18.0 [INFO] [stderr] Downloaded lalrpop v0.22.2 [INFO] [stderr] Downloaded cedar-policy-core v4.9.1 [INFO] [stderr] Downloaded tokio v1.52.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef [INFO] running `Command { std: "docker" "start" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", 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" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", 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" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling siphasher v1.0.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling term v1.2.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling keccak v0.1.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling tinyvec v1.11.0 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling unicode-script v0.5.8 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling stacker v0.1.23 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling rustc-literal-escaper v0.0.7 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling unicode-security v0.1.2 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling cedar-policy v4.9.1 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.1 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling smol_str v0.3.6 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.2 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling ar_archive_writer v0.5.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.2 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling tokio v1.52.0 [INFO] [stderr] Compiling psm v0.1.30 [INFO] [stderr] Compiling lalrpop-util v0.22.2 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling logos-codegen v0.16.1 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.18.0 [INFO] [stderr] Compiling cached_proc_macro v0.27.0 [INFO] [stderr] Compiling logos-derive v0.16.1 [INFO] [stderr] Compiling serde_with v3.18.0 [INFO] [stderr] Compiling logos v0.16.1 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling nonempty v0.12.0 [INFO] [stderr] Compiling linked_hash_set v0.1.6 [INFO] [stderr] Compiling cached v0.59.0 [INFO] [stderr] Compiling cedar-policy-core v4.9.1 [INFO] [stderr] Compiling cedar-policy-formatter v4.9.1 [INFO] [stderr] Compiling doxa-policy v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", 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" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling doxa-policy v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.72s [INFO] running `Command { std: "docker" "inspect" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", 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" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/doxa_policy-19a72a699d008a17) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test policy::cedar::tests::cache_handle_is_cheap_to_clone_and_shareable ... ok [INFO] [stdout] test policy::cedar::tests::new_uses_default_ttl ... ok [INFO] [stdout] test policy::cedar::tests::with_cache_ttl_overrides_default ... ok [INFO] [stdout] test policy::cedar::tests::resolve_uses_custom_is_admin_role ... ok [INFO] [stdout] test policy::cedar::tests::extension_principal_overrides_propagate_to_uid ... ok [INFO] [stdout] test router::tests::check_capability_propagates_uid_build_error ... ok [INFO] [stdout] test uid::tests::build_uid_simple_type ... ok [INFO] [stdout] test router::tests::check_capability_with_empty_tenant_returns_false ... ok [INFO] [stdout] test uid::tests::validate_component_allows_alphanumeric_and_punctuation ... ok [INFO] [stdout] test uid::tests::validate_component_rejects_colon ... ok [INFO] [stdout] test uid::tests::validate_component_rejects_double_quote ... ok [INFO] [stdout] test uid::tests::validate_component_rejects_whitespace ... ok [INFO] [stdout] test uid::tests::validate_component_rejects_empty ... ok [INFO] [stdout] test uid::tests::validate_component_rejects_non_ascii ... ok [INFO] [stdout] test uid::tests::action_uid_uses_given_type ... ok [INFO] [stdout] test uid::tests::build_uid_rejects_invalid_type_name ... ok [INFO] [stdout] test router::tests::check_capability_returns_false_with_no_matching_policy ... ok [INFO] [stdout] test router::tests::check_capability_returns_true_when_all_checks_allow ... ok [INFO] [stdout] test router::tests::evaluate_capabilities_preserves_all_names ... ok [INFO] [stdout] test router::tests::check_capability_returns_false_on_first_deny ... ok [INFO] [stdout] test uid::tests::principal_uid_uses_given_type ... ok [INFO] [stdout] test router::tests::evaluate_capabilities_returns_partial_grants_independently ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests doxa_policy [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/capability.rs - capability (line 25) ... ignored [INFO] [stdout] test src/store.rs - store::PolicyStore (line 39) ... ignored [INFO] [stdout] test src/capability.rs - capability::Capable (line 65) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef", kill_on_drop: false }` [INFO] [stdout] 2444ae79f14a9d5430c71e02a4d8c2c8132a63f138a9b5d2afd0d9ad893bc0ef