[INFO] fetching crate cedar-policy 4.5.1... [INFO] testing cedar-policy-4.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate cedar-policy 4.5.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate cedar-policy 4.5.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cedar-policy 4.5.1 [INFO] tweaked toml for crates.io crate cedar-policy 4.5.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cedar-policy 4.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cedar-policy 4.5.1 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mintex v0.1.4 [INFO] [stderr] Downloaded cedar-policy-formatter v4.5.1 [INFO] [stderr] Downloaded nonempty v0.10.0 [INFO] [stderr] Downloaded tsify v0.4.5 [INFO] [stderr] Downloaded serde_derive_internals v0.28.0 [INFO] [stderr] Downloaded tsify-macros v0.4.5 [INFO] [stderr] Downloaded cedar-policy-core v4.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 92528ddb43673bd19083f1fc7da9061d62d6a3564621b52fba59fe32ac53c667 [INFO] running `Command { std: "docker" "start" "-a" "92528ddb43673bd19083f1fc7da9061d62d6a3564621b52fba59fe32ac53c667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "92528ddb43673bd19083f1fc7da9061d62d6a3564621b52fba59fe32ac53c667", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92528ddb43673bd19083f1fc7da9061d62d6a3564621b52fba59fe32ac53c667", kill_on_drop: false }` [INFO] [stdout] 92528ddb43673bd19083f1fc7da9061d62d6a3564621b52fba59fe32ac53c667 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3724e9d90a77a4cada5af4996d5792edfdf94df00f96f162979371cfb6e52c6 [INFO] running `Command { std: "docker" "start" "-a" "c3724e9d90a77a4cada5af4996d5792edfdf94df00f96f162979371cfb6e52c6", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling term v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.22.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling unicode-security v0.1.2 [INFO] [stderr] Compiling rustc_lexer v0.1.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling cedar-policy v4.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling nonempty v0.10.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling cedar-policy-core v4.5.1 [INFO] [stderr] Compiling serde_with v3.13.0 [INFO] [stderr] Compiling cedar-policy-formatter v4.5.1 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 04s [INFO] running `Command { std: "docker" "inspect" "c3724e9d90a77a4cada5af4996d5792edfdf94df00f96f162979371cfb6e52c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3724e9d90a77a4cada5af4996d5792edfdf94df00f96f162979371cfb6e52c6", kill_on_drop: false }` [INFO] [stdout] c3724e9d90a77a4cada5af4996d5792edfdf94df00f96f162979371cfb6e52c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4d6b3c776a04332de5f6aa69cd85411435289c4d5fa88ad9b625e9f6fc47da [INFO] running `Command { std: "docker" "start" "-a" "3f4d6b3c776a04332de5f6aa69cd85411435289c4d5fa88ad9b625e9f6fc47da", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling owo-colors v4.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling terminal_size v0.4.2 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling lalrpop-util v0.22.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling logos-codegen v0.15.0 [INFO] [stderr] Compiling supports-color v3.0.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling lalrpop v0.22.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.13.0 [INFO] [stderr] Compiling supports-hyperlinks v3.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling supports-unicode v3.0.0 [INFO] [stderr] Compiling logos-derive v0.15.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling serde_with v3.13.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling logos v0.15.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling indent_write v2.2.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling cool_asserts v2.0.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling criterion v0.6.0 [INFO] [stderr] Compiling cedar-policy-core v4.5.1 [INFO] [stderr] Compiling cedar-policy-formatter v4.5.1 [INFO] [stderr] Compiling cedar-policy v4.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0505]: cannot move out of `e` because it is borrowed [INFO] [stdout] --> src/test/test.rs:5171:148 [INFO] [stdout] | [INFO] [stdout] 5170 | ...tches!(PolicySet::from_str(src), Err(e) => { [INFO] [stdout] | - binding `e` declared here [INFO] [stdout] 5171 | ...t!(e.labels().is_some(), "no source span for the parse error resulting from:\n {src}\nerror was:\n{:?}", miette::Report::new(e)); [INFO] [stdout] | - borrow of `e` occurs here ^ move out of `e` occurs here [INFO] [stdout] | [INFO] [stdout] note: if `api::err::ParseErrors` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/api/err.rs:882:1 [INFO] [stdout] | [INFO] [stdout] 882 | pub struct ParseErrors(#[from] cedar_policy_core::parser::err::ParseErrors); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ consider implementing `Clone` for this type [INFO] [stdout] | [INFO] [stdout] ::: src/test/test.rs:5171:25 [INFO] [stdout] | [INFO] [stdout] 5171 | ... assert!(e.labels().is_some(), "no source span for the parse error resulting from:\n {src}\nerror was:\n{:?}", miette::Report::new(... [INFO] [stdout] | - you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `e` because it is borrowed [INFO] [stdout] --> src/test/test.rs:5189:153 [INFO] [stdout] | [INFO] [stdout] 5188 | ...tches!(eval_expression(&req, &entities, &expr), Err(e) => { [INFO] [stdout] | - binding `e` declared here [INFO] [stdout] 5189 | ...t!(e.labels().is_some(), "no source span for the evaluation error resulting from:\n {src}\nerror was:\n{:?}", miette::Report::new(e)); [INFO] [stdout] | - borrow of `e` occurs here ^ move out of `e` occurs here [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 5189 | assert!(e.clone().labels().is_some(), "no source span for the evaluation error resulting from:\n {src}\nerror was:\n{:?}", miette::Report::new(e)); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3f4d6b3c776a04332de5f6aa69cd85411435289c4d5fa88ad9b625e9f6fc47da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4d6b3c776a04332de5f6aa69cd85411435289c4d5fa88ad9b625e9f6fc47da", kill_on_drop: false }` [INFO] [stdout] 3f4d6b3c776a04332de5f6aa69cd85411435289c4d5fa88ad9b625e9f6fc47da