[INFO] fetching crate yew-router-nested 0.16.1... [INFO] testing yew-router-nested-0.16.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate yew-router-nested 0.16.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate yew-router-nested 0.16.1 [INFO] finished tweaking crates.io crate yew-router-nested 0.16.1 [INFO] tweaked toml for crates.io crate yew-router-nested 0.16.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yew-router-nested 0.16.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding gloo v0.4.2 (available: v0.11.0) [INFO] [stderr] Adding nom v5.1.3 (available: v8.0.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] [stderr] Adding yew v0.19.3 (available: v0.21.0) [INFO] [stderr] Adding yew-agent v0.1.0 (available: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd264268c3507be74862975c66d3d2531b9028cfbfc52674e2e9865225bdc473 [INFO] running `Command { std: "docker" "start" "-a" "dd264268c3507be74862975c66d3d2531b9028cfbfc52674e2e9865225bdc473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd264268c3507be74862975c66d3d2531b9028cfbfc52674e2e9865225bdc473", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd264268c3507be74862975c66d3d2531b9028cfbfc52674e2e9865225bdc473", kill_on_drop: false }` [INFO] [stdout] dd264268c3507be74862975c66d3d2531b9028cfbfc52674e2e9865225bdc473 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0605f12d7220f9fa61fd203a24cf26ca579df769cf3388e3c5f70b21a0b1295 [INFO] running `Command { std: "docker" "start" "-a" "b0605f12d7220f9fa61fd203a24cf26ca579df769cf3388e3c5f70b21a0b1295", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.5 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling cfg-match v0.2.1 [INFO] [stderr] Compiling yew-router-nested-route-parser v0.16.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling yew-router-nested-macro v0.16.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling yew-agent v0.1.0 [INFO] [stderr] Compiling yew-router-nested v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 ~ feature = "web_sys" => { [INFO] [stdout] 60 | let window = web_sys::window().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 64 | ) [INFO] [stdout] 65 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] 158 | let _ = self.history.push_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 159 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 ~ feature = "web_sys" => { [INFO] [stdout] 158 | let _ = self.history.push_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 159 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] 175 | let _ = self.history.replace_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 176 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 ~ feature = "web_sys" => { [INFO] [stdout] 175 | let _ = self.history.replace_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 176 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/route.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | std::fmt::Display::fmt(&self.route, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 69 - std::fmt::Display::fmt(&self.route, f) [INFO] [stdout] 69 + fmt::Display::fmt(&self.route, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alias::*` [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub use alias::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extend2` is never used [INFO] [stdout] --> src/matcher/matcher_impl.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | trait CaptureCollection<'a> { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn extend2(&mut self, other: Self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn try_from(i: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn try_from(i: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(i: &str, settings: MatcherSettings) -> Result { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(i: &str, settings: MatcherSettings) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.06s [INFO] running `Command { std: "docker" "inspect" "b0605f12d7220f9fa61fd203a24cf26ca579df769cf3388e3c5f70b21a0b1295", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0605f12d7220f9fa61fd203a24cf26ca579df769cf3388e3c5f70b21a0b1295", kill_on_drop: false }` [INFO] [stdout] b0605f12d7220f9fa61fd203a24cf26ca579df769cf3388e3c5f70b21a0b1295 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce6fd4f9baa0805b06c0b86f72d4563bffb9e5f6b12df30dff20501b3b21e3a8 [INFO] running `Command { std: "docker" "start" "-a" "ce6fd4f9baa0805b06c0b86f72d4563bffb9e5f6b12df30dff20501b3b21e3a8", kill_on_drop: false }` [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 ~ feature = "web_sys" => { [INFO] [stdout] 60 | let window = web_sys::window().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 64 | ) [INFO] [stdout] 65 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] 158 | let _ = self.history.push_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 159 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 ~ feature = "web_sys" => { [INFO] [stdout] 158 | let _ = self.history.push_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 159 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] 175 | let _ = self.history.replace_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 176 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 ~ feature = "web_sys" => { [INFO] [stdout] 175 | let _ = self.history.replace_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 176 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/route.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | std::fmt::Display::fmt(&self.route, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 69 - std::fmt::Display::fmt(&self.route, f) [INFO] [stdout] 69 + fmt::Display::fmt(&self.route, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alias::*` [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub use alias::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `extend2` is never used [INFO] [stdout] --> src/matcher/matcher_impl.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | trait CaptureCollection<'a> { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn extend2(&mut self, other: Self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn try_from(i: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn try_from(i: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(i: &str, settings: MatcherSettings) -> Result { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(i: &str, settings: MatcherSettings) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yew-router-nested v0.16.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `yew_router` [INFO] [stdout] --> tests/example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use yew_router::{route::Route, switch::Permissive, Switch}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `yew_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yew_router`, use `cargo add yew_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `yew_router` [INFO] [stdout] --> tests/example.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use yew_router::{route::Route, switch::Permissive, Switch}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `yew_router` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `yew_router`, use `cargo add yew_router` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | #[to = "/left"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Switch)] [INFO] [stdout] 5 | pub enum InnerRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | #[to = "/right"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 4 + #[derive(Switch)] [INFO] [stdout] 5 | pub enum InnerRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | #[to = "/single/{number}"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 13 + #[derive(Switch)] [INFO] [stdout] 14 | pub struct Single { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 65 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 ~ feature = "web_sys" => { [INFO] [stdout] 60 | let window = web_sys::window().unwrap(); [INFO] [stdout] ... [INFO] [stdout] 64 | ) [INFO] [stdout] 65 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[to = "/othersingle/{number}"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 19 + #[derive(Switch)] [INFO] [stdout] 20 | pub struct OtherSingle(u32); [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | #[to = "{*:path}#{route}"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 22 + #[derive(Switch)] [INFO] [stdout] 23 | pub struct FragmentAdapter { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:29:7 [INFO] [stdout] | [INFO] [stdout] 29 | #[to = "/some/route"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:157:36 [INFO] [stdout] | [INFO] [stdout] 157 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] 158 | let _ = self.history.push_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 159 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 ~ feature = "web_sys" => { [INFO] [stdout] 158 | let _ = self.history.push_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 159 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/service.rs:174:36 [INFO] [stdout] | [INFO] [stdout] 174 | feature = "web_sys" => ({ [INFO] [stdout] | ^ [INFO] [stdout] 175 | let _ = self.history.replace_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 176 | }), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 174 ~ feature = "web_sys" => { [INFO] [stdout] 175 | let _ = self.history.replace_state_with_url(&Value::from_str(&state_string), "", Some(route)); [INFO] [stdout] 176 ~ }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary qualification [INFO] [stdout] --> src/route.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | std::fmt::Display::fmt(&self.route, f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 69 - std::fmt::Display::fmt(&self.route, f) [INFO] [stdout] 69 + fmt::Display::fmt(&self.route, f) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | #[to = "/some/{thing}/{other}"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alias::*` [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | pub use alias::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[to = "/another/{}"] // Tuple-enums don't need names in the capture groups. [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[to = "/doot/{}/{something}"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | #[to = "/inner"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rest` in this scope [INFO] [stdout] --> tests/example.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | #[rest] // same as /inner{*} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:1644:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `test` defined here [INFO] [stdout] help: an attribute macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 - #[rest] // same as /inner{*} [INFO] [stdout] 40 + #[test] // same as /inner{*} [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::rest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rest` in this scope [INFO] [stdout] --> tests/example.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | #[rest] // Rest delegates the remaining input to the next attribute [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:1644:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `test` defined here [INFO] [stdout] help: an attribute macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 42 - #[rest] // Rest delegates the remaining input to the next attribute [INFO] [stdout] 42 + #[test] // Rest delegates the remaining input to the next attribute [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::rest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `rest` in this scope [INFO] [stdout] --> tests/example.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | #[rest] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/macros/mod.rs:1644:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named attribute macro `test` defined here [INFO] [stdout] help: an attribute macro with a similar name exists [INFO] [stdout] | [INFO] [stdout] 44 - #[rest] [INFO] [stdout] 44 + #[test] [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::rest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:47:7 [INFO] [stdout] | [INFO] [stdout] 47 | #[to = "/option/{}"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `to` in this scope [INFO] [stdout] --> tests/example.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 50 | #[to = "/missing/capture"] [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: `to` is an attribute that can be used by the derive macro `Switch`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Switch)] [INFO] [stdout] 29 | pub enum AppRoute { [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use yew_router_macro::to; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yew-router-nested` (test "example") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `extend2` is never used [INFO] [stdout] --> src/matcher/matcher_impl.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | trait CaptureCollection<'a> { [INFO] [stdout] | ----------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn extend2(&mut self, other: Self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:39:24 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn try_from(i: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 39 | pub fn try_from(i: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/matcher/mod.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(i: &str, settings: MatcherSettings) -> Result { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn new(i: &str, settings: MatcherSettings) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce6fd4f9baa0805b06c0b86f72d4563bffb9e5f6b12df30dff20501b3b21e3a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6fd4f9baa0805b06c0b86f72d4563bffb9e5f6b12df30dff20501b3b21e3a8", kill_on_drop: false }` [INFO] [stdout] ce6fd4f9baa0805b06c0b86f72d4563bffb9e5f6b12df30dff20501b3b21e3a8