[INFO] fetching crate yew-router-nested 0.16.1... [INFO] testing yew-router-nested-0.16.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate yew-router-nested 0.16.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yew-router-nested 0.16.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 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.0) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 265cd100ebd453190a1366040d8e66073f8020dcf04b1e8175227dc52ab02ea1 [INFO] running `Command { std: "docker" "start" "-a" "265cd100ebd453190a1366040d8e66073f8020dcf04b1e8175227dc52ab02ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "265cd100ebd453190a1366040d8e66073f8020dcf04b1e8175227dc52ab02ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265cd100ebd453190a1366040d8e66073f8020dcf04b1e8175227dc52ab02ea1", kill_on_drop: false }` [INFO] [stdout] 265cd100ebd453190a1366040d8e66073f8020dcf04b1e8175227dc52ab02ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08296d03f2df63b1194c8378db83db043ae51f6df582e004b51de0ddcad3bc36 [INFO] running `Command { std: "docker" "start" "-a" "08296d03f2df63b1194c8378db83db043ae51f6df582e004b51de0ddcad3bc36", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.5 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling cfg-match v0.2.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling yew-router-nested-route-parser v0.16.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling yew-router-nested-macro v0.16.1 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling gloo-utils v0.1.7 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-console v0.2.3 [INFO] [stderr] Compiling gloo-storage v0.2.2 [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] error: 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] error: could not compile `yew-router-nested` (lib) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "08296d03f2df63b1194c8378db83db043ae51f6df582e004b51de0ddcad3bc36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08296d03f2df63b1194c8378db83db043ae51f6df582e004b51de0ddcad3bc36", kill_on_drop: false }` [INFO] [stdout] 08296d03f2df63b1194c8378db83db043ae51f6df582e004b51de0ddcad3bc36