[INFO] fetching crate cedar-agent 0.2.0... [INFO] checking cedar-agent-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate cedar-agent 0.2.0 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cedar-agent 0.2.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cedar-agent 0.2.0 [INFO] finished tweaking crates.io crate cedar-agent 0.2.0 [INFO] tweaked toml for crates.io crate cedar-agent 0.2.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate cedar-agent 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 310b1f6c1d0dc5e456ff9aed37dbb138fa9433f36793f23455d00a1f3955ada4 [INFO] running `Command { std: "docker" "start" "-a" "310b1f6c1d0dc5e456ff9aed37dbb138fa9433f36793f23455d00a1f3955ada4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "310b1f6c1d0dc5e456ff9aed37dbb138fa9433f36793f23455d00a1f3955ada4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "310b1f6c1d0dc5e456ff9aed37dbb138fa9433f36793f23455d00a1f3955ada4", kill_on_drop: false }` [INFO] [stdout] 310b1f6c1d0dc5e456ff9aed37dbb138fa9433f36793f23455d00a1f3955ada4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b6959a39214990cdea35a8f35b197237609a1c4bb0d1b5550a8de411fb85438 [INFO] running `Command { std: "docker" "start" "-a" "7b6959a39214990cdea35a8f35b197237609a1c4bb0d1b5550a8de411fb85438", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling schemars v0.8.21 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling schemars_derive v0.8.21 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking unicode-security v0.1.1 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml_edit v0.22.13 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_with v3.4.0 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking toml v0.8.13 [INFO] [stderr] Checking okapi v0.7.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Compiling rocket_okapi_codegen v0.8.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Compiling cedar-policy-core v2.4.6 [INFO] [stderr] Checking rocket_okapi v0.8.0 [INFO] [stderr] Checking cedar-policy-validator v2.4.6 [INFO] [stderr] Checking cedar-policy v2.4.6 [INFO] [stderr] Checking cedar-agent v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/routes/schema.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::error` [INFO] [stdout] --> src/routes/schema.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/routes/policies.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | id: String, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/routes/policies.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | id: String, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/routes/policies.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | id: String, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/authn.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 58 | let security_scheme = SecurityScheme { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut security_req = SecurityRequirement::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(RequestHeaderInput::Security( [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | "ApiKeyAuth".to_owned(), [INFO] [stdout] 81 | | security_scheme, [INFO] [stdout] 82 | | security_req, [INFO] [stdout] 83 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors/schemas.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 11 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors/schemas.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 29 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_request_entities(self, stored_entities: Entities) -> Result<(Request, Entities), EntitiesError> { [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let request_entities = match self.entities { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | None => stored_entities, [INFO] [stdout] 59 | Some(ents) => ents.clone() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | }; [INFO] [stdout] 61 | let patched_entities = match self.additional_entities { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | None => request_entities, [INFO] [stdout] 63 | Some(ents) => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | match Entities::from_entities(request_entities.iter().chain(ents.iter()).cloned()) { [INFO] [stdout] 65 | Ok(entities) => entities, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Err(err) => return Err(err) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok((self.request, patched_entities)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 109 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let principal = match string_to_euid(self.principal) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(p) => p, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let action = match string_to_euid(self.action) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok(a) => a, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let resource = match string_to_euid(self.resource) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Ok(r) => r, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let entities = match self.entities { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | Some(et) => match Entities::from_json_value(et, None) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Ok(et) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let additional_entities = match self.additional_entities { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Some(et) => match Entities::from_json_value(et, None) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | Ok(et) => Some(et), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let context = match self.context { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Some(c) => match Context::from_json_value(c, None) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | Ok(c) => c, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(AuthorizationRequest::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 146 | | Request::new(principal, action, resource, context), [INFO] [stdout] 147 | | entities, [INFO] [stdout] 148 | | additional_entities, [INFO] [stdout] 149 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 179 | fn into(self) -> Response { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | / HashSet::from_iter( [INFO] [stdout] 186 | | self.diagnostics [INFO] [stdout] 187 | | .reason [INFO] [stdout] 188 | | .iter() [INFO] [stdout] 189 | | .map(|r| cedar_policy::PolicyId::from_str(r).unwrap()), [INFO] [stdout] 190 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | .map(|r| cedar_policy::PolicyId::from_str(r).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 197 | fn from(value: Response) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | diagnostics: DiagnosticsRef { [INFO] [stdout] | __________________________^ [INFO] [stdout] 204 | | reason: HashSet::from_iter(value.diagnostics().reason().map(|r| r.to_string())), [INFO] [stdout] 205 | | errors: HashSet::from_iter(value.diagnostics().errors().map(|e| match e { [INFO] [stdout] 206 | | EvaluationError::StringMessage(e) => e, [INFO] [stdout] 207 | | })), [INFO] [stdout] 208 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn from(value: ast::Entity) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let entity_json = EntityJSON::from_entity(&value).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let json_string = to_string(&entity_json).unwrap(); [INFO] [stdout] 26 | Self(from_str(&json_string).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 33 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let entities = match parser.from_json_value(self.0) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(entities) => entities, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Err(err) => return Err(err.into()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Err(EmptyError.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | fn from(value: entities::Entities) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Self(value.iter().map(|v| Entity::from(v.clone())).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | Self(value.iter().map(|v| Entity::from(v.clone())).collect()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/data/memory.rs:85:52 [INFO] [stdout] | [INFO] [stdout] 83 | entities: schemas::Entities, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | schema: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | ) -> Result> { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 86 | | info!("Updating stored entities"); [INFO] [stdout] 87 | | let mut lock = self.write().await; [INFO] [stdout] 88 | | let core_entities: entities::Entities = match entities.try_into() { [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(schema_entities) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/data/load_from_file.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | async fn on_ignite(&self, rocket: Rocket) -> Result, Rocket> { [INFO] [stdout] | _______________________________---------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | | let config = rocket.state::(); [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | if config.is_none() { [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(rocket) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/memory.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 120 | schema: Option [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 122 | | info!("Creating policy {}", policy.id); [INFO] [stdout] 123 | | let mut lock = self.write().await; [INFO] [stdout] 124 | | let stored_policy = lock.0.get(&policy.id); [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/memory.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 147 | schema: Option [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | ) -> Result, Box> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 149 | | info!("Updating policies"); [INFO] [stdout] 150 | | let mut lock = self.write().await; [INFO] [stdout] 151 | | let mut new_policies: HashMap = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 170 | | )) [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/memory.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 177 | schema: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | ) -> Result> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 179 | | info!("Updating policy {}", id); [INFO] [stdout] 180 | | let mut lock = self.write().await; [INFO] [stdout] 181 | | let policy = Policy::from_policy_update(id.clone(), policy_update); [INFO] [stdout] ... | [INFO] [stdout] 193 | | Ok(Policy::from(policy)) [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [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: unreachable pattern [INFO] [stdout] --> src/routes/policies.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | id: String, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/load_from_file.rs:86:94 [INFO] [stdout] | [INFO] [stdout] 86 | async fn on_ignite(&self, rocket: Rocket) -> Result, Rocket> { [INFO] [stdout] | _______________________________---------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | | let config = rocket.state::(); [INFO] [stdout] 88 | | [INFO] [stdout] 89 | | if config.is_none() { [INFO] [stdout] ... | [INFO] [stdout] 99 | | Ok(rocket) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/schema/memory.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 79 | schema: InternalSchema [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 81 | | info!("Updating stored schema"); [INFO] [stdout] 82 | | let mut lock = self.write().await; [INFO] [stdout] 83 | | let internal_schema: InternalSchema = schema.clone(); [INFO] [stdout] ... | [INFO] [stdout] 92 | | Ok(internal_schema) [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/schema/load_from_file.rs:75:81 [INFO] [stdout] | [INFO] [stdout] 75 | async fn on_ignite(&self, rocket: Rocket) -> rocket::fairing::Result { [INFO] [stdout] | _______________________________---------------------_____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | | let config = rocket.state::(); [INFO] [stdout] 77 | | [INFO] [stdout] 78 | | if config.is_some() { [INFO] [stdout] ... | [INFO] [stdout] 82 | | Ok(rocket) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [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 20 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-agent` (lib test) due to 21 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/routes/policies.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | id: String, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/routes/policies.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | id: String, [INFO] [stdout] | ^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/authn.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 58 | let security_scheme = SecurityScheme { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 75 | let mut security_req = SecurityRequirement::new(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | Ok(RequestHeaderInput::Security( [INFO] [stdout] | ____________^ [INFO] [stdout] 80 | | "ApiKeyAuth".to_owned(), [INFO] [stdout] 81 | | security_scheme, [INFO] [stdout] 82 | | security_req, [INFO] [stdout] 83 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors/schemas.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 11 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 24 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors/schemas.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 29 | let schema = gen.json_schema::(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 42 | ..Default::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_request_entities(self, stored_entities: Entities) -> Result<(Request, Entities), EntitiesError> { [INFO] [stdout] | ---- ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let request_entities = match self.entities { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | None => stored_entities, [INFO] [stdout] 59 | Some(ents) => ents.clone() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | }; [INFO] [stdout] 61 | let patched_entities = match self.additional_entities { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | None => request_entities, [INFO] [stdout] 63 | Some(ents) => { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | match Entities::from_entities(request_entities.iter().chain(ents.iter()).cloned()) { [INFO] [stdout] 65 | Ok(entities) => entities, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Err(err) => return Err(err) [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok((self.request, patched_entities)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 109 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 110 | let principal = match string_to_euid(self.principal) { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | Ok(p) => p, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 114 | let action = match string_to_euid(self.action) { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 115 | Ok(a) => a, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let resource = match string_to_euid(self.resource) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Ok(r) => r, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 122 | let entities = match self.entities { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 123 | Some(et) => match Entities::from_json_value(et, None) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 124 | Ok(et) => { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | let additional_entities = match self.additional_entities { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | Some(et) => match Entities::from_json_value(et, None) { [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | Ok(et) => Some(et), [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let context = match self.context { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | Some(c) => match Context::from_json_value(c, None) { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | Ok(c) => c, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | Err(e) => return Err(e.into()), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 145 | Ok(AuthorizationRequest::new( [INFO] [stdout] | ____________^ [INFO] [stdout] 146 | | Request::new(principal, action, resource, context), [INFO] [stdout] 147 | | entities, [INFO] [stdout] 148 | | additional_entities, [INFO] [stdout] 149 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 179 | fn into(self) -> Response { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | / HashSet::from_iter( [INFO] [stdout] 186 | | self.diagnostics [INFO] [stdout] 187 | | .reason [INFO] [stdout] 188 | | .iter() [INFO] [stdout] 189 | | .map(|r| cedar_policy::PolicyId::from_str(r).unwrap()), [INFO] [stdout] 190 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | .map(|r| cedar_policy::PolicyId::from_str(r).unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/authorization.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 197 | fn from(value: Response) -> Self { [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 203 | diagnostics: DiagnosticsRef { [INFO] [stdout] | __________________________^ [INFO] [stdout] 204 | | reason: HashSet::from_iter(value.diagnostics().reason().map(|r| r.to_string())), [INFO] [stdout] 205 | | errors: HashSet::from_iter(value.diagnostics().errors().map(|e| match e { [INFO] [stdout] 206 | | EvaluationError::StringMessage(e) => e, [INFO] [stdout] 207 | | })), [INFO] [stdout] 208 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 23 | fn from(value: ast::Entity) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let entity_json = EntityJSON::from_entity(&value).unwrap(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | let json_string = to_string(&entity_json).unwrap(); [INFO] [stdout] 26 | Self(from_str(&json_string).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 33 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | let entities = match parser.from_json_value(self.0) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | Ok(entities) => entities, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Err(err) => return Err(err.into()), [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | Err(EmptyError.into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 65 | fn from(value: entities::Entities) -> Self { [INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Self(value.iter().map(|v| Entity::from(v.clone())).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/schemas/data.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | Self(value.iter().map(|v| Entity::from(v.clone())).collect()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/data/memory.rs:85:52 [INFO] [stdout] | [INFO] [stdout] 83 | entities: schemas::Entities, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 84 | schema: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | ) -> Result> { [INFO] [stdout] | ____________________________________________________^ [INFO] [stdout] 86 | | info!("Updating stored entities"); [INFO] [stdout] 87 | | let mut lock = self.write().await; [INFO] [stdout] 88 | | let core_entities: entities::Entities = match entities.try_into() { [INFO] [stdout] ... | [INFO] [stdout] 103 | | Ok(schema_entities) [INFO] [stdout] 104 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/data/load_from_file.rs:87:94 [INFO] [stdout] | [INFO] [stdout] 87 | async fn on_ignite(&self, rocket: Rocket) -> Result, Rocket> { [INFO] [stdout] | _______________________________---------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | | let config = rocket.state::(); [INFO] [stdout] 89 | | [INFO] [stdout] 90 | | if config.is_none() { [INFO] [stdout] ... | [INFO] [stdout] 100 | | Ok(rocket) [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/memory.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 120 | schema: Option [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | ) -> Result> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 122 | | info!("Creating policy {}", policy.id); [INFO] [stdout] 123 | | let mut lock = self.write().await; [INFO] [stdout] 124 | | let stored_policy = lock.0.get(&policy.id); [INFO] [stdout] ... | [INFO] [stdout] 141 | | } [INFO] [stdout] 142 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/memory.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 147 | schema: Option [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | ) -> Result, Box> { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 149 | | info!("Updating policies"); [INFO] [stdout] 150 | | let mut lock = self.write().await; [INFO] [stdout] 151 | | let mut new_policies: HashMap = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 170 | | )) [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/memory.rs:178:41 [INFO] [stdout] | [INFO] [stdout] 177 | schema: Option, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | ) -> Result> { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 179 | | info!("Updating policy {}", id); [INFO] [stdout] 180 | | let mut lock = self.write().await; [INFO] [stdout] 181 | | let policy = Policy::from_policy_update(id.clone(), policy_update); [INFO] [stdout] ... | [INFO] [stdout] 193 | | Ok(Policy::from(policy)) [INFO] [stdout] 194 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/policies/load_from_file.rs:86:94 [INFO] [stdout] | [INFO] [stdout] 86 | async fn on_ignite(&self, rocket: Rocket) -> Result, Rocket> { [INFO] [stdout] | _______________________________---------------------__________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | | let config = rocket.state::(); [INFO] [stdout] 88 | | [INFO] [stdout] 89 | | if config.is_none() { [INFO] [stdout] ... | [INFO] [stdout] 99 | | Ok(rocket) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/schema/memory.rs:80:46 [INFO] [stdout] | [INFO] [stdout] 79 | schema: InternalSchema [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | ) -> Result { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 81 | | info!("Updating stored schema"); [INFO] [stdout] 82 | | let mut lock = self.write().await; [INFO] [stdout] 83 | | let internal_schema: InternalSchema = schema.clone(); [INFO] [stdout] ... | [INFO] [stdout] 92 | | Ok(internal_schema) [INFO] [stdout] 93 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/services/schema/load_from_file.rs:75:81 [INFO] [stdout] | [INFO] [stdout] 75 | async fn on_ignite(&self, rocket: Rocket) -> rocket::fairing::Result { [INFO] [stdout] | _______________________________---------------------_____________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | | let config = rocket.state::(); [INFO] [stdout] 77 | | [INFO] [stdout] 78 | | if config.is_some() { [INFO] [stdout] ... | [INFO] [stdout] 82 | | Ok(rocket) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [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 20 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-agent` (lib) due to 21 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7b6959a39214990cdea35a8f35b197237609a1c4bb0d1b5550a8de411fb85438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b6959a39214990cdea35a8f35b197237609a1c4bb0d1b5550a8de411fb85438", kill_on_drop: false }` [INFO] [stdout] 7b6959a39214990cdea35a8f35b197237609a1c4bb0d1b5550a8de411fb85438