[INFO] fetching crate nu_plugin_semver 0.7.0... [INFO] checking nu_plugin_semver-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate nu_plugin_semver 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate nu_plugin_semver 0.7.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_plugin_semver 0.7.0 [INFO] finished tweaking crates.io crate nu_plugin_semver 0.7.0 [INFO] tweaked toml for crates.io crate nu_plugin_semver 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate nu_plugin_semver 0.7.0 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ebf46f24e22a8672c55cb4482521db8bc5f53573a75bde9c2cbb848abbeedc2a [INFO] running `Command { std: "docker" "start" "-a" "ebf46f24e22a8672c55cb4482521db8bc5f53573a75bde9c2cbb848abbeedc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebf46f24e22a8672c55cb4482521db8bc5f53573a75bde9c2cbb848abbeedc2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebf46f24e22a8672c55cb4482521db8bc5f53573a75bde9c2cbb848abbeedc2a", kill_on_drop: false }` [INFO] [stdout] ebf46f24e22a8672c55cb4482521db8bc5f53573a75bde9c2cbb848abbeedc2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0e0bd23d032d94c1f04337cea8096971a338da0855dcae930754fb30dd0cf0ab [INFO] running `Command { std: "docker" "start" "-a" "0e0bd23d032d94c1f04337cea8096971a338da0855dcae930754fb30dd0cf0ab", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking pure-rust-locales v0.8.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling syn v2.0.75 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking flate2 v1.0.32 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking supports-color v3.0.0 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Checking lscolors v0.17.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking owo-colors v4.0.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking supports-hyperlinks v3.0.0 [INFO] [stderr] Checking sys-locale v0.3.1 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Compiling const_format_proc_macros v0.2.32 [INFO] [stderr] Compiling doctest-file v1.0.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking nu-glob v0.97.1 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling is_debug v1.0.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking interprocess v2.2.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking bytesize v1.3.0 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Compiling const_format v0.2.32 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking sysinfo v0.30.13 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling shadow-rs v0.31.1 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling typetag-impl v0.2.18 [INFO] [stderr] Compiling nu-derive-value v0.97.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling nu-cmd-lang v0.97.1 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pwd v1.4.0 [INFO] [stderr] Checking nu-path v0.97.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking erased-serde v0.4.5 [INFO] [stderr] Checking byte-unit v5.1.4 [INFO] [stderr] Checking nu-utils v0.97.1 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking bincode v1.3.3 [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.97.1 [INFO] [stderr] Checking nu-protocol v0.97.1 [INFO] [stderr] Checking nu-plugin-protocol v0.97.1 [INFO] [stderr] Checking nu-engine v0.97.1 [INFO] [stderr] Checking nu-plugin-core v0.97.1 [INFO] [stderr] Checking nu-plugin-engine v0.97.1 [INFO] [stderr] Checking nu-plugin v0.97.1 [INFO] [stderr] Checking nu_plugin_semver v0.7.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/commands/from_record.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 58 | let version = semver::Version { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Ok(Value::string(version.to_string(), span)) [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] | 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] | 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] | 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] | 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] | 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] | 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: 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/commands/into_semver.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|v| SemverCustomValue::try_from(v).map(|v| v.into_value(span))) [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/match_req.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 62 | let req: VersionReqValue = call.req(0)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 63 | let span = call.head; [INFO] [stdout] 64 | let version: SemverCustomValue = input.try_into()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 65 | [INFO] [stdout] 66 | Ok(Value::bool(req.matches(&version), span)) [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] | 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/commands/sort.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 61 | let mut versions = values [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | Ok(Value::list( [INFO] [stdout] | ____________^ [INFO] [stdout] 70 | | versions.into_iter().map(|v| v.into_value()).collect(), [INFO] [stdout] 71 | | span, [INFO] [stdout] 72 | | )) [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] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/to_record.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 63 | let version: SemverCustomValue = input.try_into()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | [INFO] [stdout] 65 | let mut record = Record::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | Ok(Value::Record { [INFO] [stdout] | ____________^ [INFO] [stdout] 73 | | val: record.into(), [INFO] [stdout] 74 | | internal_span: span, [INFO] [stdout] 75 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [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/custom_value.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn into_value(self, span: Span) -> Value { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Value::custom(Box::new(self), span) [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/version.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 56 | let version = semver::Version::parse(item).map_err(|e| ShellError::IncorrectValue { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | Ok(Self { version, span }) [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] | 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] [stderr] Checking nu-parser v0.97.1 [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/version.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn from_value(v: Value) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 102 | let req = semver::VersionReq::parse(item).map_err(|e| ShellError::IncorrectValue { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 107 | Ok(Self { req, span }) [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] | 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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nu_plugin_semver` (bin "nu_plugin_semver") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "0e0bd23d032d94c1f04337cea8096971a338da0855dcae930754fb30dd0cf0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0bd23d032d94c1f04337cea8096971a338da0855dcae930754fb30dd0cf0ab", kill_on_drop: false }` [INFO] [stdout] 0e0bd23d032d94c1f04337cea8096971a338da0855dcae930754fb30dd0cf0ab