[INFO] cloning repository https://github.com/azizka85/db_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/azizka85/db_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazizka85%2Fdb_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fazizka85%2Fdb_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8dca9537c810232a241d6677580f58ed0e39e931 [INFO] checking azizka85/db_rust/8dca9537c810232a241d6677580f58ed0e39e931 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%2Fazizka85%2Fdb_rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/azizka85/db_rust 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/azizka85/db_rust [INFO] finished tweaking git repo https://github.com/azizka85/db_rust [INFO] tweaked toml for git repo https://github.com/azizka85/db_rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/azizka85/db_rust 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 012f26e05303fad6bed557e8cdc01bc4297ba71da26013be7941ab05d6a7b18f [INFO] running `Command { std: "docker" "start" "-a" "012f26e05303fad6bed557e8cdc01bc4297ba71da26013be7941ab05d6a7b18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "012f26e05303fad6bed557e8cdc01bc4297ba71da26013be7941ab05d6a7b18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012f26e05303fad6bed557e8cdc01bc4297ba71da26013be7941ab05d6a7b18f", kill_on_drop: false }` [INFO] [stdout] 012f26e05303fad6bed557e8cdc01bc4297ba71da26013be7941ab05d6a7b18f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] caffc0f2557402347770c011fa9d2a698a003a5c61772e34b92f95f197ed1b22 [INFO] running `Command { std: "docker" "start" "-a" "caffc0f2557402347770c011fa9d2a698a003a5c61772e34b92f95f197ed1b22", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking unicode-properties v0.1.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking postgres-protocol v0.6.6 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking postgres-types v0.2.6 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking bson v2.10.0 [INFO] [stderr] Checking tokio-postgres v0.7.10 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking postgres-openssl v0.5.0 [INFO] [stderr] Checking postgres v0.19.7 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking db_rust v0.1.0 (/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/repository/mongodb/user.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 124 | let res = session.client().default_database().unwrap() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | / doc! { [INFO] [stdout] 128 | | "email": email, [INFO] [stdout] 129 | | "password": password [INFO] [stdout] 130 | | }, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | / doc! { [INFO] [stdout] 134 | | "_id": 1 [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | / Box::new( [INFO] [stdout] 148 | | StringError::new("User with this email and password doesn't exist") [INFO] [stdout] 149 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/repository/mongodb/user.rs:147:7 [INFO] [stdout] | [INFO] [stdout] 124 | let res = session.client().default_database().unwrap() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 127 | / doc! { [INFO] [stdout] 128 | | "email": email, [INFO] [stdout] 129 | | "password": password [INFO] [stdout] 130 | | }, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 133 | / doc! { [INFO] [stdout] 134 | | "_id": 1 [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | / Box::new( [INFO] [stdout] 148 | | StringError::new("User with this email and password doesn't exist") [INFO] [stdout] 149 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/repository/mongodb/user.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 158 | let res = session.client().default_database().unwrap() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | / doc! { [INFO] [stdout] 162 | | "_id": ObjectId::parse_str(id).unwrap_or(ObjectId::new()) [INFO] [stdout] 163 | | }, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | / doc! { [INFO] [stdout] 167 | | "first_name": 1, [INFO] [stdout] 168 | | "last_name": 1, [INFO] [stdout] 169 | "email": doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 170 | "$cond": doc! { [INFO] [stdout] | __________________________- [INFO] [stdout] 171 | | "if": "$settings.display_email", [INFO] [stdout] 172 | | "then": "$email", [INFO] [stdout] 173 | | "else": "$$REMOVE" [INFO] [stdout] 174 | | } [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | | }, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | | "settings": 1 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | / Box::new( [INFO] [stdout] 186 | | StringError::new("User with this id doesn't exist") [INFO] [stdout] 187 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/repository/mongodb/user.rs:248:41 [INFO] [stdout] | [INFO] [stdout] 248 | ... .unwrap_or(&Bson::Boolean(false)) [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/repository/mongodb/user.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | ... .unwrap_or(&Bson::Int32(0)) [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/repository/mongodb/session.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 54 | let res = session.client().default_database().unwrap() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | / doc! { [INFO] [stdout] 58 | | "sessions": code [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / doc! { [INFO] [stdout] 63 | | "_id": 1 [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | / Box::new( [INFO] [stdout] 77 | | StringError::new("User with this session code doesn't exist") [INFO] [stdout] 78 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/repository/mongodb/post.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | ... .unwrap_or(&Bson::ObjectId(ObjectId::new())) [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/repository/mongodb/post.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | ... .unwrap_or(&Bson::String(String::new())) [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/repository/mongodb/post.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | ... .unwrap_or(&Bson::String(String::new())) [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/repository/mongodb/utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | let mut client_options = ClientOptions::parse( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | Client::with_options(client_options)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 9 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/repository/mongodb/user.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 158 | let res = session.client().default_database().unwrap() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 161 | / doc! { [INFO] [stdout] 162 | | "_id": ObjectId::parse_str(id).unwrap_or(ObjectId::new()) [INFO] [stdout] 163 | | }, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | / doc! { [INFO] [stdout] 167 | | "first_name": 1, [INFO] [stdout] 168 | | "last_name": 1, [INFO] [stdout] 169 | "email": doc! { [INFO] [stdout] | ________________________- [INFO] [stdout] 170 | "$cond": doc! { [INFO] [stdout] | __________________________- [INFO] [stdout] 171 | | "if": "$settings.display_email", [INFO] [stdout] 172 | | "then": "$email", [INFO] [stdout] 173 | | "else": "$$REMOVE" [INFO] [stdout] 174 | | } [INFO] [stdout] | |_________________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | | }, [INFO] [stdout] | |_______________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | | "settings": 1 [INFO] [stdout] 177 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 185 | / Box::new( [INFO] [stdout] 186 | | StringError::new("User with this id doesn't exist") [INFO] [stdout] 187 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db_rust` (bin "db_rust") due to 10 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/repository/mongodb/user.rs:248:41 [INFO] [stdout] | [INFO] [stdout] 248 | ... .unwrap_or(&Bson::Boolean(false)) [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/repository/mongodb/user.rs:252:41 [INFO] [stdout] | [INFO] [stdout] 252 | ... .unwrap_or(&Bson::Int32(0)) [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/repository/mongodb/session.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 54 | let res = session.client().default_database().unwrap() [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | / doc! { [INFO] [stdout] 58 | | "sessions": code [INFO] [stdout] 59 | | }, [INFO] [stdout] | |_________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | / doc! { [INFO] [stdout] 63 | | "_id": 1 [INFO] [stdout] 64 | | } [INFO] [stdout] | |_____________- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | / Box::new( [INFO] [stdout] 77 | | StringError::new("User with this session code doesn't exist") [INFO] [stdout] 78 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | |_______| [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_______these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/repository/mongodb/post.rs:219:41 [INFO] [stdout] | [INFO] [stdout] 219 | ... .unwrap_or(&Bson::ObjectId(ObjectId::new())) [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/repository/mongodb/post.rs:224:41 [INFO] [stdout] | [INFO] [stdout] 224 | ... .unwrap_or(&Bson::String(String::new())) [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/repository/mongodb/post.rs:229:41 [INFO] [stdout] | [INFO] [stdout] 229 | ... .unwrap_or(&Bson::String(String::new())) [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/repository/mongodb/utils.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 6 | let mut client_options = ClientOptions::parse( [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 15 | Client::with_options(client_options)? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `db_rust` (bin "db_rust" test) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "caffc0f2557402347770c011fa9d2a698a003a5c61772e34b92f95f197ed1b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caffc0f2557402347770c011fa9d2a698a003a5c61772e34b92f95f197ed1b22", kill_on_drop: false }` [INFO] [stdout] caffc0f2557402347770c011fa9d2a698a003a5c61772e34b92f95f197ed1b22