[INFO] cloning repository https://github.com/anuk909/cedar_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anuk909/cedar_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanuk909%2Fcedar_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanuk909%2Fcedar_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b19a4c7033519241245176ba17456d405e1cf7a [INFO] testing anuk909/cedar_example against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanuk909%2Fcedar_example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anuk909/cedar_example [INFO] finished tweaking git repo https://github.com/anuk909/cedar_example [INFO] tweaked toml for git repo https://github.com/anuk909/cedar_example written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anuk909/cedar_example on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anuk909/cedar_example 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol_str v0.3.2 [INFO] [stderr] Downloaded miette-derive v7.6.0 [INFO] [stderr] Downloaded ascii-canvas v4.0.0 [INFO] [stderr] Downloaded deranged v0.5.4 [INFO] [stderr] Downloaded enum-ordinalize-derive v4.3.1 [INFO] [stderr] Downloaded rustc_lexer v0.1.0 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded enum-ordinalize v4.3.0 [INFO] [stderr] Downloaded lalrpop-util v0.22.2 [INFO] [stderr] Downloaded nonempty v0.12.0 [INFO] [stderr] Downloaded psm v0.1.27 [INFO] [stderr] Downloaded educe v0.6.0 [INFO] [stderr] Downloaded term v1.2.0 [INFO] [stderr] Downloaded schemars v1.0.4 [INFO] [stderr] Downloaded unicode-security v0.1.2 [INFO] [stderr] Downloaded logos-codegen v0.15.1 [INFO] [stderr] Downloaded borsh v1.5.7 [INFO] [stderr] Downloaded miette v7.6.0 [INFO] [stderr] Downloaded stacker v0.1.22 [INFO] [stderr] Downloaded cedar-policy v4.6.0 [INFO] [stderr] Downloaded serde_with v3.15.0 [INFO] [stderr] Downloaded pretty v0.12.5 [INFO] [stderr] Downloaded lalrpop v0.22.2 [INFO] [stderr] Downloaded cedar-policy-formatter v4.6.0 [INFO] [stderr] Downloaded logos-derive v0.15.1 [INFO] [stderr] Downloaded serde_with_macros v3.15.0 [INFO] [stderr] Downloaded linked_hash_set v0.1.5 [INFO] [stderr] Downloaded cedar-policy-core v4.6.0 [INFO] [stderr] Downloaded petgraph v0.7.1 [INFO] [stderr] Downloaded logos v0.15.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4989fd7b2d5c23d1cc094fb6626eedd26f09bb1c263955a28c9bffb56360a9e [INFO] running `Command { std: "docker" "start" "-a" "c4989fd7b2d5c23d1cc094fb6626eedd26f09bb1c263955a28c9bffb56360a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4989fd7b2d5c23d1cc094fb6626eedd26f09bb1c263955a28c9bffb56360a9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4989fd7b2d5c23d1cc094fb6626eedd26f09bb1c263955a28c9bffb56360a9e", kill_on_drop: false }` [INFO] [stdout] c4989fd7b2d5c23d1cc094fb6626eedd26f09bb1c263955a28c9bffb56360a9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afeb60fad6c05b46dfcb82ade17cd8307bf65c69474444b1f254ee993e089481 [INFO] running `Command { std: "docker" "start" "-a" "afeb60fad6c05b46dfcb82ade17cd8307bf65c69474444b1f254ee993e089481", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling term v1.2.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling logos-codegen v0.15.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling rustc_lexer v0.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling cedar-policy v4.6.0 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling unicode-security v0.1.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling psm v0.1.27 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling lalrpop-util v0.22.2 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling logos-derive v0.15.1 [INFO] [stderr] Compiling logos v0.15.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.15.0 [INFO] [stderr] Compiling serde_with v3.15.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling nonempty v0.12.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling linked_hash_set v0.1.5 [INFO] [stderr] Compiling cedar-policy-core v4.6.0 [INFO] [stderr] Compiling cedar-policy-formatter v4.6.0 [INFO] [stderr] Compiling cedar_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 36s [INFO] running `Command { std: "docker" "inspect" "afeb60fad6c05b46dfcb82ade17cd8307bf65c69474444b1f254ee993e089481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afeb60fad6c05b46dfcb82ade17cd8307bf65c69474444b1f254ee993e089481", kill_on_drop: false }` [INFO] [stdout] afeb60fad6c05b46dfcb82ade17cd8307bf65c69474444b1f254ee993e089481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f86afefea836bca945d84bf13b3fb815ceaf9457f1e022b19d468f9d69d0f929 [INFO] running `Command { std: "docker" "start" "-a" "f86afefea836bca945d84bf13b3fb815ceaf9457f1e022b19d468f9d69d0f929", kill_on_drop: false }` [INFO] [stderr] Compiling cedar_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "f86afefea836bca945d84bf13b3fb815ceaf9457f1e022b19d468f9d69d0f929", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f86afefea836bca945d84bf13b3fb815ceaf9457f1e022b19d468f9d69d0f929", kill_on_drop: false }` [INFO] [stdout] f86afefea836bca945d84bf13b3fb815ceaf9457f1e022b19d468f9d69d0f929 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] da9fa121d25ce280839f8a44b4847074ecc778103320d4a007ae4543167eaf3f [INFO] running `Command { std: "docker" "start" "-a" "da9fa121d25ce280839f8a44b4847074ecc778103320d4a007ae4543167eaf3f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cedar_example-ea271ef163a99f80) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test utils::tests::test_request_from_json_str_invalid_json ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_missing_principal ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_invalid_entity_format ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_missing_resource ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_missing_action ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_valid ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_with_context ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "da9fa121d25ce280839f8a44b4847074ecc778103320d4a007ae4543167eaf3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da9fa121d25ce280839f8a44b4847074ecc778103320d4a007ae4543167eaf3f", kill_on_drop: false }` [INFO] [stdout] da9fa121d25ce280839f8a44b4847074ecc778103320d4a007ae4543167eaf3f