[INFO] fetching crate dengine 0.1.3... [INFO] checking dengine-0.1.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate dengine 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate dengine 0.1.3 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 dengine 0.1.3 [INFO] finished tweaking crates.io crate dengine 0.1.3 [INFO] tweaked toml for crates.io crate dengine 0.1.3 written to /workspace/builds/worker-4-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] Updating crates.io index [INFO] [stderr] Locking 134 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding atoi v0.2.4 (latest: v2.0.0) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.3.0) [INFO] [stderr] Adding base64 v0.10.1 (latest: v0.22.1) [INFO] [stderr] Adding bit-vec v0.5.1 (latest: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding block-buffer v0.7.3 (latest: v0.10.4) [INFO] [stderr] Adding block-padding v0.1.5 (latest: v0.3.3) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding chrono-tz v0.5.1 (latest: v0.9.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding digest v0.8.1 (latest: v0.10.7) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.1.0) [INFO] [stderr] Adding idna v0.1.5 (latest: v1.0.2) [INFO] [stderr] Adding libsqlite3-sys v0.13.0 (latest: v0.30.1) [INFO] [stderr] Adding mysql v14.2.0 (latest: v25.0.1) [INFO] [stderr] Adding mysql_common v0.12.0 (latest: v0.32.4) [INFO] [stderr] Adding named_pipe v0.3.0 (latest: v0.4.1) [INFO] [stderr] Adding nix v0.11.1 (latest: v0.29.0) [INFO] [stderr] Adding num-bigint v0.2.6 (latest: v0.4.6) [INFO] [stderr] Adding opaque-debug v0.2.3 (latest: v0.3.1) [INFO] [stderr] Adding parse-zoneinfo v0.2.0 (latest: v0.3.1) [INFO] [stderr] Adding percent-encoding v1.0.1 (latest: v2.3.1) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding regex v1.0.6 (latest: v1.10.6) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding sha1 v0.6.1 (latest: v0.10.6) [INFO] [stderr] Adding sha2 v0.8.2 (latest: v0.10.8) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding time v0.1.45 (latest: v0.3.36) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding url v1.7.2 (latest: v2.5.2) [INFO] [stderr] Adding uuid v0.7.4 (latest: v1.10.0) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 468b6b65dca53d5481823630efe293c12a272a37d94804c237f441b6706f1031 [INFO] running `Command { std: "docker" "start" "-a" "468b6b65dca53d5481823630efe293c12a272a37d94804c237f441b6706f1031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "468b6b65dca53d5481823630efe293c12a272a37d94804c237f441b6706f1031", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468b6b65dca53d5481823630efe293c12a272a37d94804c237f441b6706f1031", kill_on_drop: false }` [INFO] [stdout] 468b6b65dca53d5481823630efe293c12a272a37d94804c237f441b6706f1031 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 1a8b995ba0755af587f7a1e4dd792c65ecf16b0358bc639abec5c02e93b830eb [INFO] running `Command { std: "docker" "start" "-a" "1a8b995ba0755af587f7a1e4dd792c65ecf16b0358bc639abec5c02e93b830eb", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling libsqlite3-sys v0.13.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking checked v0.5.0 [INFO] [stderr] Checking atoi v0.2.4 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking bit-vec v0.5.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking deslite v0.1.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking mysql_common v0.12.0 [INFO] [stderr] Compiling parse-zoneinfo v0.2.0 [INFO] [stderr] Compiling dengine_derive v0.1.2 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Checking mysql v14.2.0 [INFO] [stderr] Checking dengine v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a Rowable); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a dyn Rowable); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a Rowable); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Row<'a>(&'a dyn Rowable); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/my_sql.rs:514:39 [INFO] [stdout] | [INFO] [stdout] 514 | let date = chrono::NaiveDate::from_ymd(b.0, b.1, b.2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/my_sql.rs:514:39 [INFO] [stdout] | [INFO] [stdout] 514 | let date = chrono::NaiveDate::from_ymd(b.0, b.1, b.2); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `host`, `user_name`, `password`, and `db_name` are never read [INFO] [stdout] --> src/my_sql.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_name` is never read [INFO] [stdout] --> src/sqlite.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/my_sql.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|result| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | / result [INFO] [stdout] 142 | | .map(|x| x.unwrap()) [INFO] [stdout] 143 | | .map(|row| T::new(Row::new(&row))) [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/my_sql.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|result| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | / result [INFO] [stdout] 177 | | .map(|x| x.unwrap()) [INFO] [stdout] 178 | | .map(|row| row.get("count").unwrap()) [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sqlite.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | let con = SqliteCon::new(db_name).map_err(|e| Error::from(e))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | Ok(Connection { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | db_name: db_name.to_string(), [INFO] [stdout] 36 | | con, [INFO] [stdout] 37 | | attached: Vec::new(), [INFO] [stdout] 38 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/sqlite.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 137 | fn value(&self, sql: &str, colum: &str, params: R) -> Desult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let mut stmt = deslite::Stmt::init(&self.con); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(T::from(row.get::(colum).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sqlite.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 222 | fn row(&self, sql: &str, params: R) -> Desult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let mut stmt = deslite::Stmt::init(&self.con); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | Ok(T::new(Row::new(&row))) [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/traits.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 162 | params: P, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | self.select(sql, params, calc_found_rows).map(|r| r.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/types.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 180 | fn from(x: Vec) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Params::new(x.into_iter().map(|v| Dypes::from(v)).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dengine` (lib test) due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `host`, `user_name`, `password`, and `db_name` are never read [INFO] [stdout] --> src/my_sql.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Connection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 30 | host: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | user_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 33 | db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `db_name` is never read [INFO] [stdout] --> src/sqlite.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 25 | db_name: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/my_sql.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 140 | .map(|result| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | / result [INFO] [stdout] 142 | | .map(|x| x.unwrap()) [INFO] [stdout] 143 | | .map(|row| T::new(Row::new(&row))) [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/my_sql.rs:176:21 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|result| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 176 | / result [INFO] [stdout] 177 | | .map(|x| x.unwrap()) [INFO] [stdout] 178 | | .map(|row| row.get("count").unwrap()) [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sqlite.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 32 | let con = SqliteCon::new(db_name).map_err(|e| Error::from(e))?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | Ok(Connection { [INFO] [stdout] | ____________^ [INFO] [stdout] 35 | | db_name: db_name.to_string(), [INFO] [stdout] 36 | | con, [INFO] [stdout] 37 | | attached: Vec::new(), [INFO] [stdout] 38 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/sqlite.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 137 | fn value(&self, sql: &str, colum: &str, params: R) -> Desult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 143 | let mut stmt = deslite::Stmt::init(&self.con); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 153 | Ok(T::from(row.get::(colum).unwrap())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/sqlite.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 222 | fn row(&self, sql: &str, params: R) -> Desult [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 228 | let mut stmt = deslite::Stmt::init(&self.con); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 238 | Ok(T::new(Row::new(&row))) [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/traits.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 162 | params: P, [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 168 | self.select(sql, params, calc_found_rows).map(|r| r.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/types.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 180 | fn from(x: Vec) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | Params::new(x.into_iter().map(|v| Dypes::from(v)).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dengine` (lib) due to 8 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1a8b995ba0755af587f7a1e4dd792c65ecf16b0358bc639abec5c02e93b830eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a8b995ba0755af587f7a1e4dd792c65ecf16b0358bc639abec5c02e93b830eb", kill_on_drop: false }` [INFO] [stdout] 1a8b995ba0755af587f7a1e4dd792c65ecf16b0358bc639abec5c02e93b830eb