[INFO] fetching crate wasm-component 0.1.7... [INFO] testing wasm-component-0.1.7 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate wasm-component 0.1.7 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate wasm-component 0.1.7 [INFO] finished tweaking crates.io crate wasm-component 0.1.7 [INFO] tweaked toml for crates.io crate wasm-component 0.1.7 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasm-component 0.1.7 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 62 packages to latest compatible versions [INFO] [stderr] Adding gloo v0.2.1 (available: v0.11.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded nom_html_parser v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3cbf28bbbcaba6bd7f9394ec42dbc34b175241ea5884c4e06a185d27462440c [INFO] running `Command { std: "docker" "start" "-a" "e3cbf28bbbcaba6bd7f9394ec42dbc34b175241ea5884c4e06a185d27462440c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3cbf28bbbcaba6bd7f9394ec42dbc34b175241ea5884c4e06a185d27462440c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3cbf28bbbcaba6bd7f9394ec42dbc34b175241ea5884c4e06a185d27462440c", kill_on_drop: false }` [INFO] [stdout] e3cbf28bbbcaba6bd7f9394ec42dbc34b175241ea5884c4e06a185d27462440c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4970ae75ed893f291070bf40633f2064b612f306d028a7d16fa7d7cf172ae06a [INFO] running `Command { std: "docker" "start" "-a" "4970ae75ed893f291070bf40633f2064b612f306d028a7d16fa7d7cf172ae06a", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling once_cell v1.21.3 [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 getrandom v0.2.16 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling nom_html_parser v0.1.1 [INFO] [stderr] Compiling js-sys v0.3.77 [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 wasm-bindgen-test v0.3.50 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-console-timer v0.1.0 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Compiling gloo v0.2.1 [INFO] [stderr] Compiling wasm-component v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `extern` [INFO] [stdout] --> src/v2/driver/dom/mod.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub extern "C" { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::v2::driver::dom::log`, `crate::v2::driver::dom::error` [INFO] [stdout] --> src/state_machine/mod.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::v2::driver::dom::{ log, error, AppEvent }; [INFO] [stdout] | ^^^ ^^^^^ no `error` in `v2::driver::dom` [INFO] [stdout] | | [INFO] [stdout] | no `log` in `v2::driver::dom` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::error [INFO] [stdout] serde_json::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::v2::driver::dom::log`, `crate::v2::driver::dom::error` [INFO] [stdout] --> src/v2/app/dom/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::v2::driver::dom::{ log, error, document }; [INFO] [stdout] | ^^^ ^^^^^ no `error` in `v2::driver::dom` [INFO] [stdout] | | [INFO] [stdout] | no `log` in `v2::driver::dom` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] std::error [INFO] [stdout] serde_json::error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Serialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/v2/driver/dom/mod.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{ Serialize, Deserialize }; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use serde_derive::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Serialize, Deserialize, Clone, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Deserialize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/v2/driver/dom/mod.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::{ Serialize, Deserialize }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use serde_derive::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:82:25 [INFO] [stdout] | [INFO] [stdout] 82 | error(format!("could not set attribute {:?}", e).as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:115:37 [INFO] [stdout] | [INFO] [stdout] 115 | ... error(format!("could not send event: {:?}", e).as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | ... error(format!("error in compiling template data: {:?}", e).as_ref()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:500:21 [INFO] [stdout] | [INFO] [stdout] 500 | error(format!("component with id: {} already there", id_element).as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:562:17 [INFO] [stdout] | [INFO] [stdout] 562 | error(err.clone().as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:604:39 [INFO] [stdout] | [INFO] [stdout] 604 | ... error(format!("failed to append node: {:?}", e).as_ref()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:613:39 [INFO] [stdout] | [INFO] [stdout] 613 | ... error(format!("failed to append node: {:?}", e).as_ref()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:623:37 [INFO] [stdout] | [INFO] [stdout] 623 | ... error(format!("failed to append node: {:?}", e).as_ref()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:638:32 [INFO] [stdout] | [INFO] [stdout] 638 | ... error(format!("failed to append node: {:?}", e).as_ref()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:660:17 [INFO] [stdout] | [INFO] [stdout] 660 | error(err.clone().as_str()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:686:37 [INFO] [stdout] | [INFO] [stdout] 686 | .map_err(|e| error(format!("{:?}", e).as_str())) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:690:37 [INFO] [stdout] | [INFO] [stdout] 690 | .map_err(|e| error(format!("{:?}", e).as_str())) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `error` in this scope [INFO] [stdout] --> src/v2/driver/dom/mod.rs:698:34 [INFO] [stdout] | [INFO] [stdout] 698 | .map_err(|e| error(format!("{:?}", e).as_str())) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppEvent: DeserializeOwned` is not satisfied [INFO] [stdout] --> src/state_machine/mod.rs:55:70 [INFO] [stdout] | [INFO] [stdout] 55 | fn receive(&mut self, evt: AppEvent) -> Result<(), String> where AppEvent: DeserializeOwned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'de> Deserialize<'de>` is not implemented for `AppEvent` [INFO] [stdout] --> src/v2/driver/dom/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct AppEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] = note: required for `AppEvent` to implement `DeserializeOwned` [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] help: add `#![feature(trivial_bounds)]` to the crate attributes to enable [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 + #![feature(trivial_bounds)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/v2/driver/dom/mod.rs:110:43 [INFO] [stdout] | [INFO] [stdout] 110 | ... &JsValue::from_serde(&app_event).unwrap(), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `AppEvent: Serialize` is not satisfied [INFO] [stdout] --> src/v2/driver/dom/mod.rs:110:54 [INFO] [stdout] | [INFO] [stdout] 110 | ... &JsValue::from_serde(&app_event).unwrap(), [INFO] [stdout] | ------------------- ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Serialize` is not implemented for `AppEvent` [INFO] [stdout] --> src/v2/driver/dom/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct AppEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `AppEvent` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 132 others [INFO] [stdout] note: required by a bound in `wasm_bindgen::JsValue::from_serde` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn from_serde(t: &T) -> serde_json::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 263 | where [INFO] [stdout] 264 | T: serde::ser::Serialize + ?Sized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsValue::from_serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/v2/app/dom/mod.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | let mess: Result = e.detail().into_serde(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `for<'a> AppEvent: Deserialize<'a>` is not satisfied [INFO] [stdout] --> src/v2/app/dom/mod.rs:28:79 [INFO] [stdout] | [INFO] [stdout] 28 | let mess: Result = e.detail().into_serde(); [INFO] [stdout] | ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `for<'a> Deserialize<'a>` is not implemented for `AppEvent` [INFO] [stdout] --> src/v2/driver/dom/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct AppEvent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `AppEvent` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 143 others [INFO] [stdout] note: required by a bound in `wasm_bindgen::JsValue::into_serde` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/wasm-bindgen-0.2.100/src/lib.rs:295:12 [INFO] [stdout] | [INFO] [stdout] 293 | pub fn into_serde(&self) -> serde_json::Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 294 | where [INFO] [stdout] 295 | T: for<'a> serde::de::Deserialize<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `JsValue::into_serde` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_id` [INFO] [stdout] --> src/v2/driver/dom/component.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | fn render_child(&mut self, element_id: String, tag: String, parent: Option) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> src/v2/driver/dom/component.rs:14:51 [INFO] [stdout] | [INFO] [stdout] 14 | fn render_child(&mut self, element_id: String, tag: String, parent: Option) -> Result<(), ()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/v2/driver/dom/component.rs:14:64 [INFO] [stdout] | [INFO] [stdout] 14 | fn render_child(&mut self, element_id: String, tag: String, parent: Option) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element_id` [INFO] [stdout] --> src/v2/driver/dom/component.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | fn destroy_child(&mut self, element_id: String) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/v2/driver/dom/mod.rs:512:9 [INFO] [stdout] | [INFO] [stdout] 512 | mut node: NomHtmlElement, [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm-component` (lib) due to 21 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4970ae75ed893f291070bf40633f2064b612f306d028a7d16fa7d7cf172ae06a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4970ae75ed893f291070bf40633f2064b612f306d028a7d16fa7d7cf172ae06a", kill_on_drop: false }` [INFO] [stdout] 4970ae75ed893f291070bf40633f2064b612f306d028a7d16fa7d7cf172ae06a