[INFO] fetching crate cedar-policy 3.3.0... [INFO] checking cedar-policy-3.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cedar-policy 3.3.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cedar-policy 3.3.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cedar-policy 3.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cedar-policy 3.3.0 [INFO] tweaked toml for crates.io crate cedar-policy 3.3.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (latest: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (latest: v0.21.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding serde_derive_internals v0.28.0 (latest: v0.29.1) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding term v0.7.0 (latest: v1.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c881c631c9b31146ebcf6acd1f87f4ad64f478f5e8002d37b28df43f278c3ffd [INFO] running `Command { std: "docker" "start" "-a" "c881c631c9b31146ebcf6acd1f87f4ad64f478f5e8002d37b28df43f278c3ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c881c631c9b31146ebcf6acd1f87f4ad64f478f5e8002d37b28df43f278c3ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c881c631c9b31146ebcf6acd1f87f4ad64f478f5e8002d37b28df43f278c3ffd", kill_on_drop: false }` [INFO] [stdout] c881c631c9b31146ebcf6acd1f87f4ad64f478f5e8002d37b28df43f278c3ffd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c3e0385258b1bdc7293f5d7d4d692db555dce93ad29ea6c9a73139707e5a49d [INFO] running `Command { std: "docker" "start" "-a" "4c3e0385258b1bdc7293f5d7d4d692db555dce93ad29ea6c9a73139707e5a49d", 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 memchr v2.7.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [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 indexmap v2.5.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking clap_lex v0.7.2 [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 anstyle v1.0.8 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking unicode-security v0.1.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Compiling cedar-policy-core v3.3.0 [INFO] [stderr] Compiling cedar-policy-validator v3.3.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking cedar-policy v3.3.0 (/opt/rustwide/workdir) [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] warning: unreachable pattern [INFO] [stdout] --> src/api.rs:2341:13 [INFO] [stdout] | [INFO] [stdout] 2341 | Err(infallible) => match infallible {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ffi/is_authorized.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/is_authorized.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 149 | uid: EntityUid, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | attrs: HashMap, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | parents: HashSet, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(Self(ast::Entity::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 157 | | uid.0, [INFO] [stdout] 158 | | attrs [INFO] [stdout] 159 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 163 | | &Extensions::all_available(), [INFO] [stdout] 164 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | .map(|(k, v)| (SmolStr::from(k), v.0)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new_no_attrs(uid: EntityUid, parents: HashSet) -> Self { [INFO] [stdout] | -------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Self(ast::Entity::new_with_attr_partial_value( [INFO] [stdout] | ______________^ [INFO] [stdout] 176 | | uid.0, [INFO] [stdout] 177 | | HashMap::new(), [INFO] [stdout] 178 | | parents.into_iter().map(|uid| uid.0).collect(), [INFO] [stdout] 179 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn with_uid(uid: EntityUid) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | // INVARIANT(UidOfEntityNotUnspecified): by invariant on `EntityUid` [INFO] [stdout] 194 | Self(ast::Entity::with_uid(uid.0)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 233 | let v = match ast::Value::try_from(self.0.get(attr)?.clone()) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | Err(e) => return Some(Err(e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | }; [INFO] [stdout] 237 | Some(Ok(EvalResult::from(v))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 242 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let (uid, attrs, ancestors) = self.0.into_inner(); [INFO] [stdout] | --- ----- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | [INFO] [stdout] 250 | let attrs = attrs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | EntityUid(uid), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 242 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let (uid, attrs, ancestors) = self.0.into_inner(); [INFO] [stdout] | --- ----- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | [INFO] [stdout] 250 | let attrs = attrs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | ancestors.into_iter().map(EntityUid).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 252 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | / match v { [INFO] [stdout] 256 | | ast::PartialValue::Value(val) => { [INFO] [stdout] 257 | | RestrictedExpression(ast::RestrictedExpr::from(val)) [INFO] [stdout] 258 | | } [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] 262 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 277 | value: serde_json::Value, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | eparser.single_from_json_value(value).map(Self) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 292 | src: impl AsRef, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | eparser.single_from_json_str(src).map(Self) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn from_json_file(f: impl Read, schema: Option<&Schema>) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | eparser.single_from_json_file(f).map(Self) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 412 | entities: impl IntoIterator, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 415 | / cedar_policy_core::entities::Entities::from_entities( [INFO] [stdout] 416 | | entities.into_iter().map(|e| e.0), [INFO] [stdout] 417 | | schema [INFO] [stdout] 418 | | .map(|s| cedar_policy_validator::CoreSchema::new(&s.0)) [INFO] [stdout] ... | [INFO] [stdout] 421 | | Extensions::all_available(), [INFO] [stdout] 422 | | ) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 438 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | entities: impl IntoIterator, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 443 | | self.0.add_entities( [INFO] [stdout] 444 | | entities.into_iter().map(|e| e.0), [INFO] [stdout] 445 | | schema [INFO] [stdout] ... | [INFO] [stdout] 450 | | )?, [INFO] [stdout] 451 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 468 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 478 | let new_entities = eparser.iter_from_json_str(json)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 479 | Ok(Self(self.0.add_entities( [INFO] [stdout] | ____________^ [INFO] [stdout] 480 | | new_entities, [INFO] [stdout] 481 | | schema.as_ref(), [INFO] [stdout] 482 | | cedar_policy_core::entities::TCComputation::ComputeNow, [INFO] [stdout] 483 | | Extensions::all_available(), [INFO] [stdout] 484 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 501 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 502 | json: serde_json::Value, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 511 | let new_entities = eparser.iter_from_json_value(json)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | Ok(Self(self.0.add_entities( [INFO] [stdout] | ____________^ [INFO] [stdout] 513 | | new_entities, [INFO] [stdout] 514 | | schema.as_ref(), [INFO] [stdout] 515 | | cedar_policy_core::entities::TCComputation::ComputeNow, [INFO] [stdout] 516 | | Extensions::all_available(), [INFO] [stdout] 517 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 534 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 535 | json: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 538 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | let new_entities = eparser.iter_from_json_file(json)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | Ok(Self(self.0.add_entities( [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | new_entities, [INFO] [stdout] 547 | | schema.as_ref(), [INFO] [stdout] 548 | | cedar_policy_core::entities::TCComputation::ComputeNow, [INFO] [stdout] 549 | | Extensions::all_available(), [INFO] [stdout] 550 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 601 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | eparser.from_json_str(json).map(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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 650 | json: serde_json::Value, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 653 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 659 | eparser.from_json_value(json).map(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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 680 | json: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 683 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | eparser.from_json_file(json).map(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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 742 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 743 | Self::IntoIter { [INFO] [stdout] 744 | inner: self.0.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1071:21 [INFO] [stdout] | [INFO] [stdout] 1069 | fn from(diagnostics: authorizer::Diagnostics) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1070 | Self { [INFO] [stdout] 1071 | reason: diagnostics.reason.into_iter().map(PolicyId).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1072:21 [INFO] [stdout] | [INFO] [stdout] 1069 | fn from(diagnostics: authorizer::Diagnostics) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1072 | errors: diagnostics.errors.into_iter().map(Into::into).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1204:10 [INFO] [stdout] | [INFO] [stdout] 1199 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1204 | (self.reason.into_iter(), self.errors.into_iter()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1204:35 [INFO] [stdout] | [INFO] [stdout] 1199 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1204 | (self.reason.into_iter(), self.errors.into_iter()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1217:26 [INFO] [stdout] | [INFO] [stdout] 1212 | reason: HashSet, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | errors: Vec, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1217 | diagnostics: Diagnostics { reason, errors }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1236:26 [INFO] [stdout] | [INFO] [stdout] 1233 | fn from(a: authorizer::Response) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1236 | diagnostics: a.diagnostics.into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1280:14 [INFO] [stdout] | [INFO] [stdout] 1279 | pub fn new(schema: Schema) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1280 | Self(cedar_policy_validator::Validator::new(schema.0)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1314:60 [INFO] [stdout] | [INFO] [stdout] 1314 | .map(|ns| ns.as_ref().map(|ns| EntityNamespace(ns.clone()))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1321:12 [INFO] [stdout] | [INFO] [stdout] 1320 | let lossless = cedar_policy_validator::SchemaFragment::from_json_str(src)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1321 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1322 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1323 | | lossless, [INFO] [stdout] 1324 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1331:12 [INFO] [stdout] | [INFO] [stdout] 1329 | pub fn from_json_value(json: serde_json::Value) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1330 | let lossless = cedar_policy_validator::SchemaFragment::from_json_value(json)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1331 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1332 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1333 | | lossless, [INFO] [stdout] 1334 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1343:12 [INFO] [stdout] | [INFO] [stdout] 1340 | r: impl std::io::Read, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1341 | ) -> Result<(Self, impl Iterator), HumanSchemaError> { [INFO] [stdout] 1342 | let (lossless, warnings) = cedar_policy_validator::SchemaFragment::from_file_natural(r)?; [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 1344 | | Self { [INFO] [stdout] 1345 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1346 | | lossless, [INFO] [stdout] 1347 | | }, [INFO] [stdout] 1348 | | warnings, [INFO] [stdout] 1349 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1366:12 [INFO] [stdout] | [INFO] [stdout] 1365 | let (lossless, warnings) = cedar_policy_validator::SchemaFragment::from_str_natural(src)?; [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1366 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 1367 | | Self { [INFO] [stdout] 1368 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1369 | | lossless, [INFO] [stdout] 1370 | | }, [INFO] [stdout] 1371 | | warnings, [INFO] [stdout] 1372 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1387:12 [INFO] [stdout] | [INFO] [stdout] 1385 | pub fn from_file(file: impl std::io::Read) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1386 | let lossless = cedar_policy_validator::SchemaFragment::from_file(file)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1387 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1388 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1389 | | lossless, [INFO] [stdout] 1390 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1439:12 [INFO] [stdout] | [INFO] [stdout] 1438 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1439 | Ok(Schema( [INFO] [stdout] | ____________^ [INFO] [stdout] 1440 | | cedar_policy_validator::ValidatorSchema::from_schema_fragments([self.value])?, [INFO] [stdout] 1441 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1455:12 [INFO] [stdout] | [INFO] [stdout] 1454 | let lossless = serde_json::from_str::(src)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1455 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1456 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1457 | | lossless, [INFO] [stdout] 1458 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1489:12 [INFO] [stdout] | [INFO] [stdout] 1487 | fragments: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1488 | ) -> Result { [INFO] [stdout] 1489 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 1490 | | cedar_policy_validator::ValidatorSchema::from_schema_fragments( [INFO] [stdout] 1491 | | fragments.into_iter().map(|f| f.value), [INFO] [stdout] 1492 | | )?, [INFO] [stdout] 1493 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1499:12 [INFO] [stdout] | [INFO] [stdout] 1498 | pub fn from_json_value(json: serde_json::Value) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1499 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 1500 | | cedar_policy_validator::ValidatorSchema::from_json_value( [INFO] [stdout] 1501 | | json, [INFO] [stdout] 1502 | | Extensions::all_available(), [INFO] [stdout] 1503 | | )?, [INFO] [stdout] 1504 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1510:12 [INFO] [stdout] | [INFO] [stdout] 1509 | pub fn from_file(file: impl std::io::Read) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1510 | Ok(Self(cedar_policy_validator::ValidatorSchema::from_file( [INFO] [stdout] | ____________^ [INFO] [stdout] 1511 | | file, [INFO] [stdout] 1512 | | Extensions::all_available(), [INFO] [stdout] 1513 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1531:12 [INFO] [stdout] | [INFO] [stdout] 1525 | file: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1526 | ) -> Result<(Self, impl Iterator), HumanSchemaError> { [INFO] [stdout] 1527 | let (schema, warnings) = cedar_policy_validator::ValidatorSchema::from_file_natural( [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1531 | Ok((Self(schema), warnings)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1551:12 [INFO] [stdout] | [INFO] [stdout] 1547 | let (schema, warnings) = cedar_policy_validator::ValidatorSchema::from_str_natural( [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1551 | Ok((Self(schema), warnings)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1846:20 [INFO] [stdout] | [INFO] [stdout] 1845 | fn from(value: cedar_policy_validator::SchemaError) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1846 | Self::Core(value.into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1866:18 [INFO] [stdout] | [INFO] [stdout] 1864 | fn from(err: ast::EntityAttrEvaluationError) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1865 | Self { [INFO] [stdout] 1866 | uid: EntityUid(err.uid), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2010 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2016 | self.validation_errors.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2017:13 [INFO] [stdout] | [INFO] [stdout] 2010 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2017 | self.validation_warnings.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2026:32 [INFO] [stdout] | [INFO] [stdout] 2023 | fn from(r: cedar_policy_validator::ValidationResult<'a>) -> Self { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2024 | let (errors, warnings) = r.into_errors_and_warnings(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2025 | Self { [INFO] [stdout] 2026 | validation_errors: errors.map(ValidationError::from).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2027:34 [INFO] [stdout] | [INFO] [stdout] 2023 | fn from(r: cedar_policy_validator::ValidationResult<'a>) -> Self { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2024 | let (errors, warnings) = r.into_errors_and_warnings(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2027 | validation_warnings: warnings.map(ValidationWarning::from).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2075:47 [INFO] [stdout] | [INFO] [stdout] 2075 | related.next().map(move |first| match first.related() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2142:23 [INFO] [stdout] | [INFO] [stdout] 2139 | fn from(err: cedar_policy_validator::ValidationError<'a>) -> Self { [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2140 | let (location, error_kind) = err.into_location_and_error_kind(); [INFO] [stdout] | -------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2141 | Self { [INFO] [stdout] 2142 | location: SourceLocation::from(location), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2242:5 [INFO] [stdout] | [INFO] [stdout] 2240 | templates: impl Iterator + 'a, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2241 | ) -> impl Iterator> + 'a { [INFO] [stdout] 2242 | cedar_policy_validator::confusable_string_checks(templates.map(|t| &t.ast)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2272:23 [INFO] [stdout] | [INFO] [stdout] 2269 | fn from(w: cedar_policy_validator::ValidationWarning<'a>) -> Self { [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2270 | let (loc, kind) = w.to_kind_and_location(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2271 | ValidationWarning { [INFO] [stdout] 2272 | location: loc.into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2339:15 [INFO] [stdout] | [INFO] [stdout] 2338 | pub fn new(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2339 | match src.as_ref().parse() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2534:14 [INFO] [stdout] | [INFO] [stdout] 2532 | pub fn from_type_name_and_id(name: EntityTypeName, id: EntityId) -> Self { [INFO] [stdout] | -------------------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2533 | // INVARIANT: `from_components` always constructs a Concrete id [INFO] [stdout] 2534 | Self(ast::EntityUID::from_components(name.0, id.0, None)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2551:75 [INFO] [stdout] | [INFO] [stdout] 2548 | pub fn from_json(json: serde_json::Value) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2549 | let parsed: cedar_policy_core::entities::EntityUidJson = serde_json::from_value(json)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2550 | // INVARIANT: There is no way to write down the unspecified entityuid [INFO] [stdout] 2551 | Ok::(Self( [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 2552 | | parsed.into_euid(|| JsonDeserializationErrorContext::EntityUid)?, [INFO] [stdout] 2553 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2717:12 [INFO] [stdout] | [INFO] [stdout] 2700 | let (texts, pset) = parser::parse_policyset_and_also_return_policy_text(policies)?; [INFO] [stdout] | ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2703 | let policies = pset.policies().map(|p| [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2711 | let templates = pset.templates().map(|t| [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2717 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 2718 | | ast: pset, [INFO] [stdout] 2719 | | policies, [INFO] [stdout] 2720 | | templates, [INFO] [stdout] 2721 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2705:17 [INFO] [stdout] | [INFO] [stdout] 2705 | PolicyId(p.id().clone()), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2706:17 [INFO] [stdout] | [INFO] [stdout] 2706 | ... Policy { lossless: LosslessPolicy::policy_or_template_text(*texts.get(p.id()).expect("internal invariant violation: policy id exists in asts but not texts")), ast: p.clone() } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2713:17 [INFO] [stdout] | [INFO] [stdout] 2713 | PolicyId(t.id().clone()), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2714:17 [INFO] [stdout] | [INFO] [stdout] 2714 | ... Template { lossless: LosslessPolicy::policy_or_template_text(*texts.get(t.id()).expect("internal invariant violation: template id exists in asts but not ests")), ast: t.clone() } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2761:12 [INFO] [stdout] | [INFO] [stdout] 2728 | let ast: ast::PolicySet = est.clone().try_into()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2731 | let policies = ast [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2747 | let templates = ast [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2761 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 2762 | | ast, [INFO] [stdout] 2763 | | policies, [INFO] [stdout] 2764 | | templates, [INFO] [stdout] 2765 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2801:35 [INFO] [stdout] | [INFO] [stdout] 2801 | .map(|(id, template)| template.lossless.est().map(|est| (id.0, est))) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2801:63 [INFO] [stdout] | [INFO] [stdout] 2801 | .map(|(id, template)| template.lossless.est().map(|est| (id.0, est))) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2885:15 [INFO] [stdout] | [INFO] [stdout] 2878 | pub fn remove_template(&mut self, template_id: PolicyId) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2879 | let Some(template) = self.templates.remove(&template_id) else { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2885 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 2886 | | .ast [INFO] [stdout] 2887 | | .remove_template(&ast::PolicyID::from_string(&template_id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2912:9 [INFO] [stdout] | [INFO] [stdout] 2910 | template_id: PolicyId, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2911 | ) -> Result, PolicySetError> { [INFO] [stdout] 2912 | / self.ast [INFO] [stdout] 2913 | | .get_linked_policies(&ast::PolicyID::from_string(&template_id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2915:17 [INFO] [stdout] | [INFO] [stdout] 2910 | template_id: PolicyId, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2915 | |_| Err(PolicySetError::TemplateNonexistentError(template_id)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2915:25 [INFO] [stdout] | [INFO] [stdout] 2910 | template_id: PolicyId, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2915 | |_| Err(PolicySetError::TemplateNonexistentError(template_id)), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2916:24 [INFO] [stdout] | [INFO] [stdout] 2916 | |v| Ok(v.map(PolicyId::ref_cast)), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2946:26 [INFO] [stdout] | [INFO] [stdout] 2943 | pub fn annotation<'a>(&'a self, id: &PolicyId, key: impl AsRef) -> Option<&'a str> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2946 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2956:9 [INFO] [stdout] | [INFO] [stdout] 2955 | pub fn template_annotation(&self, id: &PolicyId, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2956 | / self.ast [INFO] [stdout] 2957 | | .get_template(&id.0)? [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2958:26 [INFO] [stdout] | [INFO] [stdout] 2955 | pub fn template_annotation(&self, id: &PolicyId, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2958 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3055:15 [INFO] [stdout] | [INFO] [stdout] 3048 | pub fn unlink(&mut self, policy_id: PolicyId) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3049 | let Some(policy) = self.policies.remove(&policy_id) else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3055 | match self.ast.unlink(&ast::PolicyID::from_string(&policy_id)) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3087:41 [INFO] [stdout] | [INFO] [stdout] 3087 | .map(|(id, euid)| (*id, euid.clone())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3095:62 [INFO] [stdout] | [INFO] [stdout] 3079 | (id, policy): (PolicyId, Policy), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3095 | None => policy.lossless.est().map(|est| Either::Left((id.0, est))), [INFO] [stdout] | --- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3115:8 [INFO] [stdout] | [INFO] [stdout] 3102 | i: impl IntoIterator, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3103 | f: impl Fn(T) -> Result, E>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3104 | ) -> Result<(Vec, Vec), E> { [INFO] [stdout] 3105 | let mut lefts = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3106 | let mut rights = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3115 | Ok((lefts, rights)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3158:12 [INFO] [stdout] | [INFO] [stdout] 3156 | pub fn parse(id: Option, src: impl AsRef) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3157 | let ast = parser::parse_template(id, src.as_ref())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3158 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3159 | | ast, [INFO] [stdout] 3160 | | lossless: LosslessPolicy::policy_or_template_text(src.as_ref()), [INFO] [stdout] 3161 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3173:18 [INFO] [stdout] | [INFO] [stdout] 3171 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3172 | Self { [INFO] [stdout] 3173 | ast: self.ast.new_id(id.0), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3174:23 [INFO] [stdout] | [INFO] [stdout] 3171 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3174 | lossless: self.lossless.clone(), // Lossless representation doesn't include the `PolicyId` [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3186:26 [INFO] [stdout] | [INFO] [stdout] 3184 | pub fn annotation(&self, key: impl AsRef) -> Option<&str> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3185 | self.ast [INFO] [stdout] 3186 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3240:41 [INFO] [stdout] | [INFO] [stdout] 3240 | .map(|id| EntityUid(id.as_ref().clone())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3296:12 [INFO] [stdout] | [INFO] [stdout] 3293 | id: Option, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3294 | est: est::Policy, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3295 | ) -> Result { [INFO] [stdout] 3296 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3297 | | ast: est.clone().try_into_ast_template(id.map(|id| id.0))?, [INFO] [stdout] 3298 | | lossless: LosslessPolicy::Est(est), [INFO] [stdout] 3299 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3439:14 [INFO] [stdout] | [INFO] [stdout] 3438 | pub fn new(id: impl AsRef) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3439 | Self(ast::PolicyID::from_string(id.as_ref())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3509:52 [INFO] [stdout] | [INFO] [stdout] 3509 | .map(|(key, value)| (SlotId(*key), EntityUid(value.clone()))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3523:26 [INFO] [stdout] | [INFO] [stdout] 3521 | pub fn annotation(&self, key: impl AsRef) -> Option<&str> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3522 | self.ast [INFO] [stdout] 3523 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3543:18 [INFO] [stdout] | [INFO] [stdout] 3541 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3542 | Self { [INFO] [stdout] 3543 | ast: self.ast.new_id(id.0), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3544:23 [INFO] [stdout] | [INFO] [stdout] 3541 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3544 | lossless: self.lossless.clone(), // Lossless representation doesn't include the `PolicyId` [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3646:12 [INFO] [stdout] | [INFO] [stdout] 3643 | pub fn parse(id: Option, policy_src: impl AsRef) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3644 | let inline_ast = parser::parse_policy(id, policy_src.as_ref())?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3645 | let (_, ast) = ast::Template::link_static_policy(inline_ast); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3646 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3647 | | ast, [INFO] [stdout] 3648 | | lossless: LosslessPolicy::policy_or_template_text(policy_src.as_ref()), [INFO] [stdout] 3649 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3730:12 [INFO] [stdout] | [INFO] [stdout] 3727 | id: Option, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3728 | est: est::Policy, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3729 | ) -> Result { [INFO] [stdout] 3730 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3731 | | ast: est.clone().try_into_ast_policy(id.map(|id| id.0))?, [INFO] [stdout] 3732 | | lossless: LosslessPolicy::Est(est), [INFO] [stdout] 3733 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3792:23 [INFO] [stdout] | [INFO] [stdout] 3788 | pub(crate) fn from_ast(ast: ast::Policy) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3792 | lossless: LosslessPolicy::policy_or_template_text(text), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3841:20 [INFO] [stdout] | [INFO] [stdout] 3838 | fn policy_or_template_text(text: impl Into) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3841 | slots: HashMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3854:73 [INFO] [stdout] | [INFO] [stdout] 3854 | let unwrapped_vals = slots.iter().map(|(k, v)| (*k, v.into())).collect(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3870:55 [INFO] [stdout] | [INFO] [stdout] 3870 | > = vals.into_iter().map(|(k, v)| (k, v.into())).collect(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3878:63 [INFO] [stdout] | [INFO] [stdout] 3878 | let slots = vals.into_iter().map(|(k, v)| (k, v.clone())).collect(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3951:12 [INFO] [stdout] | [INFO] [stdout] 3949 | fields: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3950 | ) -> Result { [INFO] [stdout] 3951 | Ok(Self(ast::Expr::record( [INFO] [stdout] | ____________^ [INFO] [stdout] 3952 | | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] 3953 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3952:46 [INFO] [stdout] | [INFO] [stdout] 3952 | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3958:14 [INFO] [stdout] | [INFO] [stdout] 3957 | pub fn new_set(values: impl IntoIterator) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3958 | Self(ast::Expr::set(values.into_iter().map(|v| v.0))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3966:14 [INFO] [stdout] | [INFO] [stdout] 3964 | pub fn new_ip(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3965 | let src_expr = ast::Expr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3966 | Self(ast::Expr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 3967 | | ip_extension_name(), [INFO] [stdout] 3968 | | vec![src_expr], [INFO] [stdout] 3969 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3977:14 [INFO] [stdout] | [INFO] [stdout] 3975 | pub fn new_decimal(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3976 | let src_expr = ast::Expr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3977 | Self(ast::Expr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 3978 | | decimal_extension_name(), [INFO] [stdout] 3979 | | vec![src_expr], [INFO] [stdout] 3980 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4030:14 [INFO] [stdout] | [INFO] [stdout] 4029 | pub fn new_entity_uid(value: EntityUid) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4030 | Self(ast::RestrictedExpr::val(value.0)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4039:12 [INFO] [stdout] | [INFO] [stdout] 4037 | fields: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4038 | ) -> Result { [INFO] [stdout] 4039 | Ok(Self(ast::RestrictedExpr::record( [INFO] [stdout] | ____________^ [INFO] [stdout] 4040 | | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] 4041 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4040:46 [INFO] [stdout] | [INFO] [stdout] 4040 | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4046:14 [INFO] [stdout] | [INFO] [stdout] 4045 | pub fn new_set(values: impl IntoIterator) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4046 | Self(ast::RestrictedExpr::set(values.into_iter().map(|v| v.0))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4054:14 [INFO] [stdout] | [INFO] [stdout] 4052 | pub fn new_ip(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4053 | let src_expr = ast::RestrictedExpr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4054 | Self(ast::RestrictedExpr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 4055 | | ip_extension_name(), [INFO] [stdout] 4056 | | [src_expr], [INFO] [stdout] 4057 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4065:14 [INFO] [stdout] | [INFO] [stdout] 4063 | pub fn new_decimal(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4064 | let src_expr = ast::RestrictedExpr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4065 | Self(ast::RestrictedExpr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 4066 | | decimal_extension_name(), [INFO] [stdout] 4067 | | [src_expr], [INFO] [stdout] 4068 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4307:12 [INFO] [stdout] | [INFO] [stdout] 4289 | principal: Option, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4290 | action: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4291 | resource: Option, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4292 | context: Context, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4295 | let p = match principal { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4296 | Some(p) => p.0, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4299 | let a = match action { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4300 | Some(a) => a.0, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4303 | let r = match resource { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4304 | Some(r) => r.0, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4307 | Ok(Self(ast::Request::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 4308 | | (p, None), [INFO] [stdout] 4309 | | (a, None), [INFO] [stdout] 4310 | | (r, None), [INFO] [stdout] ... | [INFO] [stdout] 4313 | | Extensions::all_available(), [INFO] [stdout] 4314 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4394:12 [INFO] [stdout] | [INFO] [stdout] 4392 | pairs: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4393 | ) -> Result { [INFO] [stdout] 4394 | Ok(Self(ast::Context::from_pairs( [INFO] [stdout] | ____________^ [INFO] [stdout] 4395 | | pairs.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] 4396 | | Extensions::all_available(), [INFO] [stdout] 4397 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4395:45 [INFO] [stdout] | [INFO] [stdout] 4395 | pairs.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4441:12 [INFO] [stdout] | [INFO] [stdout] 4433 | let schema = schema [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4436 | let context = cedar_policy_core::entities::ContextJsonParser::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4441 | Ok(Self(context)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4505:12 [INFO] [stdout] | [INFO] [stdout] 4494 | json: serde_json::Value, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4497 | let schema = schema [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4500 | let context = cedar_policy_core::entities::ContextJsonParser::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4505 | Ok(Self(context)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4551:12 [INFO] [stdout] | [INFO] [stdout] 4540 | json: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4543 | let schema = schema [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4546 | let context = cedar_policy_core::entities::ContextJsonParser::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4551 | Ok(Self(context)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4573:26 [INFO] [stdout] | [INFO] [stdout] 4570 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4571 | other_context: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4572 | ) -> Result { [INFO] [stdout] 4573 | Self::from_pairs(self.into_iter().chain(other_context)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4617:20 [INFO] [stdout] | [INFO] [stdout] 4615 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4616 | Self::IntoIter { [INFO] [stdout] 4617 | inner: self.0.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4733:26 [INFO] [stdout] | [INFO] [stdout] 4733 | .map(|v| v.clone().into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4738:51 [INFO] [stdout] | [INFO] [stdout] 4738 | .map(|(k, v)| (k.to_string(), v.clone().into())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4789:8 [INFO] [stdout] | [INFO] [stdout] 4788 | let eval = Evaluator::new(request.0.clone(), &entities.0, &all_ext); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4789 | Ok(EvalResult::from( [INFO] [stdout] | ________^ [INFO] [stdout] 4790 | | // Evaluate under the empty slot map, as an expression should not have slots [INFO] [stdout] 4791 | | eval.interpret(&expr.0, &ast::SlotEnv::new())?, [INFO] [stdout] 4792 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4594:21 [INFO] [stdout] | [INFO] [stdout] 4591 | self.inner.next().map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4594 | / match v { [INFO] [stdout] 4595 | | ast::PartialValue::Value(val) => { [INFO] [stdout] 4596 | | RestrictedExpression(ast::RestrictedExpr::from(val)) [INFO] [stdout] 4597 | | } [INFO] [stdout] ... | [INFO] [stdout] 4602 | | } [INFO] [stdout] 4603 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn is_authorized(call: AuthorizationCall) -> AuthorizationAnswer { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | match call.get_components() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 169 | reason: HashSet, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | errors: HashSet, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | diagnostics: Diagnostics { reason, errors }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 190 | fn from(response: crate::Response) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let (reason, errors) = response.diagnostics.into_components(); [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | reason.collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 190 | fn from(response: crate::Response) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let (reason, errors) = response.diagnostics.into_components(); [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | errors.map(Into::into).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:241:42 [INFO] [stdout] | [INFO] [stdout] 238 | policy_id: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | error: impl miette::Diagnostic + Send + Sync + 'static, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | ) -> Self { [INFO] [stdout] 241 | Self::new_from_report(policy_id, miette::Report::new(error)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn new_from_report(policy_id: impl Into, report: miette::Report) -> Self { [INFO] [stdout] | ----------------------------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Self { [INFO] [stdout] 247 | policy_id: policy_id.into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 265 | fn from(e: cedar_policy_core::authorizer::AuthorizationError) -> Self { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | crate::AuthorizationError::from(e).into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:486:11 [INFO] [stdout] | [INFO] [stdout] 482 | entity_uid_json: JsonValueWithNoDuplicateKeys, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 486 | match EntityUid::from_json(entity_uid_json.into()) [INFO] [stdout] | ___________^ [INFO] [stdout] 487 | | .wrap_err_with(|| format!("Failed to parse {category}")) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:505:11 [INFO] [stdout] | [INFO] [stdout] 500 | context_map: HashMap, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | match serde_json::to_value(context_map) { [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: these values and local bindings have 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 values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | ) -> WithWarnings>> { [INFO] [stdout] 532 | let mut errs = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 533 | let mut warnings = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | let schema = match self.schema.map(Schema::parse).transpose() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 535 | Ok(None) => None, [INFO] [stdout] 536 | Ok(Some((schema, new_warnings))) => { [INFO] [stdout] | ------ ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | let principal = self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 548 | let action = parse_entity_uid(self.action, "action", &mut errs); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 549 | let resource = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | let context = parse_context(self.context, schema.as_ref(), action.as_ref(), &mut errs); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | [INFO] [stdout] 554 | let request = match Request::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 565 | Ok(req) => Some(req), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 566 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 571 | let (policies, entities) = match self.slice.try_into(schema.as_ref()) { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | Ok((policies, entities)) => (Some(policies), Some(entities)), [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 573 | Err(es) => { [INFO] [stdout] | -- these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:776:8 [INFO] [stdout] | [INFO] [stdout] 770 | let type_name = EntityTypeName::from_str(v.value.ty.as_str()).map_err(miette::Report::new)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 771 | let eid = match EntityId::from_str(v.value.eid.as_str()) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | Ok(eid) => eid, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 775 | let entity_uid = EntityUid::from_type_name_and_id(type_name, eid); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 776 | Ok((slot, entity_uid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:782:11 [INFO] [stdout] | [INFO] [stdout] 780 | let template_id = PolicyId::from_str(link.template_id.as_str()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 781 | let link_id = PolicyId::from_str(link.result_policy_id.as_str()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 782 | match (template_id, link_id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | .map(|labels| labels.map(Into::into).collect()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|errs| errs.map(std::convert::Into::into).collect()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 253 | .map(|(sch, warnings)| { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | Box::new(warnings) as Box>, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|sch| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Box::new(std::iter::empty()) as Box>, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn validate(call: ValidationCall) -> ValidationAnswer { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | match call.get_components() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | policy_id: error.location().policy_id().to_smolstr(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | policy_id: error.location().policy_id().to_smolstr(), [INFO] [stdout] 45 | error: miette::Report::new(error).into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | policy_id: error.location().policy_id().to_smolstr(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | policy_id: error.location().policy_id().to_smolstr(), [INFO] [stdout] 51 | error: miette::Report::new(error).into(), [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: these values and local bindings have 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 values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | ) -> WithWarnings>> { [INFO] [stdout] 104 | let mut errs = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let policies = match self.policy_set.parse(None) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | Ok(policies) => policies, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let pair = match self.schema.parse() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Ok((schema, warnings)) => Some((schema, warnings)), [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 51 | fn is_authorized(call: AuthorizationCall) -> AuthorizationAnswer { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | match call.get_components() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | response: authorizer [INFO] [stdout] | ___________________________^ [INFO] [stdout] 56 | | .is_authorized(&request, &policies, &entities) [INFO] [stdout] 57 | | .into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | |call| match is_authorized(call) { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(decision: Decision, reason: HashSet, errors: HashSet) -> Self { [INFO] [stdout] | ------------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | diagnostics: InterfaceDiagnostics { reason, errors }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 160 | fn from(response: Response) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | response.diagnostics().reason().cloned().collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 160 | fn from(response: Response) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | / response [INFO] [stdout] 165 | | .diagnostics() [INFO] [stdout] 166 | | .errors() [INFO] [stdout] 167 | | .map(ToString::to_string) [INFO] [stdout] 168 | | .collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 355 | schema_json: Option, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | ) -> Result, Vec> { [INFO] [stdout] 357 | / schema_json [INFO] [stdout] 358 | | .map(|v| Schema::from_json_value(v.into())) [INFO] [stdout] 359 | | .transpose() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:358:42 [INFO] [stdout] | [INFO] [stdout] 358 | .map(|v| Schema::from_json_value(v.into())) [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 364 | entity_uid_json: Option, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | / entity_uid_json [INFO] [stdout] 368 | | .map(|v| EntityUid::from_json(v.into())) [INFO] [stdout] 369 | | .transpose() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:368:39 [INFO] [stdout] | [INFO] [stdout] 368 | .map(|v| EntityUid::from_json(v.into())) [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | fn parse_action(entity_uid_json: JsonValueWithNoDuplicateKeys) -> Result> { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | parse_entity_uid(Some(entity_uid_json), "action")? [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 379 | context_map: HashMap, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | let context = serde_json::to_value(context_map) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 384 | .map_err(|e| vec!["Failed to parse context".into(), e.to_string()])?; [INFO] [stdout] 385 | Context::from_json_value(context, schema_ref.map(|s| (s, action_ref))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_components(self) -> Result<(Request, PolicySet, Entities), Vec> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | let schema = parse_schema(self.schema)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 392 | let principal = parse_entity_uid(self.principal, "principal")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | let action = parse_action(self.action)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 394 | let resource = parse_entity_uid(self.resource, "resource")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let context = parse_context(self.context, schema.as_ref(), &action)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let q = Request::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | let (policies, entities) = self.slice.try_into(schema.as_ref())?; [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | Ok((q, policies, entities)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 553 | let template_id = PolicyId::from_str(instantiation.template_id.as_str()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 554 | let instance_id = PolicyId::from_str(instantiation.result_policy_id.as_str()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 555 | match (template_id, instance_id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/utils.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn succeed(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | serde_json::to_string(&value).map_or_else( [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 151 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy` (lib) due to 152 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api.rs:2341:13 [INFO] [stdout] | [INFO] [stdout] 2341 | Err(infallible) => match infallible {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ffi/is_authorized.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/is_authorized.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 149 | uid: EntityUid, [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | attrs: HashMap, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | parents: HashSet, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(Self(ast::Entity::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 157 | | uid.0, [INFO] [stdout] 158 | | attrs [INFO] [stdout] 159 | | .into_iter() [INFO] [stdout] ... | [INFO] [stdout] 163 | | &Extensions::all_available(), [INFO] [stdout] 164 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | .map(|(k, v)| (SmolStr::from(k), v.0)) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn new_no_attrs(uid: EntityUid, parents: HashSet) -> Self { [INFO] [stdout] | -------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Self(ast::Entity::new_with_attr_partial_value( [INFO] [stdout] | ______________^ [INFO] [stdout] 176 | | uid.0, [INFO] [stdout] 177 | | HashMap::new(), [INFO] [stdout] 178 | | parents.into_iter().map(|uid| uid.0).collect(), [INFO] [stdout] 179 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 192 | pub fn with_uid(uid: EntityUid) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 193 | // INVARIANT(UidOfEntityNotUnspecified): by invariant on `EntityUid` [INFO] [stdout] 194 | Self(ast::Entity::with_uid(uid.0)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 233 | let v = match ast::Value::try_from(self.0.get(attr)?.clone()) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Ok(v) => v, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 235 | Err(e) => return Some(Err(e)), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 236 | }; [INFO] [stdout] 237 | Some(Ok(EvalResult::from(v))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:268:13 [INFO] [stdout] | [INFO] [stdout] 242 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let (uid, attrs, ancestors) = self.0.into_inner(); [INFO] [stdout] | --- ----- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | [INFO] [stdout] 250 | let attrs = attrs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 268 | EntityUid(uid), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:270:13 [INFO] [stdout] | [INFO] [stdout] 242 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 248 | let (uid, attrs, ancestors) = self.0.into_inner(); [INFO] [stdout] | --- ----- --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | [INFO] [stdout] 250 | let attrs = attrs [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 270 | ancestors.into_iter().map(EntityUid).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 252 | .map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 255 | / match v { [INFO] [stdout] 256 | | ast::PartialValue::Value(val) => { [INFO] [stdout] 257 | | RestrictedExpression(ast::RestrictedExpr::from(val)) [INFO] [stdout] 258 | | } [INFO] [stdout] ... | [INFO] [stdout] 261 | | } [INFO] [stdout] 262 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 277 | value: serde_json::Value, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 280 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 286 | eparser.single_from_json_value(value).map(Self) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 292 | src: impl AsRef, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 295 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | eparser.single_from_json_str(src).map(Self) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 306 | pub fn from_json_file(f: impl Read, schema: Option<&Schema>) -> Result { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | eparser.single_from_json_file(f).map(Self) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 412 | entities: impl IntoIterator, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 415 | / cedar_policy_core::entities::Entities::from_entities( [INFO] [stdout] 416 | | entities.into_iter().map(|e| e.0), [INFO] [stdout] 417 | | schema [INFO] [stdout] 418 | | .map(|s| cedar_policy_validator::CoreSchema::new(&s.0)) [INFO] [stdout] ... | [INFO] [stdout] 421 | | Extensions::all_available(), [INFO] [stdout] 422 | | ) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 438 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 439 | entities: impl IntoIterator, [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 442 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 443 | | self.0.add_entities( [INFO] [stdout] 444 | | entities.into_iter().map(|e| e.0), [INFO] [stdout] 445 | | schema [INFO] [stdout] ... | [INFO] [stdout] 450 | | )?, [INFO] [stdout] 451 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 468 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 472 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 478 | let new_entities = eparser.iter_from_json_str(json)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 479 | Ok(Self(self.0.add_entities( [INFO] [stdout] | ____________^ [INFO] [stdout] 480 | | new_entities, [INFO] [stdout] 481 | | schema.as_ref(), [INFO] [stdout] 482 | | cedar_policy_core::entities::TCComputation::ComputeNow, [INFO] [stdout] 483 | | Extensions::all_available(), [INFO] [stdout] 484 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:512:12 [INFO] [stdout] | [INFO] [stdout] 501 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 502 | json: serde_json::Value, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 511 | let new_entities = eparser.iter_from_json_value(json)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | Ok(Self(self.0.add_entities( [INFO] [stdout] | ____________^ [INFO] [stdout] 513 | | new_entities, [INFO] [stdout] 514 | | schema.as_ref(), [INFO] [stdout] 515 | | cedar_policy_core::entities::TCComputation::ComputeNow, [INFO] [stdout] 516 | | Extensions::all_available(), [INFO] [stdout] 517 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:545:12 [INFO] [stdout] | [INFO] [stdout] 534 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 535 | json: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 538 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 544 | let new_entities = eparser.iter_from_json_file(json)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | Ok(Self(self.0.add_entities( [INFO] [stdout] | ____________^ [INFO] [stdout] 546 | | new_entities, [INFO] [stdout] 547 | | schema.as_ref(), [INFO] [stdout] 548 | | cedar_policy_core::entities::TCComputation::ComputeNow, [INFO] [stdout] 549 | | Extensions::all_available(), [INFO] [stdout] 550 | | )?)) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |___________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:607:9 [INFO] [stdout] | [INFO] [stdout] 601 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 607 | eparser.from_json_str(json).map(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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:659:9 [INFO] [stdout] | [INFO] [stdout] 650 | json: serde_json::Value, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 653 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 659 | eparser.from_json_value(json).map(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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:689:9 [INFO] [stdout] | [INFO] [stdout] 680 | json: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 683 | let schema = schema.map(|s| cedar_policy_validator::CoreSchema::new(&s.0)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 689 | eparser.from_json_file(json).map(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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:744:20 [INFO] [stdout] | [INFO] [stdout] 742 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 743 | Self::IntoIter { [INFO] [stdout] 744 | inner: self.0.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1071:21 [INFO] [stdout] | [INFO] [stdout] 1069 | fn from(diagnostics: authorizer::Diagnostics) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1070 | Self { [INFO] [stdout] 1071 | reason: diagnostics.reason.into_iter().map(PolicyId).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1072:21 [INFO] [stdout] | [INFO] [stdout] 1069 | fn from(diagnostics: authorizer::Diagnostics) -> Self { [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1072 | errors: diagnostics.errors.into_iter().map(Into::into).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1204:10 [INFO] [stdout] | [INFO] [stdout] 1199 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1204 | (self.reason.into_iter(), self.errors.into_iter()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1204:35 [INFO] [stdout] | [INFO] [stdout] 1199 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1204 | (self.reason.into_iter(), self.errors.into_iter()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1217:26 [INFO] [stdout] | [INFO] [stdout] 1212 | reason: HashSet, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1213 | errors: Vec, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1217 | diagnostics: Diagnostics { reason, errors }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1236:26 [INFO] [stdout] | [INFO] [stdout] 1233 | fn from(a: authorizer::Response) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1236 | diagnostics: a.diagnostics.into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1280:14 [INFO] [stdout] | [INFO] [stdout] 1279 | pub fn new(schema: Schema) -> Self { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1280 | Self(cedar_policy_validator::Validator::new(schema.0)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1314:60 [INFO] [stdout] | [INFO] [stdout] 1314 | .map(|ns| ns.as_ref().map(|ns| EntityNamespace(ns.clone()))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1321:12 [INFO] [stdout] | [INFO] [stdout] 1320 | let lossless = cedar_policy_validator::SchemaFragment::from_json_str(src)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1321 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1322 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1323 | | lossless, [INFO] [stdout] 1324 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1331:12 [INFO] [stdout] | [INFO] [stdout] 1329 | pub fn from_json_value(json: serde_json::Value) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1330 | let lossless = cedar_policy_validator::SchemaFragment::from_json_value(json)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1331 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1332 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1333 | | lossless, [INFO] [stdout] 1334 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1343:12 [INFO] [stdout] | [INFO] [stdout] 1340 | r: impl std::io::Read, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1341 | ) -> Result<(Self, impl Iterator), HumanSchemaError> { [INFO] [stdout] 1342 | let (lossless, warnings) = cedar_policy_validator::SchemaFragment::from_file_natural(r)?; [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1343 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 1344 | | Self { [INFO] [stdout] 1345 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1346 | | lossless, [INFO] [stdout] 1347 | | }, [INFO] [stdout] 1348 | | warnings, [INFO] [stdout] 1349 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1366:12 [INFO] [stdout] | [INFO] [stdout] 1365 | let (lossless, warnings) = cedar_policy_validator::SchemaFragment::from_str_natural(src)?; [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1366 | Ok(( [INFO] [stdout] | ____________^ [INFO] [stdout] 1367 | | Self { [INFO] [stdout] 1368 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1369 | | lossless, [INFO] [stdout] 1370 | | }, [INFO] [stdout] 1371 | | warnings, [INFO] [stdout] 1372 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1387:12 [INFO] [stdout] | [INFO] [stdout] 1385 | pub fn from_file(file: impl std::io::Read) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1386 | let lossless = cedar_policy_validator::SchemaFragment::from_file(file)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1387 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1388 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1389 | | lossless, [INFO] [stdout] 1390 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1439:12 [INFO] [stdout] | [INFO] [stdout] 1438 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1439 | Ok(Schema( [INFO] [stdout] | ____________^ [INFO] [stdout] 1440 | | cedar_policy_validator::ValidatorSchema::from_schema_fragments([self.value])?, [INFO] [stdout] 1441 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1455:12 [INFO] [stdout] | [INFO] [stdout] 1454 | let lossless = serde_json::from_str::(src)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1455 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 1456 | | value: lossless.clone().try_into()?, [INFO] [stdout] 1457 | | lossless, [INFO] [stdout] 1458 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1489:12 [INFO] [stdout] | [INFO] [stdout] 1487 | fragments: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1488 | ) -> Result { [INFO] [stdout] 1489 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 1490 | | cedar_policy_validator::ValidatorSchema::from_schema_fragments( [INFO] [stdout] 1491 | | fragments.into_iter().map(|f| f.value), [INFO] [stdout] 1492 | | )?, [INFO] [stdout] 1493 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1499:12 [INFO] [stdout] | [INFO] [stdout] 1498 | pub fn from_json_value(json: serde_json::Value) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1499 | Ok(Self( [INFO] [stdout] | ____________^ [INFO] [stdout] 1500 | | cedar_policy_validator::ValidatorSchema::from_json_value( [INFO] [stdout] 1501 | | json, [INFO] [stdout] 1502 | | Extensions::all_available(), [INFO] [stdout] 1503 | | )?, [INFO] [stdout] 1504 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1510:12 [INFO] [stdout] | [INFO] [stdout] 1509 | pub fn from_file(file: impl std::io::Read) -> Result { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1510 | Ok(Self(cedar_policy_validator::ValidatorSchema::from_file( [INFO] [stdout] | ____________^ [INFO] [stdout] 1511 | | file, [INFO] [stdout] 1512 | | Extensions::all_available(), [INFO] [stdout] 1513 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1531:12 [INFO] [stdout] | [INFO] [stdout] 1525 | file: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1526 | ) -> Result<(Self, impl Iterator), HumanSchemaError> { [INFO] [stdout] 1527 | let (schema, warnings) = cedar_policy_validator::ValidatorSchema::from_file_natural( [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1531 | Ok((Self(schema), warnings)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1551:12 [INFO] [stdout] | [INFO] [stdout] 1547 | let (schema, warnings) = cedar_policy_validator::ValidatorSchema::from_str_natural( [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1551 | Ok((Self(schema), warnings)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1846:20 [INFO] [stdout] | [INFO] [stdout] 1845 | fn from(value: cedar_policy_validator::SchemaError) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1846 | Self::Core(value.into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:1866:18 [INFO] [stdout] | [INFO] [stdout] 1864 | fn from(err: ast::EntityAttrEvaluationError) -> Self { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1865 | Self { [INFO] [stdout] 1866 | uid: EntityUid(err.uid), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2016:13 [INFO] [stdout] | [INFO] [stdout] 2010 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2016 | self.validation_errors.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2017:13 [INFO] [stdout] | [INFO] [stdout] 2010 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2017 | self.validation_warnings.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2026:32 [INFO] [stdout] | [INFO] [stdout] 2023 | fn from(r: cedar_policy_validator::ValidationResult<'a>) -> Self { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2024 | let (errors, warnings) = r.into_errors_and_warnings(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2025 | Self { [INFO] [stdout] 2026 | validation_errors: errors.map(ValidationError::from).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2027:34 [INFO] [stdout] | [INFO] [stdout] 2023 | fn from(r: cedar_policy_validator::ValidationResult<'a>) -> Self { [INFO] [stdout] | ----------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2024 | let (errors, warnings) = r.into_errors_and_warnings(); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2027 | validation_warnings: warnings.map(ValidationWarning::from).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2075:47 [INFO] [stdout] | [INFO] [stdout] 2075 | related.next().map(move |first| match first.related() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2142:23 [INFO] [stdout] | [INFO] [stdout] 2139 | fn from(err: cedar_policy_validator::ValidationError<'a>) -> Self { [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2140 | let (location, error_kind) = err.into_location_and_error_kind(); [INFO] [stdout] | -------- ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2141 | Self { [INFO] [stdout] 2142 | location: SourceLocation::from(location), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2242:5 [INFO] [stdout] | [INFO] [stdout] 2240 | templates: impl Iterator + 'a, [INFO] [stdout] | -------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2241 | ) -> impl Iterator> + 'a { [INFO] [stdout] 2242 | cedar_policy_validator::confusable_string_checks(templates.map(|t| &t.ast)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2272:23 [INFO] [stdout] | [INFO] [stdout] 2269 | fn from(w: cedar_policy_validator::ValidationWarning<'a>) -> Self { [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2270 | let (loc, kind) = w.to_kind_and_location(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2271 | ValidationWarning { [INFO] [stdout] 2272 | location: loc.into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2339:15 [INFO] [stdout] | [INFO] [stdout] 2338 | pub fn new(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2339 | match src.as_ref().parse() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2534:14 [INFO] [stdout] | [INFO] [stdout] 2532 | pub fn from_type_name_and_id(name: EntityTypeName, id: EntityId) -> Self { [INFO] [stdout] | -------------------- ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2533 | // INVARIANT: `from_components` always constructs a Concrete id [INFO] [stdout] 2534 | Self(ast::EntityUID::from_components(name.0, id.0, None)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2551:75 [INFO] [stdout] | [INFO] [stdout] 2548 | pub fn from_json(json: serde_json::Value) -> Result { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2549 | let parsed: cedar_policy_core::entities::EntityUidJson = serde_json::from_value(json)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2550 | // INVARIANT: There is no way to write down the unspecified entityuid [INFO] [stdout] 2551 | Ok::(Self( [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 2552 | | parsed.into_euid(|| JsonDeserializationErrorContext::EntityUid)?, [INFO] [stdout] 2553 | | )) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2717:12 [INFO] [stdout] | [INFO] [stdout] 2700 | let (texts, pset) = parser::parse_policyset_and_also_return_policy_text(policies)?; [INFO] [stdout] | ----- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2703 | let policies = pset.policies().map(|p| [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2711 | let templates = pset.templates().map(|t| [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2717 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 2718 | | ast: pset, [INFO] [stdout] 2719 | | policies, [INFO] [stdout] 2720 | | templates, [INFO] [stdout] 2721 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2705:17 [INFO] [stdout] | [INFO] [stdout] 2705 | PolicyId(p.id().clone()), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2706:17 [INFO] [stdout] | [INFO] [stdout] 2706 | ... Policy { lossless: LosslessPolicy::policy_or_template_text(*texts.get(p.id()).expect("internal invariant violation: policy id exists in asts but not texts")), ast: p.clone() } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2713:17 [INFO] [stdout] | [INFO] [stdout] 2713 | PolicyId(t.id().clone()), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2714:17 [INFO] [stdout] | [INFO] [stdout] 2714 | ... Template { lossless: LosslessPolicy::policy_or_template_text(*texts.get(t.id()).expect("internal invariant violation: template id exists in asts but not ests")), ast: t.clone() } [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2761:12 [INFO] [stdout] | [INFO] [stdout] 2728 | let ast: ast::PolicySet = est.clone().try_into()?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2731 | let policies = ast [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2747 | let templates = ast [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2761 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 2762 | | ast, [INFO] [stdout] 2763 | | policies, [INFO] [stdout] 2764 | | templates, [INFO] [stdout] 2765 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2801:35 [INFO] [stdout] | [INFO] [stdout] 2801 | .map(|(id, template)| template.lossless.est().map(|est| (id.0, est))) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2801:63 [INFO] [stdout] | [INFO] [stdout] 2801 | .map(|(id, template)| template.lossless.est().map(|est| (id.0, est))) [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2885:15 [INFO] [stdout] | [INFO] [stdout] 2878 | pub fn remove_template(&mut self, template_id: PolicyId) -> Result { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2879 | let Some(template) = self.templates.remove(&template_id) else { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2885 | match self [INFO] [stdout] | _______________^ [INFO] [stdout] 2886 | | .ast [INFO] [stdout] 2887 | | .remove_template(&ast::PolicyID::from_string(&template_id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2912:9 [INFO] [stdout] | [INFO] [stdout] 2910 | template_id: PolicyId, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2911 | ) -> Result, PolicySetError> { [INFO] [stdout] 2912 | / self.ast [INFO] [stdout] 2913 | | .get_linked_policies(&ast::PolicyID::from_string(&template_id)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2915:17 [INFO] [stdout] | [INFO] [stdout] 2910 | template_id: PolicyId, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2915 | |_| Err(PolicySetError::TemplateNonexistentError(template_id)), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2915:25 [INFO] [stdout] | [INFO] [stdout] 2910 | template_id: PolicyId, [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2915 | |_| Err(PolicySetError::TemplateNonexistentError(template_id)), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2916:24 [INFO] [stdout] | [INFO] [stdout] 2916 | |v| Ok(v.map(PolicyId::ref_cast)), [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2946:26 [INFO] [stdout] | [INFO] [stdout] 2943 | pub fn annotation<'a>(&'a self, id: &PolicyId, key: impl AsRef) -> Option<&'a str> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2946 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2956:9 [INFO] [stdout] | [INFO] [stdout] 2955 | pub fn template_annotation(&self, id: &PolicyId, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2956 | / self.ast [INFO] [stdout] 2957 | | .get_template(&id.0)? [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:2958:26 [INFO] [stdout] | [INFO] [stdout] 2955 | pub fn template_annotation(&self, id: &PolicyId, key: impl AsRef) -> Option { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2958 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3055:15 [INFO] [stdout] | [INFO] [stdout] 3048 | pub fn unlink(&mut self, policy_id: PolicyId) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3049 | let Some(policy) = self.policies.remove(&policy_id) else { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3055 | match self.ast.unlink(&ast::PolicyID::from_string(&policy_id)) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3087:41 [INFO] [stdout] | [INFO] [stdout] 3087 | .map(|(id, euid)| (*id, euid.clone())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3095:62 [INFO] [stdout] | [INFO] [stdout] 3079 | (id, policy): (PolicyId, Policy), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3095 | None => policy.lossless.est().map(|est| Either::Left((id.0, est))), [INFO] [stdout] | --- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3115:8 [INFO] [stdout] | [INFO] [stdout] 3102 | i: impl IntoIterator, [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3103 | f: impl Fn(T) -> Result, E>, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3104 | ) -> Result<(Vec, Vec), E> { [INFO] [stdout] 3105 | let mut lefts = vec![]; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3106 | let mut rights = vec![]; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3115 | Ok((lefts, rights)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3158:12 [INFO] [stdout] | [INFO] [stdout] 3156 | pub fn parse(id: Option, src: impl AsRef) -> Result { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3157 | let ast = parser::parse_template(id, src.as_ref())?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3158 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3159 | | ast, [INFO] [stdout] 3160 | | lossless: LosslessPolicy::policy_or_template_text(src.as_ref()), [INFO] [stdout] 3161 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3173:18 [INFO] [stdout] | [INFO] [stdout] 3171 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3172 | Self { [INFO] [stdout] 3173 | ast: self.ast.new_id(id.0), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3174:23 [INFO] [stdout] | [INFO] [stdout] 3171 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3174 | lossless: self.lossless.clone(), // Lossless representation doesn't include the `PolicyId` [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3186:26 [INFO] [stdout] | [INFO] [stdout] 3184 | pub fn annotation(&self, key: impl AsRef) -> Option<&str> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3185 | self.ast [INFO] [stdout] 3186 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3240:41 [INFO] [stdout] | [INFO] [stdout] 3240 | .map(|id| EntityUid(id.as_ref().clone())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3296:12 [INFO] [stdout] | [INFO] [stdout] 3293 | id: Option, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3294 | est: est::Policy, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3295 | ) -> Result { [INFO] [stdout] 3296 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3297 | | ast: est.clone().try_into_ast_template(id.map(|id| id.0))?, [INFO] [stdout] 3298 | | lossless: LosslessPolicy::Est(est), [INFO] [stdout] 3299 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3439:14 [INFO] [stdout] | [INFO] [stdout] 3438 | pub fn new(id: impl AsRef) -> Self { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3439 | Self(ast::PolicyID::from_string(id.as_ref())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3509:52 [INFO] [stdout] | [INFO] [stdout] 3509 | .map(|(key, value)| (SlotId(*key), EntityUid(value.clone()))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3523:26 [INFO] [stdout] | [INFO] [stdout] 3521 | pub fn annotation(&self, key: impl AsRef) -> Option<&str> { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3522 | self.ast [INFO] [stdout] 3523 | .annotation(&key.as_ref().parse().ok()?) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3543:18 [INFO] [stdout] | [INFO] [stdout] 3541 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3542 | Self { [INFO] [stdout] 3543 | ast: self.ast.new_id(id.0), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3544:23 [INFO] [stdout] | [INFO] [stdout] 3541 | pub fn new_id(&self, id: PolicyId) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3544 | lossless: self.lossless.clone(), // Lossless representation doesn't include the `PolicyId` [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3646:12 [INFO] [stdout] | [INFO] [stdout] 3643 | pub fn parse(id: Option, policy_src: impl AsRef) -> Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3644 | let inline_ast = parser::parse_policy(id, policy_src.as_ref())?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3645 | let (_, ast) = ast::Template::link_static_policy(inline_ast); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3646 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3647 | | ast, [INFO] [stdout] 3648 | | lossless: LosslessPolicy::policy_or_template_text(policy_src.as_ref()), [INFO] [stdout] 3649 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3730:12 [INFO] [stdout] | [INFO] [stdout] 3727 | id: Option, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3728 | est: est::Policy, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3729 | ) -> Result { [INFO] [stdout] 3730 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 3731 | | ast: est.clone().try_into_ast_policy(id.map(|id| id.0))?, [INFO] [stdout] 3732 | | lossless: LosslessPolicy::Est(est), [INFO] [stdout] 3733 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3792:23 [INFO] [stdout] | [INFO] [stdout] 3788 | pub(crate) fn from_ast(ast: ast::Policy) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3792 | lossless: LosslessPolicy::policy_or_template_text(text), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3841:20 [INFO] [stdout] | [INFO] [stdout] 3838 | fn policy_or_template_text(text: impl Into) -> Self { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3841 | slots: HashMap::new(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3854:73 [INFO] [stdout] | [INFO] [stdout] 3854 | let unwrapped_vals = slots.iter().map(|(k, v)| (*k, v.into())).collect(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3870:55 [INFO] [stdout] | [INFO] [stdout] 3870 | > = vals.into_iter().map(|(k, v)| (k, v.into())).collect(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3878:63 [INFO] [stdout] | [INFO] [stdout] 3878 | let slots = vals.into_iter().map(|(k, v)| (k, v.clone())).collect(); [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3951:12 [INFO] [stdout] | [INFO] [stdout] 3949 | fields: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3950 | ) -> Result { [INFO] [stdout] 3951 | Ok(Self(ast::Expr::record( [INFO] [stdout] | ____________^ [INFO] [stdout] 3952 | | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] 3953 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3952:46 [INFO] [stdout] | [INFO] [stdout] 3952 | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3958:14 [INFO] [stdout] | [INFO] [stdout] 3957 | pub fn new_set(values: impl IntoIterator) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3958 | Self(ast::Expr::set(values.into_iter().map(|v| v.0))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3966:14 [INFO] [stdout] | [INFO] [stdout] 3964 | pub fn new_ip(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3965 | let src_expr = ast::Expr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3966 | Self(ast::Expr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 3967 | | ip_extension_name(), [INFO] [stdout] 3968 | | vec![src_expr], [INFO] [stdout] 3969 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:3977:14 [INFO] [stdout] | [INFO] [stdout] 3975 | pub fn new_decimal(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3976 | let src_expr = ast::Expr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3977 | Self(ast::Expr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 3978 | | decimal_extension_name(), [INFO] [stdout] 3979 | | vec![src_expr], [INFO] [stdout] 3980 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4030:14 [INFO] [stdout] | [INFO] [stdout] 4029 | pub fn new_entity_uid(value: EntityUid) -> Self { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4030 | Self(ast::RestrictedExpr::val(value.0)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4039:12 [INFO] [stdout] | [INFO] [stdout] 4037 | fields: impl IntoIterator, [INFO] [stdout] | ------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4038 | ) -> Result { [INFO] [stdout] 4039 | Ok(Self(ast::RestrictedExpr::record( [INFO] [stdout] | ____________^ [INFO] [stdout] 4040 | | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] 4041 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4040:46 [INFO] [stdout] | [INFO] [stdout] 4040 | fields.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4046:14 [INFO] [stdout] | [INFO] [stdout] 4045 | pub fn new_set(values: impl IntoIterator) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4046 | Self(ast::RestrictedExpr::set(values.into_iter().map(|v| v.0))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4054:14 [INFO] [stdout] | [INFO] [stdout] 4052 | pub fn new_ip(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4053 | let src_expr = ast::RestrictedExpr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4054 | Self(ast::RestrictedExpr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 4055 | | ip_extension_name(), [INFO] [stdout] 4056 | | [src_expr], [INFO] [stdout] 4057 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4065:14 [INFO] [stdout] | [INFO] [stdout] 4063 | pub fn new_decimal(src: impl AsRef) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4064 | let src_expr = ast::RestrictedExpr::val(src.as_ref()); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4065 | Self(ast::RestrictedExpr::call_extension_fn( [INFO] [stdout] | ______________^ [INFO] [stdout] 4066 | | decimal_extension_name(), [INFO] [stdout] 4067 | | [src_expr], [INFO] [stdout] 4068 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4307:12 [INFO] [stdout] | [INFO] [stdout] 4289 | principal: Option, [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4290 | action: Option, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4291 | resource: Option, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4292 | context: Context, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4295 | let p = match principal { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4296 | Some(p) => p.0, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4299 | let a = match action { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4300 | Some(a) => a.0, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4303 | let r = match resource { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4304 | Some(r) => r.0, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4307 | Ok(Self(ast::Request::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 4308 | | (p, None), [INFO] [stdout] 4309 | | (a, None), [INFO] [stdout] 4310 | | (r, None), [INFO] [stdout] ... | [INFO] [stdout] 4313 | | Extensions::all_available(), [INFO] [stdout] 4314 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4394:12 [INFO] [stdout] | [INFO] [stdout] 4392 | pairs: impl IntoIterator, [INFO] [stdout] | --------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4393 | ) -> Result { [INFO] [stdout] 4394 | Ok(Self(ast::Context::from_pairs( [INFO] [stdout] | ____________^ [INFO] [stdout] 4395 | | pairs.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] 4396 | | Extensions::all_available(), [INFO] [stdout] 4397 | | )?)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4395:45 [INFO] [stdout] | [INFO] [stdout] 4395 | pairs.into_iter().map(|(k, v)| (SmolStr::from(k), v.0)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4441:12 [INFO] [stdout] | [INFO] [stdout] 4433 | let schema = schema [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4436 | let context = cedar_policy_core::entities::ContextJsonParser::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4441 | Ok(Self(context)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4505:12 [INFO] [stdout] | [INFO] [stdout] 4494 | json: serde_json::Value, [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4497 | let schema = schema [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4500 | let context = cedar_policy_core::entities::ContextJsonParser::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4505 | Ok(Self(context)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4551:12 [INFO] [stdout] | [INFO] [stdout] 4540 | json: impl std::io::Read, [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4543 | let schema = schema [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4546 | let context = cedar_policy_core::entities::ContextJsonParser::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4551 | Ok(Self(context)) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4573:26 [INFO] [stdout] | [INFO] [stdout] 4570 | self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4571 | other_context: impl IntoIterator, [INFO] [stdout] | ----------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4572 | ) -> Result { [INFO] [stdout] 4573 | Self::from_pairs(self.into_iter().chain(other_context)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4617:20 [INFO] [stdout] | [INFO] [stdout] 4615 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4616 | Self::IntoIter { [INFO] [stdout] 4617 | inner: self.0.into_iter(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4733:26 [INFO] [stdout] | [INFO] [stdout] 4733 | .map(|v| v.clone().into()) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4738:51 [INFO] [stdout] | [INFO] [stdout] 4738 | .map(|(k, v)| (k.to_string(), v.clone().into())) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4789:8 [INFO] [stdout] | [INFO] [stdout] 4788 | let eval = Evaluator::new(request.0.clone(), &entities.0, &all_ext); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4789 | Ok(EvalResult::from( [INFO] [stdout] | ________^ [INFO] [stdout] 4790 | | // Evaluate under the empty slot map, as an expression should not have slots [INFO] [stdout] 4791 | | eval.interpret(&expr.0, &ast::SlotEnv::new())?, [INFO] [stdout] 4792 | | )) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:4594:21 [INFO] [stdout] | [INFO] [stdout] 4591 | self.inner.next().map(|(k, v)| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4594 | / match v { [INFO] [stdout] 4595 | | ast::PartialValue::Value(val) => { [INFO] [stdout] 4596 | | RestrictedExpression(ast::RestrictedExpr::from(val)) [INFO] [stdout] 4597 | | } [INFO] [stdout] ... | [INFO] [stdout] 4602 | | } [INFO] [stdout] 4603 | | }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:5062:27 [INFO] [stdout] | [INFO] [stdout] 5062 | .map(|entity| entity.uid().id().to_string()) [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:5886:23 [INFO] [stdout] | [INFO] [stdout] 5886 | .map(|ty| format!("Action::\"{ty}\"").parse().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:5910:19 [INFO] [stdout] | [INFO] [stdout] 5910 | .map(|ty| format!("Action::\"{ty}\"").parse().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:5921:23 [INFO] [stdout] | [INFO] [stdout] 5921 | .map(|ty| ty.parse().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:6101:23 [INFO] [stdout] | [INFO] [stdout] 6101 | .map(|ty| format!("Foo::Action::\"{ty}\"").parse().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:6125:19 [INFO] [stdout] | [INFO] [stdout] 6125 | .map(|ty| format!("Foo::Action::\"{ty}\"").parse().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/api.rs:6142:19 [INFO] [stdout] | [INFO] [stdout] 6142 | .map(|ty| ty.parse().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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn is_authorized(call: AuthorizationCall) -> AuthorizationAnswer { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | match call.get_components() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:174:26 [INFO] [stdout] | [INFO] [stdout] 169 | reason: HashSet, [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | errors: HashSet, [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | diagnostics: Diagnostics { reason, errors }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:194:13 [INFO] [stdout] | [INFO] [stdout] 190 | fn from(response: crate::Response) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let (reason, errors) = response.diagnostics.into_components(); [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 194 | reason.collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 190 | fn from(response: crate::Response) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 191 | let (reason, errors) = response.diagnostics.into_components(); [INFO] [stdout] | ------ ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 195 | errors.map(Into::into).collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:241:42 [INFO] [stdout] | [INFO] [stdout] 238 | policy_id: impl Into, [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 239 | error: impl miette::Diagnostic + Send + Sync + 'static, [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 240 | ) -> Self { [INFO] [stdout] 241 | Self::new_from_report(policy_id, miette::Report::new(error)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn new_from_report(policy_id: impl Into, report: miette::Report) -> Self { [INFO] [stdout] | ----------------------------- ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Self { [INFO] [stdout] 247 | policy_id: policy_id.into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 265 | fn from(e: cedar_policy_core::authorizer::AuthorizationError) -> Self { [INFO] [stdout] | ---------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | crate::AuthorizationError::from(e).into() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:486:11 [INFO] [stdout] | [INFO] [stdout] 482 | entity_uid_json: JsonValueWithNoDuplicateKeys, [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 486 | match EntityUid::from_json(entity_uid_json.into()) [INFO] [stdout] | ___________^ [INFO] [stdout] 487 | | .wrap_err_with(|| format!("Failed to parse {category}")) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:505:11 [INFO] [stdout] | [INFO] [stdout] 500 | context_map: HashMap, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 505 | match serde_json::to_value(context_map) { [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: these values and local bindings have 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 values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 531 | ) -> WithWarnings>> { [INFO] [stdout] 532 | let mut errs = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 533 | let mut warnings = vec![]; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 534 | let schema = match self.schema.map(Schema::parse).transpose() { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 535 | Ok(None) => None, [INFO] [stdout] 536 | Ok(Some((schema, new_warnings))) => { [INFO] [stdout] | ------ ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | let principal = self [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 548 | let action = parse_entity_uid(self.action, "action", &mut errs); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 549 | let resource = self [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | let context = parse_context(self.context, schema.as_ref(), action.as_ref(), &mut errs); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 553 | [INFO] [stdout] 554 | let request = match Request::new( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 565 | Ok(req) => Some(req), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 566 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 571 | let (policies, entities) = match self.slice.try_into(schema.as_ref()) { [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 572 | Ok((policies, entities)) => (Some(policies), Some(entities)), [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 573 | Err(es) => { [INFO] [stdout] | -- these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:776:8 [INFO] [stdout] | [INFO] [stdout] 770 | let type_name = EntityTypeName::from_str(v.value.ty.as_str()).map_err(miette::Report::new)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 771 | let eid = match EntityId::from_str(v.value.eid.as_str()) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 772 | Ok(eid) => eid, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 775 | let entity_uid = EntityUid::from_type_name_and_id(type_name, eid); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 776 | Ok((slot, entity_uid)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/is_authorized.rs:782:11 [INFO] [stdout] | [INFO] [stdout] 780 | let template_id = PolicyId::from_str(link.template_id.as_str()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 781 | let link_id = PolicyId::from_str(link.result_policy_id.as_str()); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 782 | match (template_id, link_id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:134:31 [INFO] [stdout] | [INFO] [stdout] 134 | .map(|labels| labels.map(Into::into).collect()) [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:138:29 [INFO] [stdout] | [INFO] [stdout] 138 | .map(|errs| errs.map(std::convert::Into::into).collect()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:256:25 [INFO] [stdout] | [INFO] [stdout] 253 | .map(|(sch, warnings)| { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 256 | Box::new(warnings) as Box>, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/utils.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|sch| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 264 | Box::new(std::iter::empty()) as Box>, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn validate(call: ValidationCall) -> ValidationAnswer { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | match call.get_components() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | policy_id: error.location().policy_id().to_smolstr(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 43 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | policy_id: error.location().policy_id().to_smolstr(), [INFO] [stdout] 45 | error: miette::Report::new(error).into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | policy_id: error.location().policy_id().to_smolstr(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ffi/validate.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 49 | .map(|error| ValidationError { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | policy_id: error.location().policy_id().to_smolstr(), [INFO] [stdout] 51 | error: miette::Report::new(error).into(), [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: these values and local bindings have 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 values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 103 | ) -> WithWarnings>> { [INFO] [stdout] 104 | let mut errs = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | let policies = match self.policy_set.parse(None) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | Ok(policies) => policies, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | let pair = match self.schema.parse() { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | Ok((schema, warnings)) => Some((schema, warnings)), [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | Err(e) => { [INFO] [stdout] | - these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 51 | fn is_authorized(call: AuthorizationCall) -> AuthorizationAnswer { [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | match call.get_components() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:55:27 [INFO] [stdout] | [INFO] [stdout] 55 | response: authorizer [INFO] [stdout] | ___________________________^ [INFO] [stdout] 56 | | .is_authorized(&request, &policies, &entities) [INFO] [stdout] 57 | | .into(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | |call| match is_authorized(call) { [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new(decision: Decision, reason: HashSet, errors: HashSet) -> Self { [INFO] [stdout] | ------------------------- ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 144 | diagnostics: InterfaceDiagnostics { reason, errors }, [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 160 | fn from(response: Response) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | response.diagnostics().reason().cloned().collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 160 | fn from(response: Response) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | / response [INFO] [stdout] 165 | | .diagnostics() [INFO] [stdout] 166 | | .errors() [INFO] [stdout] 167 | | .map(ToString::to_string) [INFO] [stdout] 168 | | .collect(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 355 | schema_json: Option, [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | ) -> Result, Vec> { [INFO] [stdout] 357 | / schema_json [INFO] [stdout] 358 | | .map(|v| Schema::from_json_value(v.into())) [INFO] [stdout] 359 | | .transpose() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:358:42 [INFO] [stdout] | [INFO] [stdout] 358 | .map(|v| Schema::from_json_value(v.into())) [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:367:5 [INFO] [stdout] | [INFO] [stdout] 364 | entity_uid_json: Option, [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 367 | / entity_uid_json [INFO] [stdout] 368 | | .map(|v| EntityUid::from_json(v.into())) [INFO] [stdout] 369 | | .transpose() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:368:39 [INFO] [stdout] | [INFO] [stdout] 368 | .map(|v| EntityUid::from_json(v.into())) [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:374:5 [INFO] [stdout] | [INFO] [stdout] 373 | fn parse_action(entity_uid_json: JsonValueWithNoDuplicateKeys) -> Result> { [INFO] [stdout] | --------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | parse_entity_uid(Some(entity_uid_json), "action")? [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 379 | context_map: HashMap, [INFO] [stdout] | ---------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | let context = serde_json::to_value(context_map) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 384 | .map_err(|e| vec!["Failed to parse context".into(), e.to_string()])?; [INFO] [stdout] 385 | Context::from_json_value(context, schema_ref.map(|s| (s, action_ref))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 390 | fn get_components(self) -> Result<(Request, PolicySet, Entities), Vec> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | let schema = parse_schema(self.schema)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 392 | let principal = parse_entity_uid(self.principal, "principal")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 393 | let action = parse_action(self.action)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 394 | let resource = parse_entity_uid(self.resource, "resource")?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 395 | let context = parse_context(self.context, schema.as_ref(), &action)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 396 | let q = Request::new( [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 408 | let (policies, entities) = self.slice.try_into(schema.as_ref())?; [INFO] [stdout] | -------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 409 | Ok((q, policies, entities)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/is_authorized.rs:555:11 [INFO] [stdout] | [INFO] [stdout] 553 | let template_id = PolicyId::from_str(instantiation.template_id.as_str()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 554 | let instance_id = PolicyId::from_str(instantiation.result_policy_id.as_str()); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 555 | match (template_id, instance_id) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/frontend/utils.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn succeed(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | serde_json::to_string(&value).map_or_else( [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prop_test_policy_set.rs:203:37 [INFO] [stdout] | [INFO] [stdout] 203 | .any(|p| p.id() == &PolicyId::from_str(policy_name).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prop_test_policy_set.rs:208:37 [INFO] [stdout] | [INFO] [stdout] 208 | .any(|p| p.id() == &PolicyId::from_str(policy_name).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prop_test_policy_set.rs:215:49 [INFO] [stdout] | [INFO] [stdout] 215 | .any(|p| link_name.id() == &PolicyId::from_str(p).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prop_test_policy_set.rs:219:53 [INFO] [stdout] | [INFO] [stdout] 219 | .any(|p| link_name.id() == &PolicyId::from_str(p).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prop_test_policy_set.rs:226:37 [INFO] [stdout] | [INFO] [stdout] 226 | .any(|p| p.id() == &PolicyId::from_str(template_name).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/prop_test_policy_set.rs:232:49 [INFO] [stdout] | [INFO] [stdout] 232 | .any(|p| template_name.id() == &PolicyId::from_str(p).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:1734:15 [INFO] [stdout] | [INFO] [stdout] 1543 | let schema = schema(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1544 | let entity = Entity::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1607 | let entity = Entity::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1669 | let entity = Entity::new( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1733 | let entity = Entity::new_no_attrs(EntityUid::from_strs("Manager", "jane"), HashSet::new()); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1734 | 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:2334:29 [INFO] [stdout] | [INFO] [stdout] 2334 | .filter(|e| e.uid().type_name().basename() == "Action") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:2713:29 [INFO] [stdout] | [INFO] [stdout] 2713 | .filter(|e| e.uid().type_name().basename() == "Action") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:2801:29 [INFO] [stdout] | [INFO] [stdout] 2801 | .filter(|e| e.uid().type_name().basename() == "Action") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:2825:29 [INFO] [stdout] | [INFO] [stdout] 2825 | .filter(|e| e.uid().type_name().basename() == "Action") [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:3468:14 [INFO] [stdout] | [INFO] [stdout] 3465 | let e = Template::from_str(src).unwrap_err(); [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 3468 | &miette::Report::new(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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tests.rs:3790:27 [INFO] [stdout] | [INFO] [stdout] 3790 | .map(|entity| entity.uid().id().escaped()) [INFO] [stdout] | ------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 171 previous errors; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy` (lib test) due to 172 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c3e0385258b1bdc7293f5d7d4d692db555dce93ad29ea6c9a73139707e5a49d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3e0385258b1bdc7293f5d7d4d692db555dce93ad29ea6c9a73139707e5a49d", kill_on_drop: false }` [INFO] [stdout] 4c3e0385258b1bdc7293f5d7d4d692db555dce93ad29ea6c9a73139707e5a49d