[INFO] fetching crate wasm-bridge-jco 0.2.0... [INFO] checking wasm-bridge-jco-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate wasm-bridge-jco 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasm-bridge-jco 0.2.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 wasm-bridge-jco 0.2.0 [INFO] finished tweaking crates.io crate wasm-bridge-jco 0.2.0 [INFO] tweaked toml for crates.io crate wasm-bridge-jco 0.2.0 written to /workspace/builds/worker-1-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 66 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding cranelift-entity v0.98.2 (latest: v0.111.0) [INFO] [stderr] Adding fallible-iterator v0.2.0 (latest: v0.3.0) [INFO] [stderr] Adding gimli v0.27.3 (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.4.1 (latest: v0.5.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding object v0.30.4 (latest: v0.36.4) [INFO] [stderr] Adding pulldown-cmark v0.8.0 (latest: v0.12.0) [INFO] [stderr] Adding wasm-encoder v0.29.0 (latest: v0.216.0) [INFO] [stderr] Adding wasm-metadata v0.8.0 (latest: v0.216.0) [INFO] [stderr] Adding wasmparser v0.107.0 (latest: v0.216.0) [INFO] [stderr] Adding wasmparser v0.121.2 (latest: v0.216.0) [INFO] [stderr] Adding wasmprinter v0.2.80 (latest: v0.216.0) [INFO] [stderr] Adding wasmtime-component-util v11.0.2 (latest: v24.0.0) [INFO] [stderr] Adding wasmtime-environ v11.0.2 (latest: v24.0.0) [INFO] [stderr] Adding wasmtime-types v11.0.2 (latest: v24.0.0) [INFO] [stderr] Adding wit-component v0.11.0 (latest: v0.216.0) [INFO] [stderr] Adding wit-parser v0.8.0 (latest: v0.216.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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] c5d40ddf70c2e909f9c420a21061163aa88f93a96dd8edb0f6b22e44606e149d [INFO] running `Command { std: "docker" "start" "-a" "c5d40ddf70c2e909f9c420a21061163aa88f93a96dd8edb0f6b22e44606e149d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5d40ddf70c2e909f9c420a21061163aa88f93a96dd8edb0f6b22e44606e149d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5d40ddf70c2e909f9c420a21061163aa88f93a96dd8edb0f6b22e44606e149d", kill_on_drop: false }` [INFO] [stdout] c5d40ddf70c2e909f9c420a21061163aa88f93a96dd8edb0f6b22e44606e149d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bdf47a116f5426d425341ae50d9a40afc261f4a737cd374778ff89b3691e48c2 [INFO] running `Command { std: "docker" "start" "-a" "bdf47a116f5426d425341ae50d9a40afc261f4a737cd374778ff89b3691e48c2", kill_on_drop: false }` [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking unicode-xid v0.2.5 [INFO] [stderr] Checking wasmtime-component-util v11.0.2 [INFO] [stderr] Checking cranelift-entity v0.98.2 [INFO] [stderr] Checking heck v0.4.1 [INFO] [stderr] Checking wasm-encoder v0.29.0 [INFO] [stderr] Checking wasm-encoder v0.216.0 [INFO] [stderr] Checking wasmparser v0.121.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking wasmparser v0.107.0 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking wast v216.0.0 [INFO] [stderr] Checking wit-parser v0.8.0 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Checking wasm-metadata v0.8.0 [INFO] [stderr] Checking wasmtime-types v11.0.2 [INFO] [stderr] Checking wasmprinter v0.2.80 [INFO] [stderr] Checking wasmtime-environ v11.0.2 [INFO] [stderr] Checking wat v1.216.0 [INFO] [stderr] Checking wit-component v0.11.0 [INFO] [stderr] Checking wasm-bridge-jco v0.2.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/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 95 | let decoded = wit_component::decode(&component) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let (resolve, world_id) = match decoded { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | DecodedWasm::WitPackage(..) => bail!("unexpected wit package as input"), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | DecodedWasm::Component(resolve, world_id) => (resolve, world_id), [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let scope = ScopeVec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let tunables = Tunables::default(); [INFO] [stdout] 119 | let mut types = ComponentTypesBuilder::default(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut validator = Validator::new_with_features(WasmFeatures { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let (component, modules) = Translator::new(&tunables, &mut validator, &mut types, &scope) [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] ... [INFO] [stdout] 139 | let (imports, exports) = transpile_bindgen( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Ok(Transpiled { [INFO] [stdout] | ________^ [INFO] [stdout] 148 | | files: files_out, [INFO] [stdout] 149 | | imports, [INFO] [stdout] 150 | | exports, [INFO] [stdout] 151 | | }) [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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bridge-jco` (lib) due to 2 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:147:8 [INFO] [stdout] | [INFO] [stdout] 95 | let decoded = wit_component::decode(&component) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | let (resolve, world_id) = match decoded { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 99 | DecodedWasm::WitPackage(..) => bail!("unexpected wit package as input"), [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 100 | DecodedWasm::Component(resolve, world_id) => (resolve, world_id), [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 117 | let scope = ScopeVec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | let tunables = Tunables::default(); [INFO] [stdout] 119 | let mut types = ComponentTypesBuilder::default(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | let mut validator = Validator::new_with_features(WasmFeatures { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let (component, modules) = Translator::new(&tunables, &mut validator, &mut types, &scope) [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] ... [INFO] [stdout] 139 | let (imports, exports) = transpile_bindgen( [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 147 | Ok(Transpiled { [INFO] [stdout] | ________^ [INFO] [stdout] 148 | | files: files_out, [INFO] [stdout] 149 | | imports, [INFO] [stdout] 150 | | exports, [INFO] [stdout] 151 | | }) [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] = 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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-bridge-jco` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bdf47a116f5426d425341ae50d9a40afc261f4a737cd374778ff89b3691e48c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf47a116f5426d425341ae50d9a40afc261f4a737cd374778ff89b3691e48c2", kill_on_drop: false }` [INFO] [stdout] bdf47a116f5426d425341ae50d9a40afc261f4a737cd374778ff89b3691e48c2