[INFO] fetching crate libimagutil 0.10.1... [INFO] checking libimagutil-0.10.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate libimagutil 0.10.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate libimagutil 0.10.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libimagutil 0.10.1 [INFO] finished tweaking crates.io crate libimagutil 0.10.1 [INFO] tweaked toml for crates.io crate libimagutil 0.10.1 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 59 packages to latest compatible versions [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.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] e13c1d3999b2b4711f7ce118fa8e244df8d70707045a5ba7ad102abc79c2452d [INFO] running `Command { std: "docker" "start" "-a" "e13c1d3999b2b4711f7ce118fa8e244df8d70707045a5ba7ad102abc79c2452d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e13c1d3999b2b4711f7ce118fa8e244df8d70707045a5ba7ad102abc79c2452d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e13c1d3999b2b4711f7ce118fa8e244df8d70707045a5ba7ad102abc79c2452d", kill_on_drop: false }` [INFO] [stdout] e13c1d3999b2b4711f7ce118fa8e244df8d70707045a5ba7ad102abc79c2452d [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] 7b599a63e283e22c1eede3d2e2439ae9c8fdfad8e738ca79415644e9efdd887a [INFO] running `Command { std: "docker" "start" "-a" "7b599a63e283e22c1eede3d2e2439ae9c8fdfad8e738ca79415644e9efdd887a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking libimagutil v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/edit.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn edit_in_tmpfile_with_command(mut cmd: Command, s: &mut String) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / cmd.arg(file_path) [INFO] [stdout] 39 | | .status() [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/log_result.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn $map_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | self.map(|x| { $closure(f(&x)); x }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/info_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | InfoResult, [INFO] [stdout] 24 | | map_info, [INFO] [stdout] 25 | | map_info_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { info!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (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/log_result.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn $map_err_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | self.map_err(|e| { $closure(f(&e)); e }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/info_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | InfoResult, [INFO] [stdout] 24 | | map_info, [INFO] [stdout] 25 | | map_info_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { info!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (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/log_option.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 80 | fn $map_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | self.map(|x| { $closure(f(&x)); x }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/info_option.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_option_logging_extension!( [INFO] [stdout] 23 | | InfoResult, [INFO] [stdout] 24 | | map_info, [INFO] [stdout] 25 | | map_info_str, [INFO] [stdout] 26 | | |s| { info!("{}", s); } [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_option_logging_extension` (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/variants.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_variants(base: &A, modders: I, f: &F) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | modders.map(|m| f(base, m)).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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/log_result.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn $map_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | self.map(|x| { $closure(f(&x)); x }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/warn_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | WarnResult, [INFO] [stdout] 24 | | map_warn, [INFO] [stdout] 25 | | map_warn_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { warn!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (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/log_result.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn $map_err_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | self.map_err(|e| { $closure(f(&e)); e }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/warn_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | WarnResult, [INFO] [stdout] 24 | | map_warn, [INFO] [stdout] 25 | | map_warn_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { warn!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libimagutil` (lib) due to 8 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/edit.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn edit_in_tmpfile_with_command(mut cmd: Command, s: &mut String) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | / cmd.arg(file_path) [INFO] [stdout] 39 | | .status() [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/log_result.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn $map_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | self.map(|x| { $closure(f(&x)); x }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/info_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | InfoResult, [INFO] [stdout] 24 | | map_info, [INFO] [stdout] 25 | | map_info_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { info!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (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/log_result.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn $map_err_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | self.map_err(|e| { $closure(f(&e)); e }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/info_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | InfoResult, [INFO] [stdout] 24 | | map_info, [INFO] [stdout] 25 | | map_info_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { info!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (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/log_option.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 80 | fn $map_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | self.map(|x| { $closure(f(&x)); x }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/info_option.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_option_logging_extension!( [INFO] [stdout] 23 | | InfoResult, [INFO] [stdout] 24 | | map_info, [INFO] [stdout] 25 | | map_info_str, [INFO] [stdout] 26 | | |s| { info!("{}", s); } [INFO] [stdout] 27 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_option_logging_extension` (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/variants.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn generate_variants(base: &A, modders: I, f: &F) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | modders.map(|m| f(base, m)).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] warning: panic message is not a string literal [INFO] [stdout] --> src/variants.rs:53:34 [INFO] [stdout] | [INFO] [stdout] 53 | assert!(res.len() == 11, format!("Length is {} instead of 11", res.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 53 - assert!(res.len() == 11, format!("Length is {} instead of 11", res.len())); [INFO] [stdout] 53 + assert!(res.len() == 11, "Length is {} instead of 11", res.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/variants.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | assert!(res.len() == 3, format!("Length is {} instead of 3", res.len())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 70 - assert!(res.len() == 3, format!("Length is {} instead of 3", res.len())); [INFO] [stdout] 70 + assert!(res.len() == 3, "Length is {} instead of 3", res.len()); [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/log_result.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 97 | fn $map_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 98 | self.map(|x| { $closure(f(&x)); x }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/warn_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | WarnResult, [INFO] [stdout] 24 | | map_warn, [INFO] [stdout] 25 | | map_warn_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { warn!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (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/log_result.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 101 | fn $map_err_name String>(self, f: F) -> Self { [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 102 | self.map_err(|e| { $closure(f(&e)); e }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/warn_result.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / generate_result_logging_extension!( [INFO] [stdout] 23 | | WarnResult, [INFO] [stdout] 24 | | map_warn, [INFO] [stdout] 25 | | map_warn_str, [INFO] [stdout] ... | [INFO] [stdout] 28 | | |s| { warn!("{}", s); } [INFO] [stdout] 29 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `generate_result_logging_extension` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libimagutil` (lib test) due to 8 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7b599a63e283e22c1eede3d2e2439ae9c8fdfad8e738ca79415644e9efdd887a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b599a63e283e22c1eede3d2e2439ae9c8fdfad8e738ca79415644e9efdd887a", kill_on_drop: false }` [INFO] [stdout] 7b599a63e283e22c1eede3d2e2439ae9c8fdfad8e738ca79415644e9efdd887a