[INFO] fetching crate wasmbin 0.8.1... [INFO] checking wasmbin-0.8.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmbin 0.8.1 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate wasmbin 0.8.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmbin 0.8.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate wasmbin 0.8.1 [INFO] tweaked toml for crates.io crate wasmbin 0.8.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate wasmbin 0.8.1 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-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] 9be67b00791e3e999e2b58fb9204775dbb3e5c82f449c00834cfc41cae1c14a6 [INFO] running `Command { std: "docker" "start" "-a" "9be67b00791e3e999e2b58fb9204775dbb3e5c82f449c00834cfc41cae1c14a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9be67b00791e3e999e2b58fb9204775dbb3e5c82f449c00834cfc41cae1c14a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9be67b00791e3e999e2b58fb9204775dbb3e5c82f449c00834cfc41cae1c14a6", kill_on_drop: false }` [INFO] [stdout] 9be67b00791e3e999e2b58fb9204775dbb3e5c82f449c00834cfc41cae1c14a6 [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] 4e8cda0067016e17808a5844c90d7a41a356cd39a039e73001c96ac68f90bb34 [INFO] running `Command { std: "docker" "start" "-a" "4e8cda0067016e17808a5844c90d7a41a356cd39a039e73001c96ac68f90bb34", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstream v0.6.8 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking wasm-encoder v0.39.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking escape8259 v0.5.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking wast v70.0.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling synstructure v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling wasmbin-derive v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Checking libtest-mimic v0.7.0 [INFO] [stderr] Compiling custom_debug_derive v0.6.0 [INFO] [stderr] Checking custom_debug v0.6.0 [INFO] [stderr] Checking wasmbin v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.1 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/visit.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | VisitError::Custom(err) => match err {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ matches no values because `Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.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/builtins/blob.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 84 | | contents: Lazy::from_raw(UnparsedBytes { bytes: raw }), [INFO] [stdout] 85 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/builtins/blob.rs:94:23 [INFO] [stdout] | [INFO] [stdout] 92 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | Blob { [INFO] [stdout] 94 | contents: value.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/builtins/collections.rs:45:22 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|i| T::decode(r).map_err(move |err| err.in_path(PathItem::Index(i)))) [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/builtins/lazy.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 120 | fn from(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 121 | Lazy { [INFO] [stdout] 122 | status: LazyStatus::Output { 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/io.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | pub(crate) fn unsupported_discriminant(discriminant: impl Into) -> Self { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | / DecodeErrorKind::UnsupportedDiscriminant { [INFO] [stdout] 83 | | ty: std::any::type_name::(), [INFO] [stdout] 84 | | discriminant: discriminant.into(), [INFO] [stdout] 85 | | } [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/io.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 98 | fn from(err: E) -> DecodeError { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | kind: err.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/visit.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 105 | mut f: F, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> Result<(), VisitError> { [INFO] [stdout] 107 | self.visit_child(&mut move |item| f(item).into_result()) [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/visit.rs:107:43 [INFO] [stdout] | [INFO] [stdout] 105 | mut f: F, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | ) -> Result<(), VisitError> { [INFO] [stdout] 107 | self.visit_child(&mut move |item| f(item).into_result()) [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/visit.rs:115:35 [INFO] [stdout] | [INFO] [stdout] 113 | mut f: F, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ) -> Result<(), VisitError> { [INFO] [stdout] 115 | self.visit_child_mut(&mut move |item| f(item).into_result()) [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/visit.rs:115:47 [INFO] [stdout] | [INFO] [stdout] 113 | mut f: F, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ) -> Result<(), VisitError> { [INFO] [stdout] 115 | self.visit_child_mut(&mut move |item| f(item).into_result()) [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 10 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmbin` (lib) due to 11 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4e8cda0067016e17808a5844c90d7a41a356cd39a039e73001c96ac68f90bb34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e8cda0067016e17808a5844c90d7a41a356cd39a039e73001c96ac68f90bb34", kill_on_drop: false }` [INFO] [stdout] 4e8cda0067016e17808a5844c90d7a41a356cd39a039e73001c96ac68f90bb34