[INFO] cloning repository https://github.com/abhisheksunil2201/web-framework-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhisheksunil2201/web-framework-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhisheksunil2201%2Fweb-framework-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhisheksunil2201%2Fweb-framework-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5b4ec4445225bb87c64a6ae51717720ccf6143e [INFO] checking abhisheksunil2201/web-framework-rust/c5b4ec4445225bb87c64a6ae51717720ccf6143e 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%2Fabhisheksunil2201%2Fweb-framework-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abhisheksunil2201/web-framework-rust 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/abhisheksunil2201/web-framework-rust [INFO] finished tweaking git repo https://github.com/abhisheksunil2201/web-framework-rust [INFO] tweaked toml for git repo https://github.com/abhisheksunil2201/web-framework-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/abhisheksunil2201/web-framework-rust 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-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] 1cce38232a02379c0dae13d4e0d7723a43e56bbdc4a87e80e845f7219dc7de2b [INFO] running `Command { std: "docker" "start" "-a" "1cce38232a02379c0dae13d4e0d7723a43e56bbdc4a87e80e845f7219dc7de2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cce38232a02379c0dae13d4e0d7723a43e56bbdc4a87e80e845f7219dc7de2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cce38232a02379c0dae13d4e0d7723a43e56bbdc4a87e80e845f7219dc7de2b", kill_on_drop: false }` [INFO] [stdout] 1cce38232a02379c0dae13d4e0d7723a43e56bbdc4a87e80e845f7219dc7de2b [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] f8fc9b6ae64fd0324305c1701c342e59a41ecd5587543f28abc51bdcca7f90f2 [INFO] running `Command { std: "docker" "start" "-a" "f8fc9b6ae64fd0324305c1701c342e59a41ecd5587543f28abc51bdcca7f90f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking leptos_reactive v0.2.5 [INFO] [stderr] Checking web-framework-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::{self, JsCast, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window` and `console` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{self, console, window, Element, Event, Window}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JsValue` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::{self, JsCast, JsValue}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Window` and `console` [INFO] [stdout] --> src/main.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{self, console, window, Element, Event, Window}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | fn button(cx: Scope, label: &str, cb: impl FnMut(Event) + 'static) -> El { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> src/main.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | fn button(cx: Scope, label: &str, cb: impl FnMut(Event) + 'static) -> El { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn button(cx: Scope, label: &str, cb: impl FnMut(Event) + 'static) -> El { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | El::new("button").on("click", cb).text(label) [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/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn button(cx: Scope, label: &str, cb: impl FnMut(Event) + 'static) -> El { [INFO] [stdout] | ------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | El::new("button").on("click", cb).text(label) [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; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `web-framework-rust` (bin "web-framework-rust" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `web-framework-rust` (bin "web-framework-rust") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f8fc9b6ae64fd0324305c1701c342e59a41ecd5587543f28abc51bdcca7f90f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8fc9b6ae64fd0324305c1701c342e59a41ecd5587543f28abc51bdcca7f90f2", kill_on_drop: false }` [INFO] [stdout] f8fc9b6ae64fd0324305c1701c342e59a41ecd5587543f28abc51bdcca7f90f2