[INFO] fetching crate yew 0.21.0... [INFO] checking yew-0.21.0 against master#020bbe46bdf613c0b8211984eaa8e5fe97d6c92d for pr-122960 [INFO] extracting crate yew 0.21.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate yew 0.21.0 on toolchain 020bbe46bdf613c0b8211984eaa8e5fe97d6c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "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-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml_edit v0.22.9 [INFO] [stderr] Downloaded gloo-console v0.3.0 [INFO] [stderr] Downloaded gloo-dialogs v0.2.0 [INFO] [stderr] Downloaded gloo-file v0.3.0 [INFO] [stderr] Downloaded gloo-events v0.2.0 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded gloo v0.10.0 [INFO] [stderr] Downloaded gloo-history v0.2.2 [INFO] [stderr] Downloaded gloo-net v0.4.0 [INFO] [stderr] Downloaded gloo-render v0.2.0 [INFO] [stderr] Downloaded gloo-storage v0.3.0 [INFO] [stderr] Downloaded gloo-timers v0.3.0 [INFO] [stderr] Downloaded gloo-utils v0.2.0 [INFO] [stderr] Downloaded gloo-worker-macros v0.1.0 [INFO] [stderr] Downloaded gloo-worker v0.4.0 [INFO] [stderr] Downloaded utf8-width v0.1.7 [INFO] [stderr] Downloaded html-escape v0.2.13 [INFO] [stderr] Downloaded implicit-clone-derive v0.1.1 [INFO] [stderr] Downloaded implicit-clone v0.4.9 [INFO] [stderr] Downloaded tokio-stream v0.1.15 [INFO] [stderr] Downloaded winnow v0.6.5 [INFO] [stderr] Downloaded toml v0.8.12 [INFO] [stderr] Downloaded trybuild v1.0.90 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.42 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.42 [INFO] [stderr] Downloaded yew-macro v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a6c1a5834bf8f838c9c656260a4fcdf27681751cb1010cfa818fd2b5c97f028 [INFO] running `Command { std: "docker" "start" "-a" "4a6c1a5834bf8f838c9c656260a4fcdf27681751cb1010cfa818fd2b5c97f028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a6c1a5834bf8f838c9c656260a4fcdf27681751cb1010cfa818fd2b5c97f028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a6c1a5834bf8f838c9c656260a4fcdf27681751cb1010cfa818fd2b5c97f028", kill_on_drop: false }` [INFO] [stdout] 4a6c1a5834bf8f838c9c656260a4fcdf27681751cb1010cfa818fd2b5c97f028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bcb9186fe9c8e7728687fc74dd8443af8a8a58e211d48e644c812ade30a5ac9 [INFO] running `Command { std: "docker" "start" "-a" "8bcb9186fe9c8e7728687fc74dd8443af8a8a58e211d48e644c812ade30a5ac9", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling bumpalo v3.15.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling prettyplease v0.2.16 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling trybuild v1.0.90 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [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] Compiling wasm-bindgen-test-macro v0.3.42 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Checking implicit-clone v0.4.9 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.42 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.42 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking toml v0.8.12 [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-storage v0.3.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-console v0.3.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 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/html/classes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/virtual_dom/vnode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/virtual_dom/vtext.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/html/classes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `FromIterator` is imported redundantly [INFO] [stdout] --> src/virtual_dom/vnode.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `FromIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PartialEq` is imported redundantly [INFO] [stdout] --> src/virtual_dom/vtext.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::PartialEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:125:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `PartialEq` is already defined here [INFO] [stdout] [INFO] [stdout] [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { addr_of!(EMPTY) } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 48 | unsafe { addr_of!(EMPTY) } [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [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] 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] [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] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yew` (test "raw_html") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "8bcb9186fe9c8e7728687fc74dd8443af8a8a58e211d48e644c812ade30a5ac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bcb9186fe9c8e7728687fc74dd8443af8a8a58e211d48e644c812ade30a5ac9", kill_on_drop: false }` [INFO] [stdout] 8bcb9186fe9c8e7728687fc74dd8443af8a8a58e211d48e644c812ade30a5ac9