[INFO] fetching crate cedar-policy 3.4.1... [INFO] checking cedar-policy-3.4.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate cedar-policy 3.4.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate cedar-policy 3.4.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cedar-policy 3.4.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cedar-policy 3.4.1 [INFO] tweaked toml for crates.io crate cedar-policy 3.4.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 194 packages to latest compatible versions [INFO] [stderr] Adding anes v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding cedar-policy-core v3.4.1 (available: v4.0.0) [INFO] [stderr] Adding cedar-policy-validator v3.4.1 (available: v4.0.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding serde_derive_internals v0.28.0 (available: v0.29.1) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `cedar_policy` library target) [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdb51d99f0fc93804eb8a3f89bae623f91c11da6ddf70d7fab9e710edee60c53 [INFO] running `Command { std: "docker" "start" "-a" "fdb51d99f0fc93804eb8a3f89bae623f91c11da6ddf70d7fab9e710edee60c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdb51d99f0fc93804eb8a3f89bae623f91c11da6ddf70d7fab9e710edee60c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb51d99f0fc93804eb8a3f89bae623f91c11da6ddf70d7fab9e710edee60c53", kill_on_drop: false }` [INFO] [stdout] fdb51d99f0fc93804eb8a3f89bae623f91c11da6ddf70d7fab9e710edee60c53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec55b521b6fbe67dc462e70b52ca98cba7c65e1511a6dfcdb19a8dc8d6d6a27e [INFO] running `Command { std: "docker" "start" "-a" "ec55b521b6fbe67dc462e70b52ca98cba7c65e1511a6dfcdb19a8dc8d6d6a27e", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `cedar_policy` library target) [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking unicode-security v0.1.2 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Compiling cedar-policy-core v3.4.1 [INFO] [stderr] Compiling cedar-policy-validator v3.4.1 [INFO] [stderr] Checking cedar-policy v3.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/api.rs:1713:38 [INFO] [stdout] | [INFO] [stdout] 1710 | pub fn ancestors<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1713 | ) -> Option + 'a> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/api.rs:1713:38 [INFO] [stdout] | [INFO] [stdout] 1710 | pub fn ancestors<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 1713 | ) -> Option + 'a> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_duplicate_context_key`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1624:5 [INFO] [stdout] | [INFO] [stdout] 1624 | / fn test_authorized_fails_duplicate_context_key() { [INFO] [stdout] 1625 | | let call = r#"{ [INFO] [stdout] 1626 | | "principal" : { [INFO] [stdout] 1627 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1649 | | assert_is_failure(&json_is_authorized(call), true, "found duplicate key"); [INFO] [stdout] 1650 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_duplicate_entity_uid`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1577:5 [INFO] [stdout] | [INFO] [stdout] 1577 | / fn test_authorized_fails_duplicate_entity_uid() { [INFO] [stdout] 1578 | | let call = r#"{ [INFO] [stdout] 1579 | | "principal" : { [INFO] [stdout] 1580 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1620 | | ); [INFO] [stdout] 1621 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_instantiations_ids`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1260:5 [INFO] [stdout] | [INFO] [stdout] 1260 | / fn test_authorized_fails_on_duplicate_instantiations_ids() { [INFO] [stdout] 1261 | | let call = r#"{ [INFO] [stdout] 1262 | | "principal" : { [INFO] [stdout] 1263 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1307 | | ); [INFO] [stdout] 1308 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_policy_ids`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1417:5 [INFO] [stdout] | [INFO] [stdout] 1417 | / fn test_authorized_fails_on_duplicate_policy_ids() { [INFO] [stdout] 1418 | | let call = r#"{ [INFO] [stdout] 1419 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1420 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1433 | | assert_is_failure(&json_is_authorized(call), true, "no duplicate IDs"); [INFO] [stdout] 1434 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_slot_instantiation1`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1457:5 [INFO] [stdout] | [INFO] [stdout] 1457 | / fn test_authorized_fails_on_duplicate_slot_instantiation1() { [INFO] [stdout] 1458 | | let call = r#"{ [INFO] [stdout] 1459 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1460 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1489 | | ); [INFO] [stdout] 1490 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_slot_instantiation2`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | / fn test_authorized_fails_on_duplicate_slot_instantiation2() { [INFO] [stdout] 1494 | | let call = r#"{ [INFO] [stdout] 1495 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1496 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1529 | | ); [INFO] [stdout] 1530 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_slot_instantiation3`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1533:5 [INFO] [stdout] | [INFO] [stdout] 1533 | / fn test_authorized_fails_on_duplicate_slot_instantiation3() { [INFO] [stdout] 1534 | | let call = r#"{ [INFO] [stdout] 1535 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1536 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1573 | | ); [INFO] [stdout] 1574 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_template_ids`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1437:5 [INFO] [stdout] | [INFO] [stdout] 1437 | / fn test_authorized_fails_on_duplicate_template_ids() { [INFO] [stdout] 1438 | | let call = r#"{ [INFO] [stdout] 1439 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1440 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1453 | | assert_is_failure(&json_is_authorized(call), true, "found duplicate key"); [INFO] [stdout] 1454 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_policy_collision_with_template`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1230 | / fn test_authorized_fails_on_policy_collision_with_template() { [INFO] [stdout] 1231 | | let call = r#"{ [INFO] [stdout] 1232 | | "principal" : { [INFO] [stdout] 1233 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1256 | | ); [INFO] [stdout] 1257 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_template_instantiation_collision_with_policy`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1352:5 [INFO] [stdout] | [INFO] [stdout] 1352 | / fn test_authorized_fails_on_template_instantiation_collision_with_policy() { [INFO] [stdout] 1353 | | let call = r#"{ [INFO] [stdout] 1354 | | "principal" : { [INFO] [stdout] 1355 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1389 | | ); [INFO] [stdout] 1390 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_template_instantiation_collision_with_template`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | / fn test_authorized_fails_on_template_instantiation_collision_with_template() { [INFO] [stdout] 1312 | | let call = r#"{ [INFO] [stdout] 1313 | | "principal" : { [INFO] [stdout] 1314 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1348 | | ); [INFO] [stdout] 1349 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 973 | / fn test_authorized_on_multi_policy_slice() { [INFO] [stdout] 974 | | let call = r#" [INFO] [stdout] 975 | | { [INFO] [stdout] 976 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 999 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 1000 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice_denies_when_expected`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1074:5 [INFO] [stdout] | [INFO] [stdout] 1074 | / fn test_authorized_on_multi_policy_slice_denies_when_expected() { [INFO] [stdout] 1075 | | let call = r#" [INFO] [stdout] 1076 | | { [INFO] [stdout] 1077 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1099 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice_with_string_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1003:5 [INFO] [stdout] | [INFO] [stdout] 1003 | / fn test_authorized_on_multi_policy_slice_with_string_policies() { [INFO] [stdout] 1004 | | let call = r#" [INFO] [stdout] 1005 | | { [INFO] [stdout] 1006 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1070 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice_with_string_policies_denies_when_expected`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1103:5 [INFO] [stdout] | [INFO] [stdout] 1103 | / fn test_authorized_on_multi_policy_slice_with_string_policies_denies_when_expected() { [INFO] [stdout] 1104 | | let call = r#" [INFO] [stdout] 1105 | | { [INFO] [stdout] 1106 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1126 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | / fn test_authorized_on_simple_slice() { [INFO] [stdout] 814 | | let call = r#" [INFO] [stdout] 815 | | { [INFO] [stdout] 816 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 838 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 839 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice_with_attrs_and_parents`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:901:5 [INFO] [stdout] | [INFO] [stdout] 901 | / fn test_authorized_on_simple_slice_with_attrs_and_parents() { [INFO] [stdout] 902 | | let call = r#" [INFO] [stdout] 903 | | { [INFO] [stdout] 904 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 969 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 970 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice_with_context`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 869 | / fn test_authorized_on_simple_slice_with_context() { [INFO] [stdout] 870 | | let call = r#" [INFO] [stdout] 871 | | { [INFO] [stdout] 872 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 897 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 898 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice_with_string_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:842:5 [INFO] [stdout] | [INFO] [stdout] 842 | / fn test_authorized_on_simple_slice_with_string_policies() { [INFO] [stdout] 843 | | let call = r#" [INFO] [stdout] 844 | | { [INFO] [stdout] 845 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 865 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 866 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_with_template_as_policy_should_fail`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1130:5 [INFO] [stdout] | [INFO] [stdout] 1130 | / fn test_authorized_with_template_as_policy_should_fail() { [INFO] [stdout] 1131 | | let call = r#" [INFO] [stdout] 1132 | | { [INFO] [stdout] 1133 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1153 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_with_template_instantiation`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1186:5 [INFO] [stdout] | [INFO] [stdout] 1186 | / fn test_authorized_with_template_instantiation() { [INFO] [stdout] 1187 | | let call = r#" [INFO] [stdout] 1188 | | { [INFO] [stdout] 1189 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1226 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 1227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_with_template_should_fail`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1157:5 [INFO] [stdout] | [INFO] [stdout] 1157 | / fn test_authorized_with_template_should_fail() { [INFO] [stdout] 1158 | | let call = r#" [INFO] [stdout] 1159 | | { [INFO] [stdout] 1160 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1182 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_failure_on_invalid_syntax`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | / fn test_failure_on_invalid_syntax() { [INFO] [stdout] 752 | | assert_is_failure( [INFO] [stdout] 753 | | &json_is_authorized("iefjieoafiaeosij"), [INFO] [stdout] 754 | | true, [INFO] [stdout] 755 | | "expected value", [INFO] [stdout] 756 | | ); [INFO] [stdout] 757 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_not_authorized_on_empty_slice`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 760 | / fn test_not_authorized_on_empty_slice() { [INFO] [stdout] 761 | | let call = r#" [INFO] [stdout] 762 | | { [INFO] [stdout] 763 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 783 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 784 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_not_authorized_on_unspecified`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 787 | / fn test_not_authorized_on_unspecified() { [INFO] [stdout] 788 | | let call = r#" [INFO] [stdout] 789 | | { [INFO] [stdout] 790 | | "principal": null, [INFO] [stdout] ... | [INFO] [stdout] 809 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 810 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_slice_convert`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | / fn test_slice_convert() { [INFO] [stdout] 698 | | let entities = serde_json::json!( [INFO] [stdout] 699 | | [ [INFO] [stdout] 700 | | { [INFO] [stdout] ... | [INFO] [stdout] 747 | | ); [INFO] [stdout] 748 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_bad_call_format_fails`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | / fn test_bad_call_format_fails() { [INFO] [stdout] 418 | | let result = json_validate("uerfheriufheiurfghtrg"); [INFO] [stdout] 419 | | assert_is_failure(&result, true, "error parsing call: expected value"); [INFO] [stdout] 420 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_empty_policy_validates_without_notes`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / fn test_empty_policy_validates_without_notes() { [INFO] [stdout] 175 | | let call_json = r#"{ [INFO] [stdout] 176 | | "schema": {}, [INFO] [stdout] 177 | | "policySet": {} [INFO] [stdout] ... | [INFO] [stdout] 182 | | assert_validates_without_notes(result); [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_nontrivial_correct_policy_validates_without_notes`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / fn test_nontrivial_correct_policy_validates_without_notes() { [INFO] [stdout] 187 | | let call_json = r#"{ [INFO] [stdout] 188 | | "schema": { "": { [INFO] [stdout] 189 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 238 | | assert_validates_without_notes(result); [INFO] [stdout] 239 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_nontrivial_correct_policy_validates_without_notes_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / fn test_nontrivial_correct_policy_validates_without_notes_concatenated_policies() { [INFO] [stdout] 296 | | let call_json = r#"{ [INFO] [stdout] 297 | | "schema": { "": { [INFO] [stdout] 298 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 347 | | assert_validates_without_notes(result); [INFO] [stdout] 348 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_policy_with_parse_error_fails_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | / fn test_policy_with_parse_error_fails_concatenated_policies() { [INFO] [stdout] 400 | | let call_json = r#"{ [INFO] [stdout] 401 | | "schema": {"": { [INFO] [stdout] 402 | | "entityTypes": {}, [INFO] [stdout] ... | [INFO] [stdout] 413 | | ); [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_policy_with_parse_error_fails_passing_on_errors`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | / fn test_policy_with_parse_error_fails_passing_on_errors() { [INFO] [stdout] 243 | | let call_json = r#"{ [INFO] [stdout] 244 | | "schema": {"": { [INFO] [stdout] 245 | | "entityTypes": {}, [INFO] [stdout] ... | [INFO] [stdout] 259 | | ); [INFO] [stdout] 260 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_policy_with_parse_error_fails_passing_on_errors_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | / fn test_policy_with_parse_error_fails_passing_on_errors_concatenated_policies() { [INFO] [stdout] 352 | | let call_json = r#"{ [INFO] [stdout] 353 | | "schema": {"": { [INFO] [stdout] 354 | | "entityTypes": {}, [INFO] [stdout] ... | [INFO] [stdout] 366 | | ); [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_semantically_incorrect_policy_fails_with_notes`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / fn test_semantically_incorrect_policy_fails_with_notes() { [INFO] [stdout] 264 | | let call_json = r#"{ [INFO] [stdout] 265 | | "schema":{"": { [INFO] [stdout] 266 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 291 | | assert_validates_with_notes(result, 2); [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_semantically_incorrect_policy_fails_with_notes_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | / fn test_semantically_incorrect_policy_fails_with_notes_concatenated_policies() { [INFO] [stdout] 371 | | let call_json = r#"{ [INFO] [stdout] 372 | | "schema": {"": { [INFO] [stdout] 373 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 395 | | assert_validates_with_notes(result, 1); [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_validate_empty_policy_directly`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / fn test_validate_empty_policy_directly() { [INFO] [stdout] 159 | | let schema = cedar_policy_validator::SchemaFragment(HashMap::new()); [INFO] [stdout] 160 | | [INFO] [stdout] 161 | | let call = ValidateCall { [INFO] [stdout] ... | [INFO] [stdout] 170 | | assert_validates_without_notes(result); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_validate_fails_on_duplicate_namespace`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | / fn test_validate_fails_on_duplicate_namespace() { [INFO] [stdout] 424 | | let call_json = r#"{ [INFO] [stdout] 425 | | "schema": { [INFO] [stdout] 426 | | "foo": { "entityTypes": {}, "actions": {} }, [INFO] [stdout] ... | [INFO] [stdout] 437 | | ); [INFO] [stdout] 438 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_validate_fails_on_duplicate_policy_id`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / fn test_validate_fails_on_duplicate_policy_id() { [INFO] [stdout] 462 | | let call_json = r#"{ [INFO] [stdout] 463 | | "schema": { "": { "entityTypes": {}, "actions": {} } }, [INFO] [stdout] 464 | | "policySet": { [INFO] [stdout] ... | [INFO] [stdout] 471 | | assert_is_failure(&result, true, "no duplicate IDs"); [INFO] [stdout] 472 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(bool, std::option::Option, std::option::Option, std::option::Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:579:15 [INFO] [stdout] | [INFO] [stdout] 530 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | ) -> WithWarnings>> { [INFO] [stdout] 532 | let mut errs = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 533 | let mut warnings = vec![]; [INFO] [stdout] 534 | let schema = match self.schema.map(Schema::parse).transpose() { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 579 | match (errs.is_empty(), request, policies, entities) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(bool, std::option::Option<(api::Schema, Box>)>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 102 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | ) -> WithWarnings>> { [INFO] [stdout] 104 | let mut errs = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let policies = match self.policy_set.parse(None) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | match (errs.is_empty(), pair) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `(bool, std::option::Option, std::option::Option, std::option::Option)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:579:15 [INFO] [stdout] | [INFO] [stdout] 530 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | ) -> WithWarnings>> { [INFO] [stdout] 532 | let mut errs = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 533 | let mut warnings = vec![]; [INFO] [stdout] 534 | let schema = match self.schema.map(Schema::parse).transpose() { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 579 | match (errs.is_empty(), request, policies, entities) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(bool, std::option::Option<(api::Schema, Box>)>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:119:15 [INFO] [stdout] | [INFO] [stdout] 102 | self, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | ) -> WithWarnings>> { [INFO] [stdout] 104 | let mut errs = vec![]; [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let policies = match self.policy_set.parse(None) { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | match (errs.is_empty(), pair) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result<(), cedar_policy_core::entities::EntitiesError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:1736:15 [INFO] [stdout] | [INFO] [stdout] 1545 | let schema = schema(); [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1736 | match validate_entity(entity, &schema) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `cedar_policy_core::entities::EntitiesError` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:3450:13 [INFO] [stdout] | [INFO] [stdout] 3446 | let r = Entities::from_json_value(json, None).err().unwrap(); [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3450 | e => panic!("Wrong error. Expected `Duplicate`, got: {e:?}"), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `api::PolicySet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:3970:17 [INFO] [stdout] | [INFO] [stdout] 3931 | let req = Request::new(None, None, None, Context::empty(), None).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3932 | let entities = Entities::empty(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3950 | let req = Request::new(None, None, None, Context::empty(), None).unwrap(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 3951 | let entities = Entities::empty(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3964 | let validator = Validator::new( [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3970 | let pset = PolicySet::from_str(src).unwrap(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy` (lib test) due to 6 previous errors; 39 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ec55b521b6fbe67dc462e70b52ca98cba7c65e1511a6dfcdb19a8dc8d6d6a27e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec55b521b6fbe67dc462e70b52ca98cba7c65e1511a6dfcdb19a8dc8d6d6a27e", kill_on_drop: false }` [INFO] [stdout] ec55b521b6fbe67dc462e70b52ca98cba7c65e1511a6dfcdb19a8dc8d6d6a27e