[INFO] fetching crate yewv 0.2.3... [INFO] testing yewv-0.2.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate yewv 0.2.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate yewv 0.2.3 [INFO] finished tweaking crates.io crate yewv 0.2.3 [INFO] tweaked toml for crates.io crate yewv 0.2.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate yewv 0.2.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding gloo v0.6.1 (available: v0.11.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding yew v0.19.3 (available: v0.21.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8e65214ef7861b6a4e627853f1085e15b2d083807735861f7d9425be010aa01 [INFO] running `Command { std: "docker" "start" "-a" "a8e65214ef7861b6a4e627853f1085e15b2d083807735861f7d9425be010aa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8e65214ef7861b6a4e627853f1085e15b2d083807735861f7d9425be010aa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e65214ef7861b6a4e627853f1085e15b2d083807735861f7d9425be010aa01", kill_on_drop: false }` [INFO] [stdout] a8e65214ef7861b6a4e627853f1085e15b2d083807735861f7d9425be010aa01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b9b601c6ff4c4fdf90c282c190c735ffaf95e91b97f9a3d6d6fe6d1e80d63bb [INFO] running `Command { std: "docker" "start" "-a" "4b9b601c6ff4c4fdf90c282c190c735ffaf95e91b97f9a3d6d6fe6d1e80d63bb", kill_on_drop: false }` [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.5 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 yew-macro v0.19.3 [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-console v0.2.3 [INFO] [stderr] Compiling gloo-storage v0.2.2 [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 yewv v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hook/store/handle.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stdout] 11 + pub(crate) subscriptions: Vec, &T) -> Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hook/store/handle.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stdout] 12 + pub(crate) ref_subscriptions: Vec bool>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hook/store/handle.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hook/store/store.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn state_ref(&self) -> Ref> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn state_ref(&self) -> Ref<'_, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.92s [INFO] running `Command { std: "docker" "inspect" "4b9b601c6ff4c4fdf90c282c190c735ffaf95e91b97f9a3d6d6fe6d1e80d63bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b9b601c6ff4c4fdf90c282c190c735ffaf95e91b97f9a3d6d6fe6d1e80d63bb", kill_on_drop: false }` [INFO] [stdout] 4b9b601c6ff4c4fdf90c282c190c735ffaf95e91b97f9a3d6d6fe6d1e80d63bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b8f8a3c8f566dbfbe660d10fb2f80c3f076d92b8184e0d8737c130963e6395b [INFO] running `Command { std: "docker" "start" "-a" "2b8f8a3c8f566dbfbe660d10fb2f80c3f076d92b8184e0d8737c130963e6395b", kill_on_drop: false }` [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.81 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.54 [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-console v0.2.3 [INFO] [stderr] Compiling gloo-storage v0.2.2 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-history v0.1.5 [INFO] [stderr] Compiling gloo-net v0.1.0 [INFO] [stderr] Compiling gloo-worker v0.1.2 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling gloo v0.6.1 [INFO] [stderr] Compiling yewv v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hook/store/handle.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stdout] 11 + pub(crate) subscriptions: Vec, &T) -> Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hook/store/handle.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stdout] 12 + pub(crate) ref_subscriptions: Vec bool>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hook/store/handle.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hook/store/store.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn state_ref(&self) -> Ref> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn state_ref(&self) -> Ref<'_, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hook/store/handle.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stdout] 11 + pub(crate) subscriptions: Vec, &T) -> Rc>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hook/store/handle.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stdout] 12 + pub(crate) ref_subscriptions: Vec bool>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner_html` is never used [INFO] [stdout] --> tests/common/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn inner_html() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Map`, `MapRef`, and `Watch` are never constructed [INFO] [stdout] --> tests/common/store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SubscriptionType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 14 | Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | MapRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Watch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MapRef`, `Watch`, and `WatchRef` are never constructed [INFO] [stdout] --> tests/common/store.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SubscriptionType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 14 | Map, [INFO] [stdout] 15 | MapRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Watch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | WatchRef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Map`, `Watch`, and `WatchRef` are never constructed [INFO] [stdout] --> tests/common/store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SubscriptionType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 14 | Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | MapRef, [INFO] [stdout] 16 | Watch, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | WatchRef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hook/store/handle.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref<'_, M> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hook/store/store.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn state_ref(&self) -> Ref> { [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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub(crate) fn state_ref(&self) -> Ref<'_, Rc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `inner_html` is never used [INFO] [stdout] --> tests/common/mod.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn inner_html() -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Map`, `MapRef`, and `WatchRef` are never constructed [INFO] [stdout] --> tests/common/store.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum SubscriptionType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 14 | Map, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | MapRef, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | Watch, [INFO] [stdout] 17 | WatchRef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 27.30s [INFO] running `Command { std: "docker" "inspect" "2b8f8a3c8f566dbfbe660d10fb2f80c3f076d92b8184e0d8737c130963e6395b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8f8a3c8f566dbfbe660d10fb2f80c3f076d92b8184e0d8737c130963e6395b", kill_on_drop: false }` [INFO] [stdout] 2b8f8a3c8f566dbfbe660d10fb2f80c3f076d92b8184e0d8737c130963e6395b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e7b42a5173f2691ec9a4a57e58d8f24442ed596b29d784dfbac809d368d64b23 [INFO] running `Command { std: "docker" "start" "-a" "e7b42a5173f2691ec9a4a57e58d8f24442ed596b29d784dfbac809d368d64b23", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hook/store/handle.rs:11:43 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 11 - pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stderr] 11 + pub(crate) subscriptions: Vec, &T) -> Rc>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hook/store/handle.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stderr] 12 + pub(crate) ref_subscriptions: Vec bool>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hook/store/handle.rs:93:43 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 93 | pub fn map_ref<'a, M: PartialEq + 'a>(&self, map: impl Fn(&T) -> &M + 'static) -> Ref<'_, M> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hook/store/store.rs:85:29 [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn state_ref(&self) -> Ref> { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub(crate) fn state_ref(&self) -> Ref<'_, Rc> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `yewv` (lib) generated 4 warnings (run `cargo fix --lib -p yewv` to apply 4 suggestions) [INFO] [stderr] warning: variants `MapRef`, `Watch`, and `WatchRef` are never constructed [INFO] [stderr] --> tests/common/store.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum SubscriptionType { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 14 | Map, [INFO] [stderr] 15 | MapRef, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | Watch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 17 | WatchRef, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `inner_html` is never used [INFO] [stderr] --> tests/common/mod.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | pub async fn inner_html() -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Map`, `MapRef`, and `WatchRef` are never constructed [INFO] [stderr] --> tests/common/store.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum SubscriptionType { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 14 | Map, [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | MapRef, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | Watch, [INFO] [stderr] 17 | WatchRef, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Map`, `MapRef`, and `Watch` are never constructed [INFO] [stderr] --> tests/common/store.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum SubscriptionType { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 14 | Map, [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | MapRef, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 16 | Watch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Map`, `Watch`, and `WatchRef` are never constructed [INFO] [stderr] --> tests/common/store.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum SubscriptionType { [INFO] [stderr] | ---------------- variants in this enum [INFO] [stderr] 14 | Map, [INFO] [stderr] | ^^^ [INFO] [stderr] 15 | MapRef, [INFO] [stderr] 16 | Watch, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 17 | WatchRef, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SubscriptionType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `yewv` (test "store_map") generated 1 warning [INFO] [stderr] warning: `yewv` (test "store_watch") generated 2 warnings [INFO] [stderr] warning: `yewv` (test "store_watch_ref") generated 2 warnings (1 duplicate) [INFO] [stderr] warning: `yewv` (test "store_map_ref") generated 1 warning [INFO] [stderr] warning: `yewv` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/yewv-a06b3566f7c45028) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test hook::store::store::tests::set_state_with_new_state_should_update_current_state ... ok [INFO] [stdout] test hook::store::store::tests::set_state_with_subscription_no_longer_active_should_no_longer_notify ... ok [INFO] [stdout] test hook::store::store::tests::set_state_with_new_state_should_update_previous_state ... ok [INFO] [stderr] Running tests/store_map.rs (/opt/rustwide/target/debug/deps/store_map-e4d7edcfc7b0b5e6) [INFO] [stdout] test hook::store::store::tests::set_state_with_new_state_should_notify ... ok [INFO] [stdout] test hook::store::store::tests::subscribe_with_callback_should_add_callback_to_subscriptions ... ok [INFO] [stdout] test hook::store::store::tests::set_state_with_subscription_no_longer_active_should_drop_subscription ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/store_map_ref.rs (/opt/rustwide/target/debug/deps/store_map_ref-b951b998f587fc02) [INFO] [stdout] [INFO] [stderr] Running tests/store_watch.rs (/opt/rustwide/target/debug/deps/store_watch-8f2a710e57b90cde) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/store_watch_ref.rs (/opt/rustwide/target/debug/deps/store_watch_ref-d5fd636ba24e6f93) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Doc-tests yewv [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hook/store/handle.rs:11:43 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 11 - pub(crate) subscriptions: Vec, &T) -> Rc)>>, [INFO] [stderr] 11 + pub(crate) subscriptions: Vec, &T) -> Rc>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hook/store/handle.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 12 - pub(crate) ref_subscriptions: Vec bool)>>, [INFO] [stderr] 12 + pub(crate) ref_subscriptions: Vec bool>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/hook/store/handle.rs - hook::store::handle::UseStoreHandle::map (line 30) ... ok [INFO] [stdout] test src/hook/store/handle.rs - hook::store::handle::UseStoreHandle::watch_ref (line 104) ... ok [INFO] [stdout] test src/hook/store/store.rs - hook::store::store::Store::new (line 15) ... ok [INFO] [stdout] test src/hook/store/store.rs - hook::store::store::Store::set_state (line 44) ... ok [INFO] [stdout] test src/hook/store/handle.rs - hook::store::handle::UseStoreHandle::map_ref (line 77) ... ok [INFO] [stdout] test src/hook/store/mod.rs - hook::store::use_store (line 12) ... ok [INFO] [stdout] test src/hook/store/handle.rs - hook::store::handle::UseStoreHandle::watch (line 133) ... ok [INFO] [stdout] test src/hook/store/store.rs - hook::store::store::Store::subscribe (line 64) ... ok [INFO] [stdout] test src/lib.rs - (line 21) ... ok [INFO] [stdout] test src/lib.rs - (line 116) ... ok [INFO] [stdout] test src/lib.rs - (line 144) ... ok [INFO] [stdout] test src/lib.rs - (line 60) ... ok [INFO] [stdout] test src/hook/store/store.rs - hook::store::store::Store::state (line 31) ... ok [INFO] [stdout] test src/hook/service/mod.rs - hook::service::use_service (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.37s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e7b42a5173f2691ec9a4a57e58d8f24442ed596b29d784dfbac809d368d64b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b42a5173f2691ec9a4a57e58d8f24442ed596b29d784dfbac809d368d64b23", kill_on_drop: false }` [INFO] [stdout] e7b42a5173f2691ec9a4a57e58d8f24442ed596b29d784dfbac809d368d64b23