[INFO] cloning repository https://github.com/chrisz2zz/tiny-wasm-runtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chrisz2zz/tiny-wasm-runtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Ftiny-wasm-runtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Ftiny-wasm-runtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 740c3404817b90dc6b1857c74263fbb8d92be9cd [INFO] checking chrisz2zz/tiny-wasm-runtime/740c3404817b90dc6b1857c74263fbb8d92be9cd against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchrisz2zz%2Ftiny-wasm-runtime" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chrisz2zz/tiny-wasm-runtime 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 git repo https://github.com/chrisz2zz/tiny-wasm-runtime [INFO] finished tweaking git repo https://github.com/chrisz2zz/tiny-wasm-runtime [INFO] tweaked toml for git repo https://github.com/chrisz2zz/tiny-wasm-runtime written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chrisz2zz/tiny-wasm-runtime 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 374c07e3c88e7bcd1812541690b937b0adb5667daf6f2e5594ce17bcfbcc2770 [INFO] running `Command { std: "docker" "start" "-a" "374c07e3c88e7bcd1812541690b937b0adb5667daf6f2e5594ce17bcfbcc2770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "374c07e3c88e7bcd1812541690b937b0adb5667daf6f2e5594ce17bcfbcc2770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "374c07e3c88e7bcd1812541690b937b0adb5667daf6f2e5594ce17bcfbcc2770", kill_on_drop: false }` [INFO] [stdout] 374c07e3c88e7bcd1812541690b937b0adb5667daf6f2e5594ce17bcfbcc2770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 7336ee26877878d3c0673e8e63ed5486de9c5862cfbb43bee860cdfa3b08d392 [INFO] running `Command { std: "docker" "start" "-a" "7336ee26877878d3c0673e8e63ed5486de9c5862cfbb43bee860cdfa3b08d392", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking wasm-encoder v0.210.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking wast v210.0.0 [INFO] [stderr] Checking nom-leb128 v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tinywasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_traits::ToBytes` [INFO] [stdout] --> src/execution/runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use num_traits::ToBytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/execution/runtime.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 70 | Instruction::End => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 77 | Instruction::LocalGet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 83 | Instruction::LocalSet(idx) => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 90 | Instruction::I32Store { align: _, offset } => { [INFO] [stdout] | ------------------------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 128 | _ => todo!(), [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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/execution/runtime.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn instantiate(wasm: impl AsRef<[u8]>) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 39 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | store, [INFO] [stdout] 41 | | ..Default::default() [INFO] [stdout] 42 | | }) [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] = 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/execution/runtime.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 46 | wasm: impl AsRef<[u8]>, [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 47 | wasi: WasiSnapshotPreview1, [INFO] [stdout] | -------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 52 | | store, [INFO] [stdout] 53 | | wasi: Some(wasi), [INFO] [stdout] 54 | | ..Default::default() [INFO] [stdout] 55 | | }) [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: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinywasm` (lib) due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7336ee26877878d3c0673e8e63ed5486de9c5862cfbb43bee860cdfa3b08d392", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7336ee26877878d3c0673e8e63ed5486de9c5862cfbb43bee860cdfa3b08d392", kill_on_drop: false }` [INFO] [stdout] 7336ee26877878d3c0673e8e63ed5486de9c5862cfbb43bee860cdfa3b08d392