[INFO] cloning repository https://github.com/anish-singh-rawat/rust-project-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anish-singh-rawat/rust-project-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2Frust-project-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2Frust-project-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02159ba28ea2672892ddd1c93709ea4ccbcdc7ca [INFO] checking anish-singh-rawat/rust-project-1/02159ba28ea2672892ddd1c93709ea4ccbcdc7ca against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2Frust-project-1" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 82% (1393/1680) Updating files: 83% (1395/1680) Updating files: 84% (1412/1680) Updating files: 85% (1428/1680) Updating files: 86% (1445/1680) Updating files: 87% (1462/1680) Updating files: 88% (1479/1680) Updating files: 89% (1496/1680) Updating files: 90% (1512/1680) Updating files: 91% (1529/1680) Updating files: 92% (1546/1680) Updating files: 93% (1563/1680) Updating files: 94% (1580/1680) Updating files: 95% (1596/1680) Updating files: 96% (1613/1680) Updating files: 97% (1630/1680) Updating files: 98% (1647/1680) Updating files: 98% (1649/1680) Updating files: 99% (1664/1680) Updating files: 100% (1680/1680) Updating files: 100% (1680/1680), done. [INFO] validating manifest of git repo https://github.com/anish-singh-rawat/rust-project-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 git repo https://github.com/anish-singh-rawat/rust-project-1 [INFO] finished tweaking git repo https://github.com/anish-singh-rawat/rust-project-1 [INFO] tweaked toml for git repo https://github.com/anish-singh-rawat/rust-project-1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/anish-singh-rawat/rust-project-1 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cbeb6c2fb15c3e61295ba08b67262dcb1e57d9c1ab2a5da7f2895b42578ec0e [INFO] running `Command { std: "docker" "start" "-a" "6cbeb6c2fb15c3e61295ba08b67262dcb1e57d9c1ab2a5da7f2895b42578ec0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cbeb6c2fb15c3e61295ba08b67262dcb1e57d9c1ab2a5da7f2895b42578ec0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cbeb6c2fb15c3e61295ba08b67262dcb1e57d9c1ab2a5da7f2895b42578ec0e", kill_on_drop: false }` [INFO] [stdout] 6cbeb6c2fb15c3e61295ba08b67262dcb1e57d9c1ab2a5da7f2895b42578ec0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36228de472ebed3b711a2eb6f497061abfd3f1dffed3d3eac00be09aef95279a [INFO] running `Command { std: "docker" "start" "-a" "36228de472ebed3b711a2eb6f497061abfd3f1dffed3d3eac00be09aef95279a", kill_on_drop: false }` [INFO] [stderr] warning: dao_canister v0.1.0 (/opt/rustwide/workdir/src/dao_canister) ignoring invalid dependency `candid-extractor` which is missing a lib target [INFO] [stderr] warning: daohouse_backend v0.1.0 (/opt/rustwide/workdir/src/daohouse_backend) ignoring invalid dependency `candid-extractor` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.60 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking ic0 v0.23.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking ciborium-io v0.2.0 (https://github.com/enarx/ciborium?rev=e719537c99b564c3674a56defe53713c702c6f46#e719537c) [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking ciborium-ll v0.2.0 (https://github.com/enarx/ciborium?rev=e719537c99b564c3674a56defe53713c702c6f46#e719537c) [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling hyperx v1.4.2 (https://github.com/ldclabs/hyperx#4b9bd373) [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking base32 v0.4.0 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking ic-representation-independent-hash v2.5.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Checking ciborium v0.2.0 (https://github.com/enarx/ciborium?rev=e719537c99b564c3674a56defe53713c702c6f46#e719537c) [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking ic-stable-structures v0.6.4 [INFO] [stderr] Checking ic-certification v2.5.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.0 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.8 [INFO] [stderr] Checking ic-http-certification v2.5.0 [INFO] [stderr] Checking icrc-ledger-types v0.1.5 [INFO] [stderr] Compiling ic-cdk-macros v0.13.3 [INFO] [stderr] Compiling ic-cdk-macros v0.14.0 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.13.3 [INFO] [stderr] Checking ic-cdk v0.14.0 [INFO] [stderr] Checking ic-cdk-timers v0.8.0 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking ic_asset_handler v0.1.0 (/opt/rustwide/workdir/src/ic_asset_handler) [INFO] [stderr] Checking daohouse_backend v0.1.0 (/opt/rustwide/workdir/src/daohouse_backend) [INFO] [stderr] Checking dao_canister v0.1.0 (/opt/rustwide/workdir/src/dao_canister) [INFO] [stdout] warning: unused import: `CreateFileOutput` [INFO] [stdout] --> src/ic_asset_handler/src/api_update.rs:5:78 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{crc32, is_controller_or_manager, store, types::{CreateFileInput, CreateFileOutput, UpdateFileChunkInput, UpdateFileChunkOutpu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::Permissions` [INFO] [stdout] --> src/dao_canister/src/lib.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::RefCell, fs::Permissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proposal_functions::*` [INFO] [stdout] --> src/dao_canister/src/functions.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use proposal_functions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dao_functions::*` [INFO] [stdout] --> src/dao_canister/src/functions.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use dao_functions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CreateFileOutput` [INFO] [stdout] --> src/ic_asset_handler/src/api_update.rs:5:78 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{crc32, is_controller_or_manager, store, types::{CreateFileInput, CreateFileOutput, UpdateFileChunkInput, UpdateFileChunkOutpu... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs::Permissions` [INFO] [stdout] --> src/dao_canister/src/lib.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{cell::RefCell, fs::Permissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proposal_functions::*` [INFO] [stdout] --> src/dao_canister/src/functions.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use proposal_functions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dao_functions::*` [INFO] [stdout] --> src/dao_canister/src/functions.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use dao_functions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/daohouse_backend/src/types.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{borrow::Cow, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageData` [INFO] [stdout] --> src/daohouse_backend/src/routes/user_controller.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ImageData, State}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/daohouse_backend/src/routes/post_controller.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ImageData, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PostInfo` and `PostInput` [INFO] [stdout] --> src/daohouse_backend/src/routes/post_controller.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::types::{PostInfo, PostInput}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dao_canister/src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | STATE.with(|cell| f(&mut cell.borrow_mut())) [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/dao_canister/src/lib.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | STATE.with(|cell| f(&mut cell.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dao_canister/src/memory.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | MEMORY_MANAGER.with(|m| m.borrow().get(POST_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dao_canister/src/memory.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | MEMORY_MANAGER.with(|m| m.borrow().get(POOL_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dao_canister` (lib test) due to 5 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/daohouse_backend/src/types.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{borrow::Cow, default}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ImageData` [INFO] [stdout] --> src/daohouse_backend/src/routes/user_controller.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ImageData, State}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `State` [INFO] [stdout] --> src/daohouse_backend/src/routes/post_controller.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{ImageData, State}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PostInfo` and `PostInput` [INFO] [stdout] --> src/daohouse_backend/src/routes/post_controller.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::types::{PostInfo, PostInput}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dao_canister/src/lib.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | STATE.with(|cell| f(&mut cell.borrow_mut())) [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/dao_canister/src/lib.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | STATE.with(|cell| f(&mut cell.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dao_canister/src/memory.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | MEMORY_MANAGER.with(|m| m.borrow().get(POST_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dao_canister/src/memory.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | MEMORY_MANAGER.with(|m| m.borrow().get(POOL_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dao_canister` (lib) due to 5 previous errors; 3 warnings emitted [INFO] [stdout] warning: constant `DIR_METADATA_MEMORY_ID` is never used [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:196:7 [INFO] [stdout] | [INFO] [stdout] 196 | const DIR_METADATA_MEMORY_ID: MemoryId = MemoryId::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/ic_asset_handler/src/store.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | BUCKET_HEAP.with(|r| r.borrow().managers.contains(caller)) [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/ic_asset_handler/src/store.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | BUCKET_HEAP.with(|r| r.borrow().max_file_size) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn with(f: impl FnOnce(&Bucket) -> R) -> R { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | BUCKET_HEAP.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn with(f: impl FnOnce(&Bucket) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | BUCKET_HEAP.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn with_mut(f: impl FnOnce(&mut Bucket) -> R) -> R { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | BUCKET_HEAP.with(|r| f(&mut r.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn with_mut(f: impl FnOnce(&mut Bucket) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | BUCKET_HEAP.with(|r| f(&mut r.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn http_tree_with(f: impl FnOnce(&HttpCertificationTree) -> R) -> R { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | HTTP_TREE.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn http_tree_with(f: impl FnOnce(&HttpCertificationTree) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | HTTP_TREE.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | HASH_INDEX.with(|r| r.borrow().get(hash)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | FS_METADATA.with(|r| r.borrow().get(&id)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:382:41 [INFO] [stdout] | [INFO] [stdout] 382 | ROOT_CHILDREN_HEAP.with(|r| r.borrow_mut().files.insert(id)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:383:34 [INFO] [stdout] | [INFO] [stdout] 383 | FS_METADATA.with(|r| r.borrow_mut().insert(id, meta)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn update_file(id: u32, f: impl FnOnce(&mut FileMetadata) -> R) -> Result { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | FS_METADATA.with(|r| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 390 | | let mut m = r.borrow_mut(); [INFO] [stdout] 391 | | match m.get(&id) { [INFO] [stdout] 392 | | None => Err(format!("file not found: {}", id)), [INFO] [stdout] ... | [INFO] [stdout] 421 | | } [INFO] [stdout] 422 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:459:57 [INFO] [stdout] | [INFO] [stdout] 459 | let (size, chunks) = FS_METADATA.with(|r| match r.borrow().get(&id) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:574:37 [INFO] [stdout] | [INFO] [stdout] 574 | ROOT_CHILDREN_HEAP.with(|r| r.borrow_mut().files.remove(&id)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:577:33 [INFO] [stdout] | [INFO] [stdout] 577 | HASH_INDEX.with(|r| r.borrow_mut().remove(&hash)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ic_asset_handler` (lib test) due to 17 previous errors; 2 warnings emitted [INFO] [stdout] warning: constant `DIR_METADATA_MEMORY_ID` is never used [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:196:7 [INFO] [stdout] | [INFO] [stdout] 196 | const DIR_METADATA_MEMORY_ID: MemoryId = MemoryId::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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/ic_asset_handler/src/store.rs:265:30 [INFO] [stdout] | [INFO] [stdout] 265 | BUCKET_HEAP.with(|r| r.borrow().managers.contains(caller)) [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/ic_asset_handler/src/store.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | BUCKET_HEAP.with(|r| r.borrow().max_file_size) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:273:26 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn with(f: impl FnOnce(&Bucket) -> R) -> R { [INFO] [stdout] | ---------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | BUCKET_HEAP.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:273:33 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn with(f: impl FnOnce(&Bucket) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 273 | BUCKET_HEAP.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:277:26 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn with_mut(f: impl FnOnce(&mut Bucket) -> R) -> R { [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | BUCKET_HEAP.with(|r| f(&mut r.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn with_mut(f: impl FnOnce(&mut Bucket) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | BUCKET_HEAP.with(|r| f(&mut r.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:281:24 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn http_tree_with(f: impl FnOnce(&HttpCertificationTree) -> R) -> R { [INFO] [stdout] | ------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | HTTP_TREE.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn http_tree_with(f: impl FnOnce(&HttpCertificationTree) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | HTTP_TREE.with(|r| f(&r.borrow())) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:332:29 [INFO] [stdout] | [INFO] [stdout] 332 | HASH_INDEX.with(|r| r.borrow().get(hash)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:336:30 [INFO] [stdout] | [INFO] [stdout] 336 | FS_METADATA.with(|r| r.borrow().get(&id)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:382:41 [INFO] [stdout] | [INFO] [stdout] 382 | ROOT_CHILDREN_HEAP.with(|r| r.borrow_mut().files.insert(id)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:383:34 [INFO] [stdout] | [INFO] [stdout] 383 | FS_METADATA.with(|r| r.borrow_mut().insert(id, meta)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:389:26 [INFO] [stdout] | [INFO] [stdout] 388 | pub fn update_file(id: u32, f: impl FnOnce(&mut FileMetadata) -> R) -> Result { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 389 | FS_METADATA.with(|r| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 390 | | let mut m = r.borrow_mut(); [INFO] [stdout] 391 | | match m.get(&id) { [INFO] [stdout] 392 | | None => Err(format!("file not found: {}", id)), [INFO] [stdout] ... | [INFO] [stdout] 421 | | } [INFO] [stdout] 422 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:459:57 [INFO] [stdout] | [INFO] [stdout] 459 | let (size, chunks) = FS_METADATA.with(|r| match r.borrow().get(&id) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:574:37 [INFO] [stdout] | [INFO] [stdout] 574 | ROOT_CHILDREN_HEAP.with(|r| r.borrow_mut().files.remove(&id)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:577:33 [INFO] [stdout] | [INFO] [stdout] 577 | HASH_INDEX.with(|r| r.borrow_mut().remove(&hash)); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ic_asset_handler` (lib) due to 17 previous errors; 2 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | STATE.with(|cell| f(&mut cell.borrow_mut())) [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/daohouse_backend/src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | STATE.with(|cell| f(&mut cell.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/daohouse_backend/src/routes/post_controller.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | format!("{}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | MEMORY_MANAGER.with(|m| m.borrow().get(POST_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | MEMORY_MANAGER.with(|m| m.borrow().get(USER_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | MEMORY_MANAGER.with(|m| m.borrow().get(DAO_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | MEMORY_MANAGER.with(|m| m.borrow().get(ANALYTICS_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daohouse_backend` (lib) due to 7 previous errors; 5 warnings emitted [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/lib.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | STATE.with(|cell| f(&mut cell.borrow_mut())) [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/daohouse_backend/src/lib.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn with_state(f: impl FnOnce(&mut State) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | STATE.with(|cell| f(&mut cell.borrow_mut())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: unused return value of `must_use` that must be used [INFO] [stdout] --> src/daohouse_backend/src/routes/post_controller.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | format!("{}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | MEMORY_MANAGER.with(|m| m.borrow().get(POST_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | MEMORY_MANAGER.with(|m| m.borrow().get(USER_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | MEMORY_MANAGER.with(|m| m.borrow().get(DAO_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/daohouse_backend/src/memory.rs:33:29 [INFO] [stdout] | [INFO] [stdout] 33 | MEMORY_MANAGER.with(|m| m.borrow().get(ANALYTICS_DATA)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `daohouse_backend` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36228de472ebed3b711a2eb6f497061abfd3f1dffed3d3eac00be09aef95279a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36228de472ebed3b711a2eb6f497061abfd3f1dffed3d3eac00be09aef95279a", kill_on_drop: false }` [INFO] [stdout] 36228de472ebed3b711a2eb6f497061abfd3f1dffed3d3eac00be09aef95279a