[INFO] fetching crate yew-html-ext 0.2.0... [INFO] checking yew-html-ext-0.2.0 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate yew-html-ext 0.2.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate yew-html-ext 0.2.0 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yew-html-ext 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate yew-html-ext 0.2.0 [INFO] tweaked toml for crates.io crate yew-html-ext 0.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a1d518e9660a842c3fb5f09193ae60211b648588560022162b083f4be7a6521 [INFO] running `Command { std: "docker" "start" "-a" "9a1d518e9660a842c3fb5f09193ae60211b648588560022162b083f4be7a6521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a1d518e9660a842c3fb5f09193ae60211b648588560022162b083f4be7a6521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a1d518e9660a842c3fb5f09193ae60211b648588560022162b083f4be7a6521", kill_on_drop: false }` [INFO] [stdout] 9a1d518e9660a842c3fb5f09193ae60211b648588560022162b083f4be7a6521 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7174e3c383fef5893e2b1284a62d13f61cc48d184006d2230f29ad22e16a2e30 [INFO] running `Command { std: "docker" "start" "-a" "7174e3c383fef5893e2b1284a62d13f61cc48d184006d2230f29ad22e16a2e30", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.89 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking yew-html-ext v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Fixed src/html_tree/tag.rs (1 fix) [INFO] [stderr] Fixed src/html_tree/html_list.rs (3 fixes) [INFO] [stderr] Fixed src/html_tree/mod.rs (1 fix) [INFO] [stderr] Fixed src/html_tree/html_element.rs (4 fixes) [INFO] [stderr] Fixed src/html_tree/html_for.rs (2 fixes) [INFO] [stderr] Fixed src/props/prop.rs (2 fixes) [INFO] [stderr] Fixed src/html_tree/html_component.rs (3 fixes) [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/props/prop.rs:210:38 [INFO] [stdout] | [INFO] [stdout] 210 | while let Some((tt, next)) = rest.token_tree() { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | `tt` calls a custom destructor [INFO] [stdout] | `tt` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 229 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] note: `tt` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/proc_macro/src/bridge/client.rs:100:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `define_client_handles` which comes from the expansion of the macro `with_api_handle_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking web-sys v0.3.72 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.45 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking trybuild v1.0.101 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Migrating tests/html_macro_test.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `html_macro_test` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/html_macro_test.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0277]: the trait bound `Cow<'static, str>: From<&&str>` is not satisfied [INFO] [stderr] --> tests/html_macro_test.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | <@{&"br"}> [INFO] [stderr] | ^^^^^ the trait `From<&&str>` is not implemented for `Cow<'static, str>` [INFO] [stderr] | [INFO] [stderr] = note: required for `&&str` to implement `Into>` [INFO] [stderr] help: consider dereferencing here [INFO] [stderr] | [INFO] [stderr] 21 | <@{&*"br"}> [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `Cow<'static, str>: From<&&str>` is not satisfied [INFO] [stderr] --> tests/html_macro_test.rs:30:24 [INFO] [stderr] | [INFO] [stderr] 30 | let _ = html! { <@{&"❤"} /> }; [INFO] [stderr] | ^^^^ the trait `From<&&str>` is not implemented for `Cow<'static, str>` [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/html_macro_test.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | <@{"br"}> [INFO] [stdout] | -^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/html_macro_test.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let _ = html! { <@{"❤"} /> }; [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: required for `&&str` to implement `Into>` [INFO] [stderr] help: consider dereferencing here [INFO] [stderr] | [INFO] [stderr] 30 | let _ = html! { <@{&*"❤"} /> }; [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.54s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling yew-html-ext v0.2.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/html_macro_test.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | <@{"br"}> [INFO] [stdout] | -^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> tests/html_macro_test.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | let _ = html! { <@{"❤"} /> }; [INFO] [stdout] | -^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yew-html-ext` (test "html_macro_test") due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "7174e3c383fef5893e2b1284a62d13f61cc48d184006d2230f29ad22e16a2e30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7174e3c383fef5893e2b1284a62d13f61cc48d184006d2230f29ad22e16a2e30", kill_on_drop: false }` [INFO] [stdout] 7174e3c383fef5893e2b1284a62d13f61cc48d184006d2230f29ad22e16a2e30