[INFO] fetching crate crcnt_ddd 0.2.14... [INFO] checking crcnt_ddd-0.2.14 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate crcnt_ddd 0.2.14 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate crcnt_ddd 0.2.14 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 crcnt_ddd 0.2.14 [INFO] finished tweaking crates.io crate crcnt_ddd 0.2.14 [INFO] tweaked toml for crates.io crate crcnt_ddd 0.2.14 written to /workspace/builds/worker-3-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 158 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding base64 v0.13.1 (latest: v0.22.1) [INFO] [stderr] Adding bigdecimal v0.3.1 (latest: v0.4.5) [INFO] [stderr] Adding bindgen v0.59.2 (latest: v0.70.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding bytecheck v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (latest: v0.7.0) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding mysql_common v0.29.2 (latest: v0.32.4) [INFO] [stderr] Adding peeking_take_while v0.1.2 (latest: v1.0.0) [INFO] [stderr] Adding ptr_meta v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml v0.5.11 (latest: v0.8.19) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11e05d719d24e3e3fc442281f99d57b6f222ee97020f3442621b18b84b747cac [INFO] running `Command { std: "docker" "start" "-a" "11e05d719d24e3e3fc442281f99d57b6f222ee97020f3442621b18b84b747cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11e05d719d24e3e3fc442281f99d57b6f222ee97020f3442621b18b84b747cac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e05d719d24e3e3fc442281f99d57b6f222ee97020f3442621b18b84b747cac", kill_on_drop: false }` [INFO] [stdout] 11e05d719d24e3e3fc442281f99d57b6f222ee97020f3442621b18b84b747cac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e4d477a4ecf6d1bda8508b357c9c10da5734f8fe0bc0153e44212327d19f442 [INFO] running `Command { std: "docker" "start" "-a" "0e4d477a4ecf6d1bda8508b357c9c10da5734f8fe0bc0153e44212327d19f442", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Compiling cmake v0.1.51 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking bigdecimal v0.3.1 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking frunk v0.4.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ulid v1.1.3 [INFO] [stderr] Compiling mysql_common v0.29.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling crcnt_ddd_macros v0.2.10 [INFO] [stderr] Checking crcnt_ddd v0.2.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/value.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | let naive = NaiveDateTime::from_timestamp_opt(timestamp, 0); [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::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | let date_time = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/value.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | let naive = NaiveDateTime::from_timestamp_millis(timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | let date_time = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_opt`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/value.rs:139:32 [INFO] [stdout] | [INFO] [stdout] 139 | let naive = NaiveDateTime::from_timestamp_opt(timestamp, 0); [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::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:141:40 [INFO] [stdout] | [INFO] [stdout] 141 | let date_time = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/value.rs:149:32 [INFO] [stdout] | [INFO] [stdout] 149 | let naive = NaiveDateTime::from_timestamp_millis(timestamp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 151 | let date_time = DateTime::::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:246:24 [INFO] [stdout] | [INFO] [stdout] 246 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:260:24 [INFO] [stdout] | [INFO] [stdout] 260 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:274:24 [INFO] [stdout] | [INFO] [stdout] 274 | let dt = DateTime::from_utc(self.ndt, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/value.rs:288:24 [INFO] [stdout] | [INFO] [stdout] 288 | let dt = DateTime::from_utc(self.ndt, Utc); [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/collections.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn merge_results(xs: Vec>) -> Result, E> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2 | let init: Vec = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3 | xs.iter().fold(Ok(init), |acc, next| { [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/collections.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 4 | let acc = acc.and_then(|mut xs| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | let next = next.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | next.map(|x| { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 7 | | xs.push(x.clone()); [INFO] [stdout] 8 | | xs [INFO] [stdout] 9 | | }) [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 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crcnt_ddd` (lib) due to 3 previous errors; 9 warnings emitted [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/collections.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn merge_results(xs: Vec>) -> Result, E> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 2 | let init: Vec = vec![]; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 3 | xs.iter().fold(Ok(init), |acc, next| { [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/collections.rs:6:38 [INFO] [stdout] | [INFO] [stdout] 4 | let acc = acc.and_then(|mut xs| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 5 | let next = next.clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 6 | next.map(|x| { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 7 | | xs.push(x.clone()); [INFO] [stdout] 8 | | xs [INFO] [stdout] 9 | | }) [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 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crcnt_ddd` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0e4d477a4ecf6d1bda8508b357c9c10da5734f8fe0bc0153e44212327d19f442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e4d477a4ecf6d1bda8508b357c9c10da5734f8fe0bc0153e44212327d19f442", kill_on_drop: false }` [INFO] [stdout] 0e4d477a4ecf6d1bda8508b357c9c10da5734f8fe0bc0153e44212327d19f442