[INFO] fetching crate ddd-rs 1.2.1... [INFO] checking ddd-rs-1.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ddd-rs 1.2.1 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate ddd-rs 1.2.1 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 ddd-rs 1.2.1 [INFO] finished tweaking crates.io crate ddd-rs 1.2.1 [INFO] tweaked toml for crates.io crate ddd-rs 1.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 887c73454477f9dac14be144deb28c5f41d08a6a62b09d6092c001733c0cd247 [INFO] running `Command { std: "docker" "start" "-a" "887c73454477f9dac14be144deb28c5f41d08a6a62b09d6092c001733c0cd247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "887c73454477f9dac14be144deb28c5f41d08a6a62b09d6092c001733c0cd247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "887c73454477f9dac14be144deb28c5f41d08a6a62b09d6092c001733c0cd247", kill_on_drop: false }` [INFO] [stdout] 887c73454477f9dac14be144deb28c5f41d08a6a62b09d6092c001733c0cd247 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c62ce2cdab27e1e85379393d2f587d0e095adc865a624279cb4665e420967540 [INFO] running `Command { std: "docker" "start" "-a" "c62ce2cdab27e1e85379393d2f587d0e095adc865a624279cb4665e420967540", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling ddd-rs-derive v1.1.0 [INFO] [stderr] Checking ddd-rs v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:86:74 [INFO] [stdout] | [INFO] [stdout] 86 | async fn add_range(&self, entities: Vec) -> crate::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] 87 | | let mut added_entities = Vec::new(); [INFO] [stdout] 88 | | [INFO] [stdout] 89 | | for entity in entities { [INFO] [stdout] ... | [INFO] [stdout] 93 | | Ok(added_entities) [INFO] [stdout] 94 | | } [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/application/repository.rs:97:77 [INFO] [stdout] | [INFO] [stdout] 97 | async fn update_range(&self, entities: Vec) -> crate::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] 98 | | let mut updated_entities = Vec::new(); [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | for entity in entities { [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(updated_entities) [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:110:73 [INFO] [stdout] | [INFO] [stdout] 110 | async fn delete_range(&self, entities: Vec) -> crate::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] 111 | | for entity in entities { [INFO] [stdout] 112 | | self.delete(entity).await?; [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | [INFO] [stdout] 115 | | Ok(()) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:134:74 [INFO] [stdout] | [INFO] [stdout] 134 | async fn exists(&self, id: ::Id) -> crate::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] 135 | | self.get_by_id(id).await.map(|e| e.is_some()) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:281:82 [INFO] [stdout] | [INFO] [stdout] 281 | async fn get_by_id(&self, id: ::Id) -> crate::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] 282 | | self.repository.get_by_id(id).await [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:296:60 [INFO] [stdout] | [INFO] [stdout] 296 | async fn add(&self, mut entity: T) -> crate::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] 297 | | let domain_events = entity.take_domain_events(); [INFO] [stdout] 298 | | [INFO] [stdout] 299 | | let mut entity = self.repository.add(entity).await?; [INFO] [stdout] ... | [INFO] [stdout] 305 | | Ok(entity) [INFO] [stdout] 306 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:308:63 [INFO] [stdout] | [INFO] [stdout] 308 | async fn update(&self, mut entity: T) -> crate::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] 309 | | let domain_events = entity.take_domain_events(); [INFO] [stdout] 310 | | [INFO] [stdout] 311 | | let mut entity = self.repository.update(entity).await?; [INFO] [stdout] ... | [INFO] [stdout] 317 | | Ok(entity) [INFO] [stdout] 318 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:320:64 [INFO] [stdout] | [INFO] [stdout] 320 | async fn delete(&self, mut entity: T) -> crate::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] 321 | | let domain_events = entity.take_domain_events(); [INFO] [stdout] 322 | | [INFO] [stdout] 323 | | let mut entity = entity; [INFO] [stdout] ... | [INFO] [stdout] 329 | | self.repository.delete(entity).await [INFO] [stdout] 330 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:33:82 [INFO] [stdout] | [INFO] [stdout] 33 | async fn get_by_id(&self, id: ::Id) -> crate::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] 34 | | let ro_entities = self.entities.read().unwrap(); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | let entity = ro_entities.get(&id).cloned(); [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(entity) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | async fn add(&self, entity: T) -> crate::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] 67 | | let mut wo_entities = self.entities.write().unwrap(); [INFO] [stdout] 68 | | [INFO] [stdout] 69 | | wo_entities.insert(entity.id().clone(), entity.clone()); [INFO] [stdout] 70 | | [INFO] [stdout] 71 | | Ok(entity) [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | async fn update(&self, entity: T) -> crate::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] 75 | | self.add(entity).await [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:78:60 [INFO] [stdout] | [INFO] [stdout] 78 | async fn delete(&self, entity: T) -> crate::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] 79 | | let mut wo_entities = self.entities.write().unwrap(); [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | wo_entities.remove(entity.id()); [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | Ok(()) [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:86:74 [INFO] [stdout] | [INFO] [stdout] 86 | async fn add_range(&self, entities: Vec) -> crate::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] 87 | | let mut added_entities = Vec::new(); [INFO] [stdout] 88 | | [INFO] [stdout] 89 | | for entity in entities { [INFO] [stdout] ... | [INFO] [stdout] 93 | | Ok(added_entities) [INFO] [stdout] 94 | | } [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] [stderr] error: could not compile `ddd-rs` (lib test) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:97:77 [INFO] [stdout] | [INFO] [stdout] 97 | async fn update_range(&self, entities: Vec) -> crate::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] 98 | | let mut updated_entities = Vec::new(); [INFO] [stdout] 99 | | [INFO] [stdout] 100 | | for entity in entities { [INFO] [stdout] ... | [INFO] [stdout] 106 | | Ok(updated_entities) [INFO] [stdout] 107 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:110:73 [INFO] [stdout] | [INFO] [stdout] 110 | async fn delete_range(&self, entities: Vec) -> crate::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] 111 | | for entity in entities { [INFO] [stdout] 112 | | self.delete(entity).await?; [INFO] [stdout] 113 | | } [INFO] [stdout] 114 | | [INFO] [stdout] 115 | | Ok(()) [INFO] [stdout] 116 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:134:74 [INFO] [stdout] | [INFO] [stdout] 134 | async fn exists(&self, id: ::Id) -> crate::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] 135 | | self.get_by_id(id).await.map(|e| e.is_some()) [INFO] [stdout] 136 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:281:82 [INFO] [stdout] | [INFO] [stdout] 281 | async fn get_by_id(&self, id: ::Id) -> crate::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] 282 | | self.repository.get_by_id(id).await [INFO] [stdout] 283 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:296:60 [INFO] [stdout] | [INFO] [stdout] 296 | async fn add(&self, mut entity: T) -> crate::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] 297 | | let domain_events = entity.take_domain_events(); [INFO] [stdout] 298 | | [INFO] [stdout] 299 | | let mut entity = self.repository.add(entity).await?; [INFO] [stdout] ... | [INFO] [stdout] 305 | | Ok(entity) [INFO] [stdout] 306 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:308:63 [INFO] [stdout] | [INFO] [stdout] 308 | async fn update(&self, mut entity: T) -> crate::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] 309 | | let domain_events = entity.take_domain_events(); [INFO] [stdout] 310 | | [INFO] [stdout] 311 | | let mut entity = self.repository.update(entity).await?; [INFO] [stdout] ... | [INFO] [stdout] 317 | | Ok(entity) [INFO] [stdout] 318 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/application/repository.rs:320:64 [INFO] [stdout] | [INFO] [stdout] 320 | async fn delete(&self, mut entity: T) -> crate::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] 321 | | let domain_events = entity.take_domain_events(); [INFO] [stdout] 322 | | [INFO] [stdout] 323 | | let mut entity = entity; [INFO] [stdout] ... | [INFO] [stdout] 329 | | self.repository.delete(entity).await [INFO] [stdout] 330 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:33:82 [INFO] [stdout] | [INFO] [stdout] 33 | async fn get_by_id(&self, id: ::Id) -> crate::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] 34 | | let ro_entities = self.entities.read().unwrap(); [INFO] [stdout] 35 | | [INFO] [stdout] 36 | | let entity = ro_entities.get(&id).cloned(); [INFO] [stdout] 37 | | [INFO] [stdout] 38 | | Ok(entity) [INFO] [stdout] 39 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | async fn add(&self, entity: T) -> crate::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] 67 | | let mut wo_entities = self.entities.write().unwrap(); [INFO] [stdout] 68 | | [INFO] [stdout] 69 | | wo_entities.insert(entity.id().clone(), entity.clone()); [INFO] [stdout] 70 | | [INFO] [stdout] 71 | | Ok(entity) [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | async fn update(&self, entity: T) -> crate::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] 75 | | self.add(entity).await [INFO] [stdout] 76 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/infrastructure/memory/repository.rs:78:60 [INFO] [stdout] | [INFO] [stdout] 78 | async fn delete(&self, entity: T) -> crate::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] 79 | | let mut wo_entities = self.entities.write().unwrap(); [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | wo_entities.remove(entity.id()); [INFO] [stdout] 82 | | [INFO] [stdout] 83 | | Ok(()) [INFO] [stdout] 84 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ddd-rs` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "c62ce2cdab27e1e85379393d2f587d0e095adc865a624279cb4665e420967540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62ce2cdab27e1e85379393d2f587d0e095adc865a624279cb4665e420967540", kill_on_drop: false }` [INFO] [stdout] c62ce2cdab27e1e85379393d2f587d0e095adc865a624279cb4665e420967540