[INFO] fetching crate cedar-policy-validator 3.4.1... [INFO] checking cedar-policy-validator-3.4.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate cedar-policy-validator 3.4.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate cedar-policy-validator 3.4.1 on toolchain 7014e13d5becc920d4bea3cd87942c8a13d359bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cedar-policy-validator 3.4.1 [INFO] finished tweaking crates.io crate cedar-policy-validator 3.4.1 [INFO] tweaked toml for crates.io crate cedar-policy-validator 3.4.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 135 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding cedar-policy-core v3.4.1 (available: v4.0.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (available: v0.21.0) [INFO] [stderr] Adding phf_shared v0.10.0 (available: v0.11.2) [INFO] [stderr] Adding serde_derive_internals v0.28.0 (available: v0.29.1) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding smol_str v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding term v0.7.0 (available: v1.0.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f396151a6e8307ca0265c7ebd94db0403feab479f405bec545b501829998895 [INFO] running `Command { std: "docker" "start" "-a" "4f396151a6e8307ca0265c7ebd94db0403feab479f405bec545b501829998895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f396151a6e8307ca0265c7ebd94db0403feab479f405bec545b501829998895", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f396151a6e8307ca0265c7ebd94db0403feab479f405bec545b501829998895", kill_on_drop: false }` [INFO] [stdout] 4f396151a6e8307ca0265c7ebd94db0403feab479f405bec545b501829998895 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6b2f45d5404e3e9c540275c2d7ef716ee8a58ce4ac7d4966e6bd01013b8180f [INFO] running `Command { std: "docker" "start" "-a" "f6b2f45d5404e3e9c540275c2d7ef716ee8a58ce4ac7d4966e6bd01013b8180f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking unicode-security v0.1.2 [INFO] [stderr] Checking lalrpop-util v0.20.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Compiling cedar-policy-core v3.4.1 [INFO] [stderr] Compiling cedar-policy-validator v3.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rbac.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn validate_entity_types<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rbac.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn validate_action_ids<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rbac.rs:357:31 [INFO] [stdout] | [INFO] [stdout] 354 | pub(crate) fn get_apply_specs_for_action<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 357 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/schema.rs:199:81 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn ancestors<'a>(&'a self, ty: &'a Name) -> Option + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/schema.rs:612:83 [INFO] [stdout] | [INFO] [stdout] 612 | pub(crate) fn get_entity_types_in<'a>(&'a self, entity: &'a EntityUID) -> Vec<&Name> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/schema.rs:632:31 [INFO] [stdout] | [INFO] [stdout] 629 | pub(crate) fn get_entity_types_in_set<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 632 | ) -> impl Iterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn typecheck_by_request_env<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 319 | ) -> Vec<(RequestEnv, PolicyCheck)> { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 344 | fn apply_typecheck_fn_by_request_env<'b, F, C>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 348 | ) -> Vec<(RequestEnv, C)> [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:454:34 [INFO] [stdout] | [INFO] [stdout] 450 | fn link_request_env<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 454 | ) -> Box + 'b> { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:2453:17 [INFO] [stdout] | [INFO] [stdout] 2450 | fn lookup_extension_function<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 2453 | ) -> Result<&ExtensionFunctionType, impl FnOnce(Expr) -> TypeError + 'b> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn validate_slots<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 157 | ) -> Option + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rbac.rs:41:31 [INFO] [stdout] | [INFO] [stdout] 38 | pub(crate) fn validate_entity_types<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 41 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rbac.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) fn validate_action_ids<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 92 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/rbac.rs:357:31 [INFO] [stdout] | [INFO] [stdout] 354 | pub(crate) fn get_apply_specs_for_action<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 357 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/schema.rs:199:81 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn ancestors<'a>(&'a self, ty: &'a Name) -> Option + 'a> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/schema.rs:612:83 [INFO] [stdout] | [INFO] [stdout] 612 | pub(crate) fn get_entity_types_in<'a>(&'a self, entity: &'a EntityUID) -> Vec<&Name> { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/schema.rs:632:31 [INFO] [stdout] | [INFO] [stdout] 629 | pub(crate) fn get_entity_types_in_set<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 632 | ) -> impl Iterator { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:319:15 [INFO] [stdout] | [INFO] [stdout] 316 | pub fn typecheck_by_request_env<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 319 | ) -> Vec<(RequestEnv, PolicyCheck)> { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:348:15 [INFO] [stdout] | [INFO] [stdout] 344 | fn apply_typecheck_fn_by_request_env<'b, F, C>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 348 | ) -> Vec<(RequestEnv, C)> [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:454:34 [INFO] [stdout] | [INFO] [stdout] 450 | fn link_request_env<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 454 | ) -> Box + 'b> { [INFO] [stdout] | ^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/typecheck.rs:2453:17 [INFO] [stdout] | [INFO] [stdout] 2450 | fn lookup_extension_function<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 2453 | ) -> Result<&ExtensionFunctionType, impl FnOnce(Expr) -> TypeError + 'b> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:157:38 [INFO] [stdout] | [INFO] [stdout] 153 | fn validate_slots<'a>( [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 157 | ) -> Option + 'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/to_json_schema.rs:509:11 [INFO] [stdout] | [INFO] [stdout] 496 | let mut answers = vec![]; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | match NonEmpty::collect(errs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/to_json_schema.rs:509:11 [INFO] [stdout] | [INFO] [stdout] 496 | let mut answers = vec![]; [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 509 | match NonEmpty::collect(errs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_set::IntoIter<&cedar_policy_core::ast::Name>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:830:30 [INFO] [stdout] | [INFO] [stdout] 781 | let mut work_set: HashSet<&Name> = HashSet::new(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 782 | let mut res: Vec = Vec::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 830 | if let Some(cycle) = set.into_iter().next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema_file_format.rs:545:15 [INFO] [stdout] | [INFO] [stdout] 509 | element: Option>, [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 510 | attributes: Option>, [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 511 | additional_attributes: Option>, [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | name: Option>, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | let present_fields = [ [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | match type_name.transpose()?.as_ref().map(|s| s.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/parser.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 57 | let result = parse(parser, &mut errs, &Arc::from(text), text); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let parsed = match result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | match ParseErrors::from_iter(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: this value of type `std::collections::hash_map::Entry<'_, std::option::Option, NamespaceRecord>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/to_json_schema.rs:657:11 [INFO] [stdout] | [INFO] [stdout] 654 | name: Option, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 655 | record: NamespaceRecord, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 656 | ) -> Result<(), ToJsonSchemaErrors> { [INFO] [stdout] 657 | match map.entry(name.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: this value of type `(bool, bool, std::option::Option>>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typecheck.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 321 | let mut type_errors = Vec::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let empty_prior_eff = EffectSet::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | match (is_false, ty.typechecked(), ty.into_typed_expr()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:948:15 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn into_single_entity(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 944 | let mut names = self.lub_elements.into_iter(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 947 | let first = names.next().expect("should have one element by invariant"); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 948 | match names.next() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `types::Attributes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:998:18 [INFO] [stdout] | [INFO] [stdout] 986 | lub_element_attributes.fold(arbitrary_first, |acc, elem| { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 998 | &Attributes::with_attributes(elem), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 8 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-validator` (lib) due to 9 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::collections::hash_set::IntoIter<&cedar_policy_core::ast::Name>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:830:30 [INFO] [stdout] | [INFO] [stdout] 781 | let mut work_set: HashSet<&Name> = HashSet::new(); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 782 | let mut res: Vec = Vec::new(); [INFO] [stdout] | ------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 830 | if let Some(cycle) = set.into_iter().next() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:1069:52 [INFO] [stdout] | [INFO] [stdout] 1066 | let schema: Result = schema_file.try_into(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1069 | Err(SchemaError::UndeclaredEntityTypes(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: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:1092:52 [INFO] [stdout] | [INFO] [stdout] 1089 | let schema: Result = schema_file.try_into(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1092 | Err(SchemaError::UndeclaredEntityTypes(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: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:1117:52 [INFO] [stdout] | [INFO] [stdout] 1114 | let schema: Result = schema_file.try_into(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1117 | Err(SchemaError::UndeclaredEntityTypes(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: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:1157:48 [INFO] [stdout] | [INFO] [stdout] 1154 | let schema: Result = schema_file.try_into(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1157 | Err(SchemaError::UndeclaredActions(v)) => assert_eq!(v.len(), 1), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:1319:52 [INFO] [stdout] | [INFO] [stdout] 1317 | let schema: Result = schema_json.try_into(); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1318 | match schema { [INFO] [stdout] 1319 | Err(SchemaError::UndeclaredEntityTypes(tys)) => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::HashSet` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema.rs:1427:21 [INFO] [stdout] | [INFO] [stdout] 1419 | let schema = ValidatorSchemaFragment::from_schema_fragment( [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1427 | actions.into_iter().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: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schema_file_format.rs:545:15 [INFO] [stdout] | [INFO] [stdout] 509 | element: Option>, [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 510 | attributes: Option>, [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 511 | additional_attributes: Option>, [INFO] [stdout] | --------------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 512 | name: Option>, [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | let present_fields = [ [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 545 | match type_name.transpose()?.as_ref().map(|s| s.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/parser.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 57 | let result = parse(parser, &mut errs, &Arc::from(text), text); [INFO] [stdout] | ------ [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let parsed = match result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | match ParseErrors::from_iter(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: this value of type `cedar_policy_core::ast::Name` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/test.rs:867:48 [INFO] [stdout] | [INFO] [stdout] 850 | let (fragment, warnings) = SchemaFragment::from_str_natural(src).unwrap(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 867 | assert_eq!(type_name, &"AWS::Tag".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: this value of type `impl Iterator` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/test.rs:1287:28 [INFO] [stdout] | [INFO] [stdout] 1285 | let validator_schema: ValidatorSchema = [INFO] [stdout] | ---------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1286 | schema.try_into().expect("should be a valid schema"); [INFO] [stdout] 1287 | for (name, ety) in validator_schema.entity_types() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::collections::hash_map::Entry<'_, std::option::Option, NamespaceRecord>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/human_schema/to_json_schema.rs:657:11 [INFO] [stdout] | [INFO] [stdout] 654 | name: Option, [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 655 | record: NamespaceRecord, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 656 | ) -> Result<(), ToJsonSchemaErrors> { [INFO] [stdout] 657 | match map.entry(name.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: this value of type `TypecheckAnswer<'_>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typecheck/test_type_annotation.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 144 | |tc| { [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 145 | let mut errs = HashSet::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 146 | let euid = EntityUID::with_eid_and_type("Foo", "bar").unwrap(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | match tc.typecheck_expr(&Expr::val(euid.clone()), &mut errs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(bool, bool, std::option::Option>>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/typecheck.rs:333:19 [INFO] [stdout] | [INFO] [stdout] 321 | let mut type_errors = Vec::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 322 | let empty_prior_eff = EffectSet::new(); [INFO] [stdout] | --------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | match (is_false, ty.typechecked(), ty.into_typed_expr()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:948:15 [INFO] [stdout] | [INFO] [stdout] 943 | pub fn into_single_entity(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 944 | let mut names = self.lub_elements.into_iter(); [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 947 | let first = names.next().expect("should have one element by invariant"); [INFO] [stdout] | ----- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 948 | match names.next() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `types::Attributes` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types.rs:998:18 [INFO] [stdout] | [INFO] [stdout] 986 | lub_element_attributes.fold(arbitrary_first, |acc, elem| { [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 998 | &Attributes::with_attributes(elem), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 17 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-validator` (lib test) due to 18 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f6b2f45d5404e3e9c540275c2d7ef716ee8a58ce4ac7d4966e6bd01013b8180f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6b2f45d5404e3e9c540275c2d7ef716ee8a58ce4ac7d4966e6bd01013b8180f", kill_on_drop: false }` [INFO] [stdout] f6b2f45d5404e3e9c540275c2d7ef716ee8a58ce4ac7d4966e6bd01013b8180f