[INFO] cloning repository https://github.com/boazy/oco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boazy/oco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboazy%2Foco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboazy%2Foco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b35b844654fa15078a826118250f76a6015999bf [INFO] checking boazy/oco/b35b844654fa15078a826118250f76a6015999bf 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%2Fboazy%2Foco" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boazy/oco 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/boazy/oco [INFO] finished tweaking git repo https://github.com/boazy/oco [INFO] tweaked toml for git repo https://github.com/boazy/oco written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/boazy/oco already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Updating oco v0.1.0 (/workspace/builds/worker-0-tc2/source) -> v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cf5f46930c92f248ae2f1b1c1f3c55c8fd65cbda51b93220dc1e0b9270170adb [INFO] running `Command { std: "docker" "start" "-a" "cf5f46930c92f248ae2f1b1c1f3c55c8fd65cbda51b93220dc1e0b9270170adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5f46930c92f248ae2f1b1c1f3c55c8fd65cbda51b93220dc1e0b9270170adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5f46930c92f248ae2f1b1c1f3c55c8fd65cbda51b93220dc1e0b9270170adb", kill_on_drop: false }` [INFO] [stdout] cf5f46930c92f248ae2f1b1c1f3c55c8fd65cbda51b93220dc1e0b9270170adb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1be3ad6778814eec3df31144c5f01a8af42dae5ea0f8ca398db0323c8ec7b62f [INFO] running `Command { std: "docker" "start" "-a" "1be3ad6778814eec3df31144c5f01a8af42dae5ea0f8ca398db0323c8ec7b62f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Checking bitflags v2.3.3 [INFO] [stderr] Checking linux-raw-sys v0.4.3 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.1 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Compiling serde v1.0.174 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking clap_builder v4.3.17 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling serde_derive v1.0.174 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking similar v2.2.1 [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking console v0.15.7 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking shlex v1.1.0 [INFO] [stderr] Checking similar-asserts v1.4.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling clap_derive v4.3.12 [INFO] [stderr] Compiling enum_dispatch v0.3.12 [INFO] [stderr] Compiling ctor v0.2.4 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking pest v2.7.1 [INFO] [stderr] Checking clap v4.3.17 [INFO] [stderr] Checking clio v0.2.7 [INFO] [stderr] Compiling pest_meta v2.7.1 [INFO] [stderr] Compiling pest_generator v2.7.1 [INFO] [stderr] Compiling pest_derive v2.7.1 [INFO] [stderr] Checking oco v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/deserialize_from_args.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | fn deserialize_enum(mut self, name: &'static str, variants: &'static [&'static str], visitor: V) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/deserialize_from_args.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 287 | fn deserialize_identifier(mut self, visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/deserialize_from_args.rs:279:28 [INFO] [stdout] | [INFO] [stdout] 279 | fn deserialize_enum(mut self, name: &'static str, variants: &'static [&'static str], visitor: V) [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cli/deserialize_from_args.rs:287:34 [INFO] [stdout] | [INFO] [stdout] 287 | fn deserialize_identifier(mut self, visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `split_kv` is never used [INFO] [stdout] --> src/util/str.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait SplitExt: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 2 | fn split_kv(self) -> (Self, Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_and_borrow` is never used [INFO] [stdout] --> src/util/vec.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait PushExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn push_and_borrow(&mut self, value: T) -> &mut T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `and_then` is never used [INFO] [stdout] --> src/util/iter.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ResultIter [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 2 | { [INFO] [stdout] 3 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_rules` is never used [INFO] [stdout] --> src/commands/parser_exts.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait PairsExt<'i, R> { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 64 | fn expect_rule(&mut self, rule: R) -> Result>; [INFO] [stdout] 65 | fn expect_rules(&mut self, rules: &[R]) -> Result>; [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/cli/dialect.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let args_str = &value.get(name.len() + 1..).unwrap_or(""); [INFO] [stdout] 32 | / eyre::Error::msg( [INFO] [stdout] 33 | | format!("Cannot parse grammar arguments for {name} ('{args_str}'): {e}") [INFO] [stdout] 34 | | ).with_error(|| e) [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/cli/dialect.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | ).with_error(|| e) [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/cli/deserialize_from_args.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 56 | fn custom(msg: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | SimpleError { report: Report::msg(msg.to_string()) } [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/cli/deserialize_from_args.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 229 | fn deserialize_bytes(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | Err(Error::custom("binary values are not supported")) [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/cli/deserialize_from_args.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | fn deserialize_byte_buf(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Err(Error::custom("binary values are not supported")) [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/cli/deserialize_from_args.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 241 | fn deserialize_unit(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | Err(Error::custom("unit values are not supported")) [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/cli/deserialize_from_args.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 245 | fn deserialize_unit_struct(self, _name: &'static str, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Err(Error::custom("unit struct values are not supported")) [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/cli/deserialize_from_args.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_newtype_struct(self, _name: &'static str, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | Err(Error::custom("newtype struct values are not supported")) [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/cli/deserialize_from_args.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 253 | fn deserialize_seq(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Err(Error::custom("sequence values are not supported")) [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/cli/deserialize_from_args.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 257 | fn deserialize_tuple(self, _len: usize, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | Err(Error::custom("tuple values are not supported")) [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/cli/deserialize_from_args.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 261 | fn deserialize_tuple_struct(self, _name: &'static str, _len: usize, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Err(Error::custom("tuple struct values are not supported")) [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/cli/deserialize_from_args.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 265 | fn deserialize_map(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | Err(Error::custom("map values are not supported")) [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/cli/deserialize_from_args.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 310 | fn deserialize_ignored_any(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let (name, _) = self.expect_next_arg()?; [INFO] [stdout] 312 | Err(SimpleError::unknown_field(name, self.expected_fields.unwrap_or(&[]))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/deserialize_from_args.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 327 | fn next_key_seed(&mut self, seed: K) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | seed.deserialize(&mut *self.de).map(Some) [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/cli/deserialize_from_args.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 367 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant)> where V: DeserializeSeed<'de> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | let variant = seed.deserialize(&mut *self.de)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | Ok((variant, self)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/deserialize_from_args.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 382 | fn newtype_variant_seed(self, _seed: T) -> Result where T: DeserializeSeed<'de> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | Err(self.unsupported_variant()) [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/cli/deserialize_from_args.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 386 | fn tuple_variant(self, _len: usize, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | Err(self.unsupported_variant()) [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/cli/deserialize_from_args.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 390 | fn struct_variant(self, _fields: &'static [&'static str], _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | Err(self.unsupported_variant()) [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/opts/grammar/gnu.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Copy, Clone, Default, Debug, Deserialize, Eq, PartialEq)] [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] = note: this error originates in the macro `try` (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/opts/grammar/gnu.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Copy, Clone, Default, Debug, Deserialize, Eq, PartialEq)] [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] = note: this error originates in the macro `try` (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/read_args.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_args(b: B) -> impl Iterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | b.lines().flat_map(|l| { [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/commands/compact.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_from_args<'a, I, S>(&self, commands: I) -> Result> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | / commands [INFO] [stdout] 44 | | .map(|cmd| { [INFO] [stdout] 45 | | let cmd = cmd.as_ref(); [INFO] [stdout] 46 | | parse_command(cmd) [INFO] [stdout] 47 | | .wrap_err_with(|| format!("Failed to parse command: {cmd}")) [INFO] [stdout] 48 | | }) [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/commands/compact.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|cmd| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cmd = cmd.as_ref(); [INFO] [stdout] 46 | parse_command(cmd) [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/commands/full.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_from_args<'a, I, S>(&self, commands: I) -> Result> where S: AsRef, I: Iterator { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | / commands [INFO] [stdout] 38 | | .map(|command| { [INFO] [stdout] 39 | | let command = InternalParser::parse( [INFO] [stdout] 40 | | Rule::command, command.as_ref()) [INFO] [stdout] ... | [INFO] [stdout] 46 | | parse_command(command) [INFO] [stdout] 47 | | }) [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 24 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oco` (bin "oco") due to 25 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `split_kv` is never used [INFO] [stdout] --> src/util/str.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait SplitExt: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 2 | fn split_kv(self) -> (Self, Option); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_and_borrow` is never used [INFO] [stdout] --> src/util/vec.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait PushExt { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 4 | fn push_and_borrow(&mut self, value: T) -> &mut T; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `and_then` is never used [INFO] [stdout] --> src/util/iter.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait ResultIter [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 2 | { [INFO] [stdout] 3 | fn and_then(self, f: F) -> AndThen [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expect_rules` is never used [INFO] [stdout] --> src/commands/parser_exts.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub trait PairsExt<'i, R> { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 64 | fn expect_rule(&mut self, rule: R) -> Result>; [INFO] [stdout] 65 | fn expect_rules(&mut self, rules: &[R]) -> Result>; [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/cli/dialect.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 31 | let args_str = &value.get(name.len() + 1..).unwrap_or(""); [INFO] [stdout] 32 | / eyre::Error::msg( [INFO] [stdout] 33 | | format!("Cannot parse grammar arguments for {name} ('{args_str}'): {e}") [INFO] [stdout] 34 | | ).with_error(|| e) [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/cli/dialect.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 30 | .map_err(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | ).with_error(|| e) [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/cli/deserialize_from_args.rs:57:31 [INFO] [stdout] | [INFO] [stdout] 56 | fn custom(msg: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | SimpleError { report: Report::msg(msg.to_string()) } [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/cli/deserialize_from_args.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 229 | fn deserialize_bytes(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 230 | Err(Error::custom("binary values are not supported")) [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/cli/deserialize_from_args.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 233 | fn deserialize_byte_buf(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 234 | Err(Error::custom("binary values are not supported")) [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/cli/deserialize_from_args.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 241 | fn deserialize_unit(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 242 | Err(Error::custom("unit values are not supported")) [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/cli/deserialize_from_args.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 245 | fn deserialize_unit_struct(self, _name: &'static str, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 246 | Err(Error::custom("unit struct values are not supported")) [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/cli/deserialize_from_args.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 249 | fn deserialize_newtype_struct(self, _name: &'static str, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 250 | Err(Error::custom("newtype struct values are not supported")) [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/cli/deserialize_from_args.rs:254:13 [INFO] [stdout] | [INFO] [stdout] 253 | fn deserialize_seq(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 254 | Err(Error::custom("sequence values are not supported")) [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/cli/deserialize_from_args.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 257 | fn deserialize_tuple(self, _len: usize, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | Err(Error::custom("tuple values are not supported")) [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/cli/deserialize_from_args.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 261 | fn deserialize_tuple_struct(self, _name: &'static str, _len: usize, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 262 | Err(Error::custom("tuple struct values are not supported")) [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/cli/deserialize_from_args.rs:266:13 [INFO] [stdout] | [INFO] [stdout] 265 | fn deserialize_map(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 266 | Err(Error::custom("map values are not supported")) [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/cli/deserialize_from_args.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 310 | fn deserialize_ignored_any(self, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | let (name, _) = self.expect_next_arg()?; [INFO] [stdout] 312 | Err(SimpleError::unknown_field(name, self.expected_fields.unwrap_or(&[]))) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/deserialize_from_args.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 327 | fn next_key_seed(&mut self, seed: K) -> Result> [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 333 | seed.deserialize(&mut *self.de).map(Some) [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/cli/deserialize_from_args.rs:369:12 [INFO] [stdout] | [INFO] [stdout] 367 | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant)> where V: DeserializeSeed<'de> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 368 | let variant = seed.deserialize(&mut *self.de)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 369 | Ok((variant, self)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cli/deserialize_from_args.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 382 | fn newtype_variant_seed(self, _seed: T) -> Result where T: DeserializeSeed<'de> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 383 | Err(self.unsupported_variant()) [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/cli/deserialize_from_args.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 386 | fn tuple_variant(self, _len: usize, _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 387 | Err(self.unsupported_variant()) [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/cli/deserialize_from_args.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 390 | fn struct_variant(self, _fields: &'static [&'static str], _visitor: V) -> Result where V: Visitor<'de> { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 391 | Err(self.unsupported_variant()) [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/opts/grammar/gnu.rs:34:39 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(Copy, Clone, Default, Debug, Deserialize, Eq, PartialEq)] [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] = note: this error originates in the macro `try` (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/opts/grammar/gnu.rs:48:39 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Copy, Clone, Default, Debug, Deserialize, Eq, PartialEq)] [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] = note: this error originates in the macro `try` (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/read_args.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_args(b: B) -> impl Iterator { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 7 | b.lines().flat_map(|l| { [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/commands/compact.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 39 | fn parse_from_args<'a, I, S>(&self, commands: I) -> Result> [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | / commands [INFO] [stdout] 44 | | .map(|cmd| { [INFO] [stdout] 45 | | let cmd = cmd.as_ref(); [INFO] [stdout] 46 | | parse_command(cmd) [INFO] [stdout] 47 | | .wrap_err_with(|| format!("Failed to parse command: {cmd}")) [INFO] [stdout] 48 | | }) [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/commands/compact.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|cmd| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | let cmd = cmd.as_ref(); [INFO] [stdout] 46 | parse_command(cmd) [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/commands/full.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_from_args<'a, I, S>(&self, commands: I) -> Result> where S: AsRef, I: Iterator { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | / commands [INFO] [stdout] 38 | | .map(|command| { [INFO] [stdout] 39 | | let command = InternalParser::parse( [INFO] [stdout] 40 | | Rule::command, command.as_ref()) [INFO] [stdout] ... | [INFO] [stdout] 46 | | parse_command(command) [INFO] [stdout] 47 | | }) [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 24 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oco` (bin "oco" test) due to 25 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1be3ad6778814eec3df31144c5f01a8af42dae5ea0f8ca398db0323c8ec7b62f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1be3ad6778814eec3df31144c5f01a8af42dae5ea0f8ca398db0323c8ec7b62f", kill_on_drop: false }` [INFO] [stdout] 1be3ad6778814eec3df31144c5f01a8af42dae5ea0f8ca398db0323c8ec7b62f