[INFO] fetching crate yew 0.21.0... [INFO] checking yew-0.21.0 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate yew 0.21.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate yew 0.21.0 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yew 0.21.0 [INFO] finished tweaking crates.io crate yew 0.21.0 [INFO] tweaked toml for crates.io crate yew 0.21.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 152 packages to latest compatible versions [INFO] [stderr] Adding gloo v0.10.0 (available: v0.11.0) [INFO] [stderr] Adding implicit-clone v0.4.9 (available: v0.5.0) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 382a7be1c731a9176ba2db2b89710ce19d362eb473a5d8ac988a3bc0723a544e [INFO] running `Command { std: "docker" "start" "-a" "382a7be1c731a9176ba2db2b89710ce19d362eb473a5d8ac988a3bc0723a544e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "382a7be1c731a9176ba2db2b89710ce19d362eb473a5d8ac988a3bc0723a544e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "382a7be1c731a9176ba2db2b89710ce19d362eb473a5d8ac988a3bc0723a544e", kill_on_drop: false }` [INFO] [stdout] 382a7be1c731a9176ba2db2b89710ce19d362eb473a5d8ac988a3bc0723a544e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 122ae6c2175665255cd8e7135d567168458f2716dec26bf5774c3859b2b5d4e2 [INFO] running `Command { std: "docker" "start" "-a" "122ae6c2175665255cd8e7135d567168458f2716dec26bf5774c3859b2b5d4e2", 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 wasm-bindgen-shared v0.2.95 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.45 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking serde v1.0.214 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.22 [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 wasm-bindgen-test v0.3.45 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking trybuild v1.0.101 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-history v0.2.2 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/functional/hooks/use_effect.rs (2 fixes) [INFO] [stderr] Fixed src/context.rs (1 fix) [INFO] [stderr] Fixed src/scheduler.rs (1 fix) [INFO] [stderr] Fixed src/virtual_dom/vtag.rs (4 fixes) [INFO] [stderr] Fixed src/html/component/children.rs (1 fix) [INFO] [stderr] Fixed src/html/component/scope.rs (1 fix) [INFO] [stderr] Fixed src/html/conversion/into_prop_value.rs (1 fix) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/virtual_dom/vlist.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { &EMPTY } [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { &raw const EMPTY } [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/html/component/scope.rs:262:35 [INFO] [stdout] | [INFO] [stdout] 262 | while let Some(msg) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 265 | } [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: 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] [INFO] [stdout] [INFO] [stderr] Migrating tests/layout.rs from 2021 edition to 2024 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/virtual_dom/vlist.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { &EMPTY } [INFO] [stdout] | ^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { &raw const EMPTY } [INFO] [stdout] | ~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/use_callback.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_memo.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/suspense.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_transitive_state.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_context.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_effect.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/hydration.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/mod.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_ref.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/raw_html.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `ServerRenderer` in `yew` [INFO] [stdout] --> tests/raw_html.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let actual = yew::ServerRenderer::::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `ServerRenderer` in `yew` [INFO] [stdout] ... [INFO] [stdout] 64 | create_test!(empty_string, ""); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/use_reducer.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: could not find `ServerRenderer` in `yew` [INFO] [stdout] --> tests/raw_html.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let actual = yew::ServerRenderer::::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `ServerRenderer` in `yew` [INFO] [stdout] ... [INFO] [stdout] 65 | create_test!(one_node, "text"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ServerRenderer` in `yew` [INFO] [stdout] --> tests/raw_html.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let actual = yew::ServerRenderer::::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `ServerRenderer` in `yew` [INFO] [stdout] ... [INFO] [stdout] 66 | / create_test!( [INFO] [stdout] 67 | | one_but_nested_node, [INFO] [stdout] 68 | | r#"

one link more paragraph

"# [INFO] [stdout] 69 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ServerRenderer` in `yew` [INFO] [stdout] --> tests/raw_html.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | let actual = yew::ServerRenderer::::new() [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `ServerRenderer` in `yew` [INFO] [stdout] ... [INFO] [stdout] 70 | / create_test!( [INFO] [stdout] 71 | | multi_node, [INFO] [stdout] 72 | | r#"

paragraph

link"# [INFO] [stdout] 73 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `create_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/raw_html.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | ($name:ident, $html:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 14 | ($name:ident, $html:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/raw_html.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 17 | ($name:ident, $raw:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($name:ident, $raw:expr_2021, $expected:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/raw_html.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | ($name:ident, $raw:expr, $expected:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 17 | ($name:ident, $raw:expr, $expected:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yew` (test "raw_html") due to 4 previous errors; 5 warnings emitted [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/raw_html.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | ($name:ident, $initial:expr, $updated:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($name:ident, $initial:expr_2021, $updated:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> tests/raw_html.rs:76:43 [INFO] [stdout] | [INFO] [stdout] 76 | ($name:ident, $initial:expr, $updated:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 76 | ($name:ident, $initial:expr, $updated:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] Migrating tests/use_state.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/use_prepared_state.rs from 2021 edition to 2024 [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "122ae6c2175665255cd8e7135d567168458f2716dec26bf5774c3859b2b5d4e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "122ae6c2175665255cd8e7135d567168458f2716dec26bf5774c3859b2b5d4e2", kill_on_drop: false }` [INFO] [stdout] 122ae6c2175665255cd8e7135d567168458f2716dec26bf5774c3859b2b5d4e2