[INFO] fetching crate nu-source 0.44.0... [INFO] checking nu-source-0.44.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nu-source 0.44.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate nu-source 0.44.0 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 nu-source 0.44.0 [INFO] finished tweaking crates.io crate nu-source 0.44.0 [INFO] tweaked toml for crates.io crate nu-source 0.44.0 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 27 packages to latest compatible versions [INFO] [stderr] Adding derive-new v0.5.9 (latest: v0.7.0) [INFO] [stderr] Adding pretty v0.5.2 (latest: v0.12.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding typed-arena v1.7.0 (latest: v2.0.2) [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-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] 52ef0353eb4def01bbca4b14755abf492fa679d9e6259cfca726bdb501220193 [INFO] running `Command { std: "docker" "start" "-a" "52ef0353eb4def01bbca4b14755abf492fa679d9e6259cfca726bdb501220193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ef0353eb4def01bbca4b14755abf492fa679d9e6259cfca726bdb501220193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ef0353eb4def01bbca4b14755abf492fa679d9e6259cfca726bdb501220193", kill_on_drop: false }` [INFO] [stdout] 52ef0353eb4def01bbca4b14755abf492fa679d9e6259cfca726bdb501220193 [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] 8b52bb731fb440a815637b920ad9007f8bce8c46c4a3ff2b57ec90b01deef0df [INFO] running `Command { std: "docker" "start" "-a" "8b52bb731fb440a815637b920ad9007f8bce8c46c4a3ff2b57ec90b01deef0df", kill_on_drop: false }` [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking pretty v0.5.2 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking nu-source v0.44.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pretty.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 126 | fn add(self, rhs: DebugDocBuilder) -> DebugDocBuilder { [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] 127 | DebugDocBuilder::new(self.inner.append(rhs.inner)) [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/pretty.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn from_doc(doc: DebugDoc) -> DebugDocBuilder { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | DebugDocBuilder { [INFO] [stdout] 134 | inner: BoxAllocator.nil().append(doc), [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/pretty.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn into_value(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | / self.inner [INFO] [stdout] 156 | | .annotate(ShellAnnotation::style(ShellStyle::Value)) [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/pretty.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn into_kind(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | / self.inner [INFO] [stdout] 170 | | .annotate(ShellAnnotation::style(ShellStyle::Kind)) [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/pretty.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn typed(kind: &str, value: DebugDocBuilder) -> DebugDocBuilder { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | DbgDocBldr::kind(kind) + DbgDocBldr::delimit("[", value.group(), "]") [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/pretty.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn typed(kind: &str, value: DebugDocBuilder) -> DebugDocBuilder { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | DbgDocBldr::kind(kind) + DbgDocBldr::delimit("[", value.group(), "]") [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/pretty.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 180 | subkind: impl std::fmt::Display, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | value: DebugDocBuilder, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | ) -> DebugDocBuilder { [INFO] [stdout] 183 | / DbgDocBldr::delimit( [INFO] [stdout] 184 | | "(", [INFO] [stdout] 185 | | (DbgDocBldr::kind(kind) + DbgDocBldr::delimit("[", DbgDocBldr::kind(subkind), "]")) [INFO] [stdout] 186 | | .group() [INFO] [stdout] ... | [INFO] [stdout] 189 | | ")", [INFO] [stdout] 190 | | ) [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/pretty.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn delimit(start: &str, doc: DebugDocBuilder, end: &str) -> DebugDocBuilder { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | DebugDocBuilder::delimiter(start) + doc + DebugDocBuilder::delimiter(end) [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/pretty.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn delimit(start: &str, doc: DebugDocBuilder, end: &str) -> DebugDocBuilder { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | DebugDocBuilder::delimiter(start) + doc + DebugDocBuilder::delimiter(end) [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/pretty.rs:249:61 [INFO] [stdout] | [INFO] [stdout] 246 | before: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | builder: Option, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | ) -> DebugDocBuilder { [INFO] [stdout] 249 | DebugDocBuilder::surrounded_option(before, builder, None) [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/pretty.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn group(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | self.inner.group().into() [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/pretty.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn nest(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | self.inner.nest(1).group().into() [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/pretty.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 285 | list: impl IntoIterator, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | separator: DebugDocBuilder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | / BoxAllocator [INFO] [stdout] 290 | | .intersperse( [INFO] [stdout] 291 | | list.into_iter().filter_map(|item| { [INFO] [stdout] 292 | | let item = item.pretty_debug(source); [INFO] [stdout] ... | [INFO] [stdout] 299 | | separator, [INFO] [stdout] 300 | | ) [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/pretty.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 305 | list: impl IntoIterator, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | separator: DebugDocBuilder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | ) -> DebugDocBuilder { [INFO] [stdout] 308 | / BoxAllocator [INFO] [stdout] 309 | | .intersperse( [INFO] [stdout] 310 | | list.into_iter().filter_map(|item| { [INFO] [stdout] 311 | | let item = item.pretty(); [INFO] [stdout] ... | [INFO] [stdout] 318 | | separator, [INFO] [stdout] 319 | | ) [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/pretty.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | fn styled(string: impl std::fmt::Display, style: ShellStyle) -> DebugDocBuilder { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | / BoxAllocator [INFO] [stdout] 335 | | .text(string.to_string()) [INFO] [stdout] 336 | | .annotate(ShellAnnotation::style(style)) [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/pretty.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 372 | fn debug(&self, source: impl Into) -> String [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | self.clone().debuggable(source).display() [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-source` (lib) due to 17 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/pretty.rs:127:30 [INFO] [stdout] | [INFO] [stdout] 126 | fn add(self, rhs: DebugDocBuilder) -> DebugDocBuilder { [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] 127 | DebugDocBuilder::new(self.inner.append(rhs.inner)) [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/pretty.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn from_doc(doc: DebugDoc) -> DebugDocBuilder { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 133 | DebugDocBuilder { [INFO] [stdout] 134 | inner: BoxAllocator.nil().append(doc), [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/pretty.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn into_value(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | / self.inner [INFO] [stdout] 156 | | .annotate(ShellAnnotation::style(ShellStyle::Value)) [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/pretty.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn into_kind(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | / self.inner [INFO] [stdout] 170 | | .annotate(ShellAnnotation::style(ShellStyle::Kind)) [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/pretty.rs:175:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn typed(kind: &str, value: DebugDocBuilder) -> DebugDocBuilder { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | DbgDocBldr::kind(kind) + DbgDocBldr::delimit("[", value.group(), "]") [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/pretty.rs:175:34 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn typed(kind: &str, value: DebugDocBuilder) -> DebugDocBuilder { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | DbgDocBldr::kind(kind) + DbgDocBldr::delimit("[", value.group(), "]") [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/pretty.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 180 | subkind: impl std::fmt::Display, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 181 | value: DebugDocBuilder, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 182 | ) -> DebugDocBuilder { [INFO] [stdout] 183 | / DbgDocBldr::delimit( [INFO] [stdout] 184 | | "(", [INFO] [stdout] 185 | | (DbgDocBldr::kind(kind) + DbgDocBldr::delimit("[", DbgDocBldr::kind(subkind), "]")) [INFO] [stdout] 186 | | .group() [INFO] [stdout] ... | [INFO] [stdout] 189 | | ")", [INFO] [stdout] 190 | | ) [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/pretty.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn delimit(start: &str, doc: DebugDocBuilder, end: &str) -> DebugDocBuilder { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | DebugDocBuilder::delimiter(start) + doc + DebugDocBuilder::delimiter(end) [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/pretty.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn delimit(start: &str, doc: DebugDocBuilder, end: &str) -> DebugDocBuilder { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 223 | DebugDocBuilder::delimiter(start) + doc + DebugDocBuilder::delimiter(end) [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/pretty.rs:249:61 [INFO] [stdout] | [INFO] [stdout] 246 | before: Option, [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 247 | builder: Option, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 248 | ) -> DebugDocBuilder { [INFO] [stdout] 249 | DebugDocBuilder::surrounded_option(before, builder, None) [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/pretty.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn group(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 277 | self.inner.group().into() [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/pretty.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn nest(self) -> DebugDocBuilder { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 281 | self.inner.nest(1).group().into() [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/pretty.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 285 | list: impl IntoIterator, [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | separator: DebugDocBuilder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | / BoxAllocator [INFO] [stdout] 290 | | .intersperse( [INFO] [stdout] 291 | | list.into_iter().filter_map(|item| { [INFO] [stdout] 292 | | let item = item.pretty_debug(source); [INFO] [stdout] ... | [INFO] [stdout] 299 | | separator, [INFO] [stdout] 300 | | ) [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/pretty.rs:308:9 [INFO] [stdout] | [INFO] [stdout] 305 | list: impl IntoIterator, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 306 | separator: DebugDocBuilder, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 307 | ) -> DebugDocBuilder { [INFO] [stdout] 308 | / BoxAllocator [INFO] [stdout] 309 | | .intersperse( [INFO] [stdout] 310 | | list.into_iter().filter_map(|item| { [INFO] [stdout] 311 | | let item = item.pretty(); [INFO] [stdout] ... | [INFO] [stdout] 318 | | separator, [INFO] [stdout] 319 | | ) [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/pretty.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 333 | fn styled(string: impl std::fmt::Display, style: ShellStyle) -> DebugDocBuilder { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 334 | / BoxAllocator [INFO] [stdout] 335 | | .text(string.to_string()) [INFO] [stdout] 336 | | .annotate(ShellAnnotation::style(style)) [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/pretty.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 372 | fn debug(&self, source: impl Into) -> String [INFO] [stdout] | ----------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 376 | self.clone().debuggable(source).display() [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 16 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-source` (lib test) due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "8b52bb731fb440a815637b920ad9007f8bce8c46c4a3ff2b57ec90b01deef0df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b52bb731fb440a815637b920ad9007f8bce8c46c4a3ff2b57ec90b01deef0df", kill_on_drop: false }` [INFO] [stdout] 8b52bb731fb440a815637b920ad9007f8bce8c46c4a3ff2b57ec90b01deef0df