[INFO] fetching crate wasm-component 0.1.7... [INFO] testing wasm-component-0.1.7 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate wasm-component 0.1.7 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate wasm-component 0.1.7 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-16/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cddd7b00da6e426d550311942e8014bf1d195b7e2747dace6fe69f30bebbc2d [INFO] running `Command { std: "docker" "start" "-a" "6cddd7b00da6e426d550311942e8014bf1d195b7e2747dace6fe69f30bebbc2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cddd7b00da6e426d550311942e8014bf1d195b7e2747dace6fe69f30bebbc2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cddd7b00da6e426d550311942e8014bf1d195b7e2747dace6fe69f30bebbc2d", kill_on_drop: false }` [INFO] [stdout] 6cddd7b00da6e426d550311942e8014bf1d195b7e2747dace6fe69f30bebbc2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b56860c1f2e400fd530f6a20ee25aadcc6d152e2826c6ed68520308da3be34f7 [INFO] running `Command { std: "docker" "start" "-a" "b56860c1f2e400fd530f6a20ee25aadcc6d152e2826c6ed68520308da3be34f7", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.80 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.80 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.80 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.80 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling nom_html_parser v0.1.1 [INFO] [stderr] Compiling js-sys v0.3.57 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.57 [INFO] [stderr] Compiling gloo-timers v0.2.4 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.30 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.30 [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] [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] [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: consider importing this derive macro: [INFO] [stdout] serde_derive::Serialize [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] [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: consider importing this derive macro: [INFO] [stdout] serde_derive::Deserialize [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] [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 `for<'de> AppEvent: Deserialize<'de>` 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `AppEvent` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `DeserializeOwned` for `AppEvent` [INFO] [stdout] = help: see issue #48214 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [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` due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "b56860c1f2e400fd530f6a20ee25aadcc6d152e2826c6ed68520308da3be34f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b56860c1f2e400fd530f6a20ee25aadcc6d152e2826c6ed68520308da3be34f7", kill_on_drop: false }` [INFO] [stdout] b56860c1f2e400fd530f6a20ee25aadcc6d152e2826c6ed68520308da3be34f7