[INFO] fetching crate cedar-policy-core 3.4.1... [INFO] checking cedar-policy-core-3.4.1 against try#7014e13d5becc920d4bea3cd87942c8a13d359bf+rustflags=-Dtail_expr_drop_order for pr-129864 [INFO] extracting crate cedar-policy-core 3.4.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cedar-policy-core 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-core 3.4.1 [INFO] finished tweaking crates.io crate cedar-policy-core 3.4.1 [INFO] tweaked toml for crates.io crate cedar-policy-core 3.4.1 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" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "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 129 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 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] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c348beb1e46848bb573ecd37be5ebe2bf7fcd28fb9e067b5c9a65209ec714c5f [INFO] running `Command { std: "docker" "start" "-a" "c348beb1e46848bb573ecd37be5ebe2bf7fcd28fb9e067b5c9a65209ec714c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c348beb1e46848bb573ecd37be5ebe2bf7fcd28fb9e067b5c9a65209ec714c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c348beb1e46848bb573ecd37be5ebe2bf7fcd28fb9e067b5c9a65209ec714c5f", kill_on_drop: false }` [INFO] [stdout] c348beb1e46848bb573ecd37be5ebe2bf7fcd28fb9e067b5c9a65209ec714c5f [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+7014e13d5becc920d4bea3cd87942c8a13d359bf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8913c09fabc8e87d63abc307916596bd711a8ac985e916d4e15450b9b7e9c42d [INFO] running `Command { std: "docker" "start" "-a" "8913c09fabc8e87d63abc307916596bd711a8ac985e916d4e15450b9b7e9c42d", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling psm v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling lalrpop v0.20.2 [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] 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 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `(std::collections::hash_map::Entry<'_, policy::PolicyID, Arc>, std::collections::hash_map::Entry<'_, policy::PolicyID, policy::Policy>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 271 | let (t, p) = Template::link_static_policy(policy); [INFO] [stdout] | - - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | [INFO] [stdout] 273 | match ( [INFO] [stdout] | _______________^ [INFO] [stdout] 274 | | self.templates.entry(t.id().clone()), [INFO] [stdout] 275 | | self.links.entry(t.id().clone()), [INFO] [stdout] 276 | | ) { [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_map::Entry<'_, policy::PolicyID, Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn add_template(&mut self, t: Template) -> Result<(), PolicySetError> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 304 | match self.templates.entry(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: this value of type `(std::collections::hash_map::Entry<'_, policy::PolicyID, policy::Policy>, std::collections::hash_map::Entry<'_, policy::PolicyID, Arc>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:390:15 [INFO] [stdout] | [INFO] [stdout] 378 | template_id: PolicyID, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | new_id: PolicyID, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let r = Template::link(t, new_id.clone(), values)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | match ( [INFO] [stdout] | _______________^ [INFO] [stdout] 391 | | self.links.entry(new_id.clone()), [INFO] [stdout] 392 | | self.templates.entry(new_id.clone()), [INFO] [stdout] 393 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [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 `partial_value::PartialValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/request.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 320 | fn into_values(self) -> Box> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | match self.context.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: this value of type `ast::expr::ExprKind` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/value.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 240 | let loc = expr.source_loc().cloned(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | match expr.into_expr_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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/entities/json/schema_types.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 432 | mut element_types: impl Iterator>, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | ) -> Result { [INFO] [stdout] 434 | match element_types.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 `Dereference<'_, T>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entities.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn unwrap(self) -> &'a T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | e => panic!("unwrap() called on {:?}", e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Dereference<'_, T>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entities.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn expect(self, msg: &str) -> &'a T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 402 | e => panic!("expect() called on {:?}, msg: {msg}", e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(std::option::Option, std::option::Option<&T>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/est/expr.rs:1257:11 [INFO] [stdout] | [INFO] [stdout] 1254 | let mut iter = args.fuse().peekable(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1257 | match (first, second) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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, std::option::Option, std::option::Option, std::option::Option, std::option::Option>, bool, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/est.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 119 | fn try_from(policy: cst::Policy) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut errs = ParseErrors::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let (annot_success, annotations) = policy.get_ast_annotations(&mut errs); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | match ( [INFO] [stdout] | _______________^ [INFO] [stdout] 148 | | effect, [INFO] [stdout] 149 | | principal, [INFO] [stdout] 150 | | action, [INFO] [stdout] ... | [INFO] [stdout] 154 | | errs.is_empty(), [INFO] [stdout] 155 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [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, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/est.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 179 | fn try_from(cond: cst::Cond) -> Result { [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] 180 | let mut errs = ParseErrors::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let is_when = cond.cond.to_cond_is_when(&mut errs); [INFO] [stdout] 182 | let expr: Result = match cond.expr { [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] 202 | if let (Some(expr), true) = (expr, errs.is_empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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>, std::option::Option, usize, usize)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:1110:15 [INFO] [stdout] | [INFO] [stdout] 1108 | let rest: Vec<_> = more.collect(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1109 | [INFO] [stdout] 1110 | match (maybe_first, maybe_second, rest.len(), or.extended.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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>, std::option::Option, usize, usize)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:1178:15 [INFO] [stdout] | [INFO] [stdout] 1176 | let rest: Vec<_> = more.collect(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1177 | [INFO] [stdout] 1178 | match (maybe_first, maybe_second, rest.len(), and.extended.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:2011:15 [INFO] [stdout] | [INFO] [stdout] 2010 | fn into_expr(self, errs: &mut ParseErrors) -> 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] 2011 | match self.as_inner()?.try_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: this value of type `(std::option::Option, usize)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:2072:15 [INFO] [stdout] | [INFO] [stdout] 2064 | let path: Vec<_> = name [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2072 | match (maybe_name, path.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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/parser/cst_to_ast.rs:2280:31 [INFO] [stdout] | [INFO] [stdout] 2279 | let mut conds_iter = conds.into_iter(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2280 | if let Some(first_expr) = conds_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 `ast::expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr.rs:1831:16 [INFO] [stdout] | [INFO] [stdout] 1825 | let u = Unknown { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1829 | let r = UntypedSubstitution::substitute(&u, Some(&Value::new(1, None))); [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] 1830 | match r { [INFO] [stdout] 1831 | Ok(e) => assert_eq!(e, Expr::val(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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `ast::expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr.rs:1844:16 [INFO] [stdout] | [INFO] [stdout] 1838 | let u = Unknown { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1842 | let r = UntypedSubstitution::substitute(&u, Some(&Value::new(1, None))); [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] 1843 | match r { [INFO] [stdout] 1844 | Ok(e) => assert_eq!(e, Expr::val(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 `ast::expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr.rs:1857:16 [INFO] [stdout] | [INFO] [stdout] 1851 | let u = Unknown { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1855 | let r = UntypedSubstitution::substitute(&u, Some(&Value::new(1, None))); [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] 1856 | match r { [INFO] [stdout] 1857 | Ok(e) => assert_eq!(e, Expr::val(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 `ast::expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/expr.rs:1870:16 [INFO] [stdout] | [INFO] [stdout] 1868 | let r = UntypedSubstitution::substitute(&u, None); [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] 1869 | match r { [INFO] [stdout] 1870 | Ok(n) => assert_eq!(n, Expr::unknown(u)), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [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<'_, policy::PolicyID, std::sync::Arc>, std::collections::hash_map::Entry<'_, policy::PolicyID, policy::Policy>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:273:15 [INFO] [stdout] | [INFO] [stdout] 271 | let (t, p) = Template::link_static_policy(policy); [INFO] [stdout] | - - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 272 | [INFO] [stdout] 273 | match ( [INFO] [stdout] | _______________^ [INFO] [stdout] 274 | | self.templates.entry(t.id().clone()), [INFO] [stdout] 275 | | self.links.entry(t.id().clone()), [INFO] [stdout] 276 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [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<'_, policy::PolicyID, std::sync::Arc>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:304:15 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn add_template(&mut self, t: Template) -> Result<(), PolicySetError> { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 304 | match self.templates.entry(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: this value of type `(std::collections::hash_map::Entry<'_, policy::PolicyID, policy::Policy>, std::collections::hash_map::Entry<'_, policy::PolicyID, std::sync::Arc>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:390:15 [INFO] [stdout] | [INFO] [stdout] 378 | template_id: PolicyID, [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 379 | new_id: PolicyID, [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 387 | let r = Template::link(t, new_id.clone(), values)?; [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | match ( [INFO] [stdout] | _______________^ [INFO] [stdout] 391 | | self.links.entry(new_id.clone()), [INFO] [stdout] 392 | | self.templates.entry(new_id.clone()), [INFO] [stdout] 393 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [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::result::Result<(), ast::policy_set::PolicySetError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:622:15 [INFO] [stdout] | [INFO] [stdout] 546 | let mut pset = PolicySet::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 554 | let template = Arc::new( [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 602 | let template2 = Arc::new( [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 622 | match pset.add(p4) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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::result::Result<(), ast::policy_set::PolicySetError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/policy_set.rs:641:15 [INFO] [stdout] | [INFO] [stdout] 632 | let mut pset = PolicySet::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 641 | match pset.add_static(p2) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 `partial_value::PartialValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/request.rs:323:15 [INFO] [stdout] | [INFO] [stdout] 320 | fn into_values(self) -> Box> { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 323 | match self.context.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: this value of type `ast::expr::ExprKind` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ast/value.rs:241:15 [INFO] [stdout] | [INFO] [stdout] 240 | let loc = expr.source_loc().cloned(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 241 | match expr.into_expr_kind() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 16 previous errors [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/entities/json/schema_types.rs:434:11 [INFO] [stdout] | [INFO] [stdout] 432 | mut element_types: impl Iterator>, [INFO] [stdout] | ----------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 433 | ) -> Result { [INFO] [stdout] 434 | match element_types.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] [stderr] error: could not compile `cedar-policy-core` (lib) due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `entities::Dereference<'_, T>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entities.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 380 | pub fn unwrap(self) -> &'a T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 383 | e => panic!("unwrap() called on {:?}", e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `entities::Dereference<'_, T>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/entities.rs:402:13 [INFO] [stdout] | [INFO] [stdout] 399 | pub fn expect(self, msg: &str) -> &'a T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 402 | e => panic!("expect() called on {:?}, msg: {msg}", e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `(std::option::Option, std::option::Option<&T>)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/est/expr.rs:1257:11 [INFO] [stdout] | [INFO] [stdout] 1254 | let mut iter = args.fuse().peekable(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1257 | match (first, second) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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, std::option::Option, std::option::Option, std::option::Option, std::option::Option>, bool, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/est.rs:147:15 [INFO] [stdout] | [INFO] [stdout] 119 | fn try_from(policy: cst::Policy) -> Result { [INFO] [stdout] | ------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut errs = ParseErrors::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 123 | let (annot_success, annotations) = policy.get_ast_annotations(&mut errs); [INFO] [stdout] | ----------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | match ( [INFO] [stdout] | _______________^ [INFO] [stdout] 148 | | effect, [INFO] [stdout] 149 | | principal, [INFO] [stdout] 150 | | action, [INFO] [stdout] ... | [INFO] [stdout] 154 | | errs.is_empty(), [INFO] [stdout] 155 | | ) { [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [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, bool)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/est.rs:202:37 [INFO] [stdout] | [INFO] [stdout] 179 | fn try_from(cond: cst::Cond) -> Result { [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] 180 | let mut errs = ParseErrors::new(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | let is_when = cond.cond.to_cond_is_when(&mut errs); [INFO] [stdout] 182 | let expr: Result = match cond.expr { [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] 202 | if let (Some(expr), true) = (expr, errs.is_empty()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 `partial_value::PartialValue` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:805:15 [INFO] [stdout] | [INFO] [stdout] 804 | let env = SlotEnv::new(); [INFO] [stdout] | --- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 805 | match self.partial_interpret(p, &env)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 `itertools::Either` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:4593:15 [INFO] [stdout] | [INFO] [stdout] 4570 | let pset = parse_policyset( [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4576 | let euid = [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 4590 | let es = Entities::new(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4591 | let exts = Extensions::none(); [INFO] [stdout] 4592 | let e = Evaluator::new(q, &es, &exts); [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 4593 | match e.partial_evaluate(p).expect("eval 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: this value of type `ast::expr::Expr` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/evaluator.rs:5507:17 [INFO] [stdout] | [INFO] [stdout] 5489 | let es = Entities::new(); [INFO] [stdout] | -- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 5490 | let exts = Extensions::none(); [INFO] [stdout] 5491 | let eval = Evaluator::new(empty_request(), &es, &exts); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 5507 | let e = Expr::binary_app( [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [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::vec::IntoIter<((ast::expr::Expr, ast::expr::Expr), bool)>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/extensions/decimal.rs:549:30 [INFO] [stdout] | [INFO] [stdout] 543 | let ext_array = [extension()]; [INFO] [stdout] | --------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 546 | let entities = basic_entities(); [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 547 | let eval = Evaluator::new(request, &entities, &exts); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 548 | [INFO] [stdout] 549 | for ((l, r), res) in tests { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [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>, std::option::Option, usize, usize)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:1110:15 [INFO] [stdout] | [INFO] [stdout] 1108 | let rest: Vec<_> = more.collect(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1109 | [INFO] [stdout] 1110 | match (maybe_first, maybe_second, rest.len(), or.extended.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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>, std::option::Option, usize, usize)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:1178:15 [INFO] [stdout] | [INFO] [stdout] 1176 | let rest: Vec<_> = more.collect(); [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 1177 | [INFO] [stdout] 1178 | match (maybe_first, maybe_second, rest.len(), and.extended.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:2011:15 [INFO] [stdout] | [INFO] [stdout] 2010 | fn into_expr(self, errs: &mut ParseErrors) -> 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] 2011 | match self.as_inner()?.try_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: this value of type `(std::option::Option, usize)` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/parser/cst_to_ast.rs:2072:15 [INFO] [stdout] | [INFO] [stdout] 2064 | let path: Vec<_> = name [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 2072 | match (maybe_name, path.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [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/parser/cst_to_ast.rs:2280:31 [INFO] [stdout] | [INFO] [stdout] 2279 | let mut conds_iter = conds.into_iter(); [INFO] [stdout] | -------------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 2280 | if let Some(first_expr) = conds_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::result::Result<(), transitive_closure::err::TcError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transitive_closure.rs:592:15 [INFO] [stdout] | [INFO] [stdout] 571 | let mut entities = HashMap::from([(a.uid().clone(), a), (b.uid().clone(), b)]); [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 592 | match enforce_dag_from_tc(&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: this value of type `std::result::Result<(), transitive_closure::err::TcError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transitive_closure.rs:649:15 [INFO] [stdout] | [INFO] [stdout] 617 | let mut entities = HashMap::from([ [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 649 | match enforce_dag_from_tc(&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: this value of type `std::result::Result<(), transitive_closure::err::TcError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transitive_closure.rs:702:15 [INFO] [stdout] | [INFO] [stdout] 685 | let mut entities = HashMap::from([ [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 702 | match enforce_dag_from_tc(&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: this value of type `std::result::Result<(), transitive_closure::err::TcError>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/transitive_closure.rs:758:15 [INFO] [stdout] | [INFO] [stdout] 743 | let mut entities = HashMap::from([ [INFO] [stdout] | ------------ these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 758 | match enforce_dag_from_tc(&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] warning: missing documentation for a module [INFO] [stdout] --> src/ast/expr.rs:1429:1 [INFO] [stdout] | [INFO] [stdout] 1429 | pub mod var_generator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | #![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ast/expr.rs:1432:5 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn all_vars() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/ast/pattern.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/ast/policy.rs:1813:1 [INFO] [stdout] | [INFO] [stdout] 1813 | pub mod test_generators { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ast/policy.rs:1816:5 [INFO] [stdout] | [INFO] [stdout] 1816 | pub fn all_por_constraints() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ast/policy.rs:1829:5 [INFO] [stdout] | [INFO] [stdout] 1829 | pub fn all_principal_constraints() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ast/policy.rs:1833:5 [INFO] [stdout] | [INFO] [stdout] 1833 | pub fn all_resource_constraints() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ast/policy.rs:1837:5 [INFO] [stdout] | [INFO] [stdout] 1837 | pub fn all_actions_constraints() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/ast/policy.rs:1851:5 [INFO] [stdout] | [INFO] [stdout] 1851 | pub fn all_templates() -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/evaluator.rs:788:5 [INFO] [stdout] | [INFO] [stdout] 788 | pub fn interpret_inline_policy(&self, e: &Expr) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/evaluator.rs:890:1 [INFO] [stdout] | [INFO] [stdout] 890 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/evaluator.rs:903:5 [INFO] [stdout] | [INFO] [stdout] 903 | pub fn basic_request() -> Request { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/evaluator.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | pub fn basic_entities() -> Entities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/evaluator.rs:946:5 [INFO] [stdout] | [INFO] [stdout] 946 | pub fn rich_entities() -> Entities { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/extensions.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 181 | pub mod test { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-core` (lib test) due to 31 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8913c09fabc8e87d63abc307916596bd711a8ac985e916d4e15450b9b7e9c42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8913c09fabc8e87d63abc307916596bd711a8ac985e916d4e15450b9b7e9c42d", kill_on_drop: false }` [INFO] [stdout] 8913c09fabc8e87d63abc307916596bd711a8ac985e916d4e15450b9b7e9c42d