[INFO] fetching crate yew-macro 0.21.0... [INFO] checking yew-macro-0.21.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate yew-macro 0.21.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate yew-macro 0.21.0 [INFO] finished tweaking crates.io crate yew-macro 0.21.0 [INFO] tweaked toml for crates.io crate yew-macro 0.21.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yew-macro 0.21.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e452523d26c85f7ae797fbb3b34d3afbc40dbe999bf5bc23391915983a6988e4 [INFO] running `Command { std: "docker" "start" "-a" "e452523d26c85f7ae797fbb3b34d3afbc40dbe999bf5bc23391915983a6988e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e452523d26c85f7ae797fbb3b34d3afbc40dbe999bf5bc23391915983a6988e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e452523d26c85f7ae797fbb3b34d3afbc40dbe999bf5bc23391915983a6988e4", kill_on_drop: false }` [INFO] [stdout] e452523d26c85f7ae797fbb3b34d3afbc40dbe999bf5bc23391915983a6988e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6e7470a807402d3adf0092d07f81d3e5175971d85c5728545794168f6ed6f7f [INFO] running `Command { std: "docker" "start" "-a" "b6e7470a807402d3adf0092d07f81d3e5175971d85c5728545794168f6ed6f7f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking boolinator v2.4.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking yew-macro v0.21.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly_yew, feature(proc_macro_span))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/html_tree/html_element.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | #[cfg(nightly_yew)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/html_tree/html_element.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | #[cfg(not(nightly_yew))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> src/html_tree/lint/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(yew_lints))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> src/html_tree/lint/mod.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(yew_lints)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/use_prepared_state.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(nightly_yew))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/use_prepared_state.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(nightly_yew)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly_yew, feature(proc_macro_span))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/html_tree/html_element.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | #[cfg(nightly_yew)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/html_tree/html_element.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | #[cfg(not(nightly_yew))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> src/html_tree/lint/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(yew_lints))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> src/html_tree/lint/mod.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(yew_lints)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/use_prepared_state.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(nightly_yew))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/use_prepared_state.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(nightly_yew)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eq_ignore_ascii_case` is never used [INFO] [stdout] --> src/html_tree/html_dashed_name.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HtmlDashedName { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn eq_ignore_ascii_case(&self, other: S) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lint` is never used [INFO] [stdout] --> src/html_tree/lint/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Lint { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 15 | fn lint(element: &HtmlElement); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_attribute` is never used [INFO] [stdout] --> src/html_tree/lint/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_attribute<'a>(props: &'a ElementProps, name: &str) -> Option<&'a Prop> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/derive_props/field.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 57 | props_name: &'a Ident, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 58 | vis: &'a Visibility, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 59 | token: &'a GenericParam, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 60 | ) -> PropFieldCheck<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 - ) -> PropFieldCheck<'_> { [INFO] [stdout] 60 + ) -> PropFieldCheck<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eq_ignore_ascii_case` is never used [INFO] [stdout] --> src/html_tree/html_dashed_name.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HtmlDashedName { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn eq_ignore_ascii_case(&self, other: S) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lint` is never used [INFO] [stdout] --> src/html_tree/lint/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Lint { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 15 | fn lint(element: &HtmlElement); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_attribute` is never used [INFO] [stdout] --> src/html_tree/lint/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_attribute<'a>(props: &'a ElementProps, name: &str) -> Option<&'a Prop> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/derive_props/field.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 57 | props_name: &'a Ident, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 58 | vis: &'a Visibility, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 59 | token: &'a GenericParam, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 60 | ) -> PropFieldCheck<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 - ) -> PropFieldCheck<'_> { [INFO] [stdout] 60 + ) -> PropFieldCheck<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yew` [INFO] [stdout] --> tests/props_macro_test.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(yew::Properties, PartialEq)] [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `yew` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yew` [INFO] [stdout] --> tests/props_macro_test.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let props = yew::props!(Props { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `yew` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `yew` [INFO] [stdout] --> tests/html_macro_test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{html, html_nested}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `yew` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yew`, use `cargo add yew` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yew-macro` (test "html_macro_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `yew-macro` (test "props_macro_test") due to 2 previous errors [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> tests/html_lints_test.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | #[cfg(yew_lints)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/lib.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(nightly_yew, feature(proc_macro_span))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/html_tree/html_element.rs:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | #[cfg(nightly_yew)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/html_tree/html_element.rs:409:27 [INFO] [stdout] | [INFO] [stdout] 409 | #[cfg(not(nightly_yew))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> src/html_tree/lint/mod.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | #[cfg(not(yew_lints))] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `yew_lints` [INFO] [stdout] --> src/html_tree/lint/mod.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[cfg(yew_lints)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(yew_lints)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(yew_lints)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/use_prepared_state.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | #[cfg(not(nightly_yew))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `nightly_yew` [INFO] [stdout] --> src/use_prepared_state.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 98 | #[cfg(nightly_yew)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly_yew)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly_yew)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eq_ignore_ascii_case` is never used [INFO] [stdout] --> src/html_tree/html_dashed_name.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HtmlDashedName { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn eq_ignore_ascii_case(&self, other: S) -> bool [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lint` is never used [INFO] [stdout] --> src/html_tree/lint/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Lint { [INFO] [stdout] | ---- associated function in this trait [INFO] [stdout] 15 | fn lint(element: &HtmlElement); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_attribute` is never used [INFO] [stdout] --> src/html_tree/lint/mod.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn get_attribute<'a>(props: &'a ElementProps, name: &str) -> Option<&'a Prop> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/derive_props/field.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | &'a self, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 57 | props_name: &'a Ident, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 58 | vis: &'a Visibility, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 59 | token: &'a GenericParam, [INFO] [stdout] | ^^ the lifetime is named here [INFO] [stdout] 60 | ) -> PropFieldCheck<'_> { [INFO] [stdout] | -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 60 - ) -> PropFieldCheck<'_> { [INFO] [stdout] 60 + ) -> PropFieldCheck<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b6e7470a807402d3adf0092d07f81d3e5175971d85c5728545794168f6ed6f7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6e7470a807402d3adf0092d07f81d3e5175971d85c5728545794168f6ed6f7f", kill_on_drop: false }` [INFO] [stdout] b6e7470a807402d3adf0092d07f81d3e5175971d85c5728545794168f6ed6f7f