[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#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6 [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 1ef7943ee607160a564655b6596f83670ef95df5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "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" "+1ef7943ee607160a564655b6596f83670ef95df5" "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 rustc_lexer v0.1.0 [INFO] [stderr] Downloaded miette-derive v7.6.0 [INFO] [stderr] Downloaded logos-derive v0.15.1 [INFO] [stderr] Downloaded nonempty v0.12.0 [INFO] [stderr] Downloaded lalrpop-util v0.22.2 [INFO] [stderr] Downloaded linked_hash_set v0.1.5 [INFO] [stderr] Downloaded pretty v0.12.5 [INFO] [stderr] Downloaded term v1.2.0 [INFO] [stderr] Downloaded logos-codegen v0.15.1 [INFO] [stderr] Downloaded cedar-policy-formatter v4.6.0 [INFO] [stderr] Downloaded unicode-security v0.1.2 [INFO] [stderr] Downloaded cedar-policy v4.6.0 [INFO] [stderr] Downloaded miette v7.6.0 [INFO] [stderr] Downloaded lalrpop v0.22.2 [INFO] [stderr] Downloaded cedar-policy-core v4.6.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1a49c7d7474c66a43b7f87b9ef2c80c6b869f03ce07e77508cc45268ee12f41 [INFO] running `Command { std: "docker" "start" "-a" "d1a49c7d7474c66a43b7f87b9ef2c80c6b869f03ce07e77508cc45268ee12f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1a49c7d7474c66a43b7f87b9ef2c80c6b869f03ce07e77508cc45268ee12f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1a49c7d7474c66a43b7f87b9ef2c80c6b869f03ce07e77508cc45268ee12f41", kill_on_drop: false }` [INFO] [stdout] d1a49c7d7474c66a43b7f87b9ef2c80c6b869f03ce07e77508cc45268ee12f41 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e010ea7696a8c9a28afad189fca51b3c5c23930aa58bbe9372011e30d9d23d3c [INFO] running `Command { std: "docker" "start" "-a" "e010ea7696a8c9a28afad189fca51b3c5c23930aa58bbe9372011e30d9d23d3c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [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 parking_lot_core v0.9.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling term v1.2.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling logos-codegen v0.15.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Compiling either v1.15.0 [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 unicode-normalization v0.1.24 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling cedar-policy v4.6.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling psm v0.1.27 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling unicode-security v0.1.2 [INFO] [stderr] Compiling sha3 v0.10.8 [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 thiserror-impl v2.0.17 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling miette-derive v7.6.0 [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 thiserror v2.0.17 [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 miette v7.6.0 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling nonempty v0.12.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 29s [INFO] running `Command { std: "docker" "inspect" "e010ea7696a8c9a28afad189fca51b3c5c23930aa58bbe9372011e30d9d23d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e010ea7696a8c9a28afad189fca51b3c5c23930aa58bbe9372011e30d9d23d3c", kill_on_drop: false }` [INFO] [stdout] e010ea7696a8c9a28afad189fca51b3c5c23930aa58bbe9372011e30d9d23d3c [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3128c26b97596d069a0d889a5d9655cf3de06adc49f5101326f94a6844e6d718 [INFO] running `Command { std: "docker" "start" "-a" "3128c26b97596d069a0d889a5d9655cf3de06adc49f5101326f94a6844e6d718", 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.33s [INFO] running `Command { std: "docker" "inspect" "3128c26b97596d069a0d889a5d9655cf3de06adc49f5101326f94a6844e6d718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3128c26b97596d069a0d889a5d9655cf3de06adc49f5101326f94a6844e6d718", kill_on_drop: false }` [INFO] [stdout] 3128c26b97596d069a0d889a5d9655cf3de06adc49f5101326f94a6844e6d718 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfbbe7e28e6c94c16de571e9121b3d24d1282722d554d13af4d30e4c94ece626 [INFO] running `Command { std: "docker" "start" "-a" "bfbbe7e28e6c94c16de571e9121b3d24d1282722d554d13af4d30e4c94ece626", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cedar_example-e59879e1c90d55a8) [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_with_context ... ok [INFO] [stdout] test utils::tests::test_request_from_json_str_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bfbbe7e28e6c94c16de571e9121b3d24d1282722d554d13af4d30e4c94ece626", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbbe7e28e6c94c16de571e9121b3d24d1282722d554d13af4d30e4c94ece626", kill_on_drop: false }` [INFO] [stdout] bfbbe7e28e6c94c16de571e9121b3d24d1282722d554d13af4d30e4c94ece626