[INFO] fetching crate wasmdev_macro 0.1.7... [INFO] checking wasmdev_macro-0.1.7 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasmdev_macro 0.1.7 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate wasmdev_macro 0.1.7 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 wasmdev_macro 0.1.7 [INFO] finished tweaking crates.io crate wasmdev_macro 0.1.7 [INFO] tweaked toml for crates.io crate wasmdev_macro 0.1.7 written to /workspace/builds/worker-0-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 74 packages to latest compatible versions [INFO] [stderr] Adding aho-corasick v0.7.20 (latest: v1.1.3) [INFO] [stderr] Adding fallible-iterator v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding gimli v0.26.2 (latest: v0.31.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashbrown v0.13.2 (latest: v0.14.5) [INFO] [stderr] Adding heck v0.3.3 (latest: v0.5.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding minify-js v0.5.6 (latest: v0.6.0) [INFO] [stderr] Adding parse-js v0.17.0 (latest: v0.24.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasm-encoder v0.212.0 (latest: v0.216.0) [INFO] [stderr] Adding wasmparser v0.212.0 (latest: v0.216.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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-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] 0249a5faf9f0e28de6fbe5c83da0a17c67e782ba4099053536e20ad2d7cca6e3 [INFO] running `Command { std: "docker" "start" "-a" "0249a5faf9f0e28de6fbe5c83da0a17c67e782ba4099053536e20ad2d7cca6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0249a5faf9f0e28de6fbe5c83da0a17c67e782ba4099053536e20ad2d7cca6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0249a5faf9f0e28de6fbe5c83da0a17c67e782ba4099053536e20ad2d7cca6e3", kill_on_drop: false }` [INFO] [stdout] 0249a5faf9f0e28de6fbe5c83da0a17c67e782ba4099053536e20ad2d7cca6e3 [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] c499944a9c6c89ac9166626a0fb0f71f7534789cd0c4c399a17a0809388e0d3d [INFO] running `Command { std: "docker" "start" "-a" "c499944a9c6c89ac9166626a0fb0f71f7534789cd0c4c399a17a0809388e0d3d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking anyhow v1.0.86 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling walrus-macro v0.19.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking wasm-encoder v0.212.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling xshell-macros v0.2.6 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking rustix v0.38.35 [INFO] [stderr] Checking xshell v0.2.6 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Checking parse-js v0.17.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking minify-js v0.5.6 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking wasmparser v0.212.0 [INFO] [stderr] Checking walrus v0.21.1 [INFO] [stderr] Checking wasm-bindgen-wasm-conventions v0.2.93 [INFO] [stderr] Checking wasm-bindgen-threads-xform v0.2.93 [INFO] [stderr] Checking wasm-bindgen-wasm-interpreter v0.2.93 [INFO] [stderr] Checking wasm-bindgen-multi-value-xform v0.2.93 [INFO] [stderr] Checking wasm-bindgen-externref-xform v0.2.93 [INFO] [stderr] Checking wasm-bindgen-cli-support v0.2.93 [INFO] [stderr] Checking wasmdev_core v0.1.7 [INFO] [stderr] Checking wasmdev_macro v0.1.7 (/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/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn main(attrs: StdTokenStream, main_fn: StdTokenStream) -> StdTokenStream { [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] 72 | / match (|| -> Result { [INFO] [stdout] 73 | | let wasm_fn: TokenStream = main_fn.into(); [INFO] [stdout] 74 | | let config = parse_config_attrs(attrs.into())?; [INFO] [stdout] 75 | | let wasm_main_fn = make_wasm_main_fn(&wasm_fn)?; [INFO] [stdout] ... | [INFO] [stdout] 86 | | Err(tt) => tt, [INFO] [stdout] 87 | | }.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] = 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/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(BuildConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | attrs: self, [INFO] [stdout] 69 | | index_html, [INFO] [stdout] 70 | | index_js: index_js.into(), [INFO] [stdout] ... | [INFO] [stdout] 79 | | wasm_path, [INFO] [stdout] 80 | | }) [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/config.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 201 | let Some(TokenTree::Ident(ident)) = it.next() else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | let Some(value) = it.next() else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | match it.next() { [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/config.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) fn parse_config_attrs(attrs: TokenStream) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let mut it = attrs.into_iter(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let mut port = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let mut path = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let mut addr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | let mut watch = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | Ok(AttrConfig { [INFO] [stdout] | ________^ [INFO] [stdout] 260 | | port: port.unwrap_or(Attr::new(8080, None)), [INFO] [stdout] 261 | | path: path.unwrap_or(Attr::new("src".into(), None)), [INFO] [stdout] 262 | | addr: addr.unwrap_or(Attr::new("127.0.0.1".into(), None)), [INFO] [stdout] 263 | | watch: watch.unwrap_or(Attr::new(true, None)), [INFO] [stdout] 264 | | }) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmdev_macro` (lib test) due to 5 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/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn main(attrs: StdTokenStream, main_fn: StdTokenStream) -> StdTokenStream { [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] 72 | / match (|| -> Result { [INFO] [stdout] 73 | | let wasm_fn: TokenStream = main_fn.into(); [INFO] [stdout] 74 | | let config = parse_config_attrs(attrs.into())?; [INFO] [stdout] 75 | | let wasm_main_fn = make_wasm_main_fn(&wasm_fn)?; [INFO] [stdout] ... | [INFO] [stdout] 86 | | Err(tt) => tt, [INFO] [stdout] 87 | | }.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] = 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/config.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 44 | fn try_into(self) -> Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 67 | Ok(BuildConfig { [INFO] [stdout] | ____________^ [INFO] [stdout] 68 | | attrs: self, [INFO] [stdout] 69 | | index_html, [INFO] [stdout] 70 | | index_js: index_js.into(), [INFO] [stdout] ... | [INFO] [stdout] 79 | | wasm_path, [INFO] [stdout] 80 | | }) [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/config.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 201 | let Some(TokenTree::Ident(ident)) = it.next() else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 214 | let Some(value) = it.next() else { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 253 | match it.next() { [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/config.rs:259:8 [INFO] [stdout] | [INFO] [stdout] 184 | pub(crate) fn parse_config_attrs(attrs: TokenStream) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | let mut it = attrs.into_iter(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 186 | let mut port = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 187 | let mut path = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 188 | let mut addr = None; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 189 | let mut watch = None; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 259 | Ok(AttrConfig { [INFO] [stdout] | ________^ [INFO] [stdout] 260 | | port: port.unwrap_or(Attr::new(8080, None)), [INFO] [stdout] 261 | | path: path.unwrap_or(Attr::new("src".into(), None)), [INFO] [stdout] 262 | | addr: addr.unwrap_or(Attr::new("127.0.0.1".into(), None)), [INFO] [stdout] 263 | | watch: watch.unwrap_or(Attr::new(true, None)), [INFO] [stdout] 264 | | }) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasmdev_macro` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "c499944a9c6c89ac9166626a0fb0f71f7534789cd0c4c399a17a0809388e0d3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c499944a9c6c89ac9166626a0fb0f71f7534789cd0c4c399a17a0809388e0d3d", kill_on_drop: false }` [INFO] [stdout] c499944a9c6c89ac9166626a0fb0f71f7534789cd0c4c399a17a0809388e0d3d