[INFO] fetching crate nu-protocol 0.98.0... [INFO] checking nu-protocol-0.98.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate nu-protocol 0.98.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate nu-protocol 0.98.0 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nu-protocol 0.98.0 [INFO] finished tweaking crates.io crate nu-protocol 0.98.0 [INFO] tweaked toml for crates.io crate nu-protocol 0.98.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 220 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (available: v0.8.11) [INFO] [stderr] Adding bindgen v0.69.4 (available: v0.70.1) [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding brotli v5.0.0 (available: v6.0.0) [INFO] [stderr] Adding bytecheck v0.6.12 (available: v0.8.0) [INFO] [stderr] Adding bytecheck_derive v0.6.12 (available: v0.8.0) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding lscolors v0.17.0 (available: v0.19.0) [INFO] [stderr] Adding ptr_meta v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding ptr_meta_derive v0.1.4 (available: v0.3.0) [INFO] [stderr] Adding radium v0.7.0 (available: v1.1.0) [INFO] [stderr] Adding rend v0.4.2 (available: v0.5.1) [INFO] [stderr] Adding rkyv v0.7.45 (available: v0.8.8) [INFO] [stderr] Adding rkyv_derive v0.7.45 (available: v0.8.8) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.22.0) [INFO] [stderr] Adding rstest_macros v0.18.2 (available: v0.22.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysinfo v0.30.13 (available: v0.31.4) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding vte v0.11.1 (available: v0.13.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows v0.54.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.54.0 (available: v0.58.0) [INFO] [stderr] Adding windows-result v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winsafe v0.0.19 (available: v0.0.22) [INFO] [stderr] Adding wyz v0.5.1 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 350cfd02850687dac016ea0e67ef37fa63cf24ab2187d3ca7d3f9ca5fdba7906 [INFO] running `Command { std: "docker" "start" "-a" "350cfd02850687dac016ea0e67ef37fa63cf24ab2187d3ca7d3f9ca5fdba7906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "350cfd02850687dac016ea0e67ef37fa63cf24ab2187d3ca7d3f9ca5fdba7906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "350cfd02850687dac016ea0e67ef37fa63cf24ab2187d3ca7d3f9ca5fdba7906", kill_on_drop: false }` [INFO] [stdout] 350cfd02850687dac016ea0e67ef37fa63cf24ab2187d3ca7d3f9ca5fdba7906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3380f1dfee810f078fe2fee3b34579af8535d77cec9898bc710d8c5c43cdfd3f [INFO] running `Command { std: "docker" "start" "-a" "3380f1dfee810f078fe2fee3b34579af8535d77cec9898bc710d8c5c43cdfd3f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking pure-rust-locales v0.8.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking lscolors v0.17.0 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking supports-color v3.0.1 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking byte-unit v5.1.4 [INFO] [stderr] Checking nu-glob v0.98.0 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking tempfile v3.13.0 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling nu-derive-value v0.98.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking thiserror v1.0.64 [INFO] [stderr] Checking pwd v1.4.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking nu-path v0.98.0 [INFO] [stderr] Checking rstest v0.18.2 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking nu-utils v0.98.0 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking nu-test-support v0.98.0 [INFO] [stderr] Checking typetag v0.2.18 [INFO] [stderr] Checking procfs-core v0.16.0 [INFO] [stderr] Checking chrono-humanize v0.2.3 [INFO] [stderr] Checking nu-system v0.98.0 [INFO] [stderr] Checking nu-protocol v0.98.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/engine_state.rs:352:42 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn active_overlay_ids<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 352 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/engine_state.rs:366:42 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn active_overlays<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 366 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/engine_state.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn active_overlay_names<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 377 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/overlay.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn active_overlays<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 123 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/state_working_set.rs:1061:33 [INFO] [stdout] | [INFO] [stdout] 1056 | fn read_span<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 1061 | ) -> Result, miette::MietteError> { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/engine_state.rs:352:42 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn active_overlay_ids<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 352 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/engine_state.rs:366:42 [INFO] [stdout] | [INFO] [stdout] 363 | pub fn active_overlays<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 366 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/engine_state.rs:377:42 [INFO] [stdout] | [INFO] [stdout] 374 | pub fn active_overlay_names<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 377 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/overlay.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn active_overlays<'a, 'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 123 | ) -> impl DoubleEndedIterator + 'a [INFO] [stdout] | ^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/engine/state_working_set.rs:1061:33 [INFO] [stdout] | [INFO] [stdout] 1056 | fn read_span<'b>( [INFO] [stdout] | -- lifetime `'b` declared here [INFO] [stdout] ... [INFO] [stdout] 1061 | ) -> Result, miette::MietteError> { [INFO] [stdout] | ^^^^^^^^^^^^ this elided lifetime gets resolved as `'b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipeline/byte_stream.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn into_stdio(mut self) -> Result { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | ByteStreamSource::Child(child) => { [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: this value of type `Box` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipeline/byte_stream.rs:439:37 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn into_stdio(mut self) -> Result { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 439 | ByteStreamSource::Child(child) => { [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: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-protocol` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu-protocol` (lib test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3380f1dfee810f078fe2fee3b34579af8535d77cec9898bc710d8c5c43cdfd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3380f1dfee810f078fe2fee3b34579af8535d77cec9898bc710d8c5c43cdfd3f", kill_on_drop: false }` [INFO] [stdout] 3380f1dfee810f078fe2fee3b34579af8535d77cec9898bc710d8c5c43cdfd3f