[INFO] fetching crate wasm-component 0.1.7... [INFO] testing wasm-component-0.1.7 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate wasm-component 0.1.7 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wasm-component 0.1.7 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding gloo v0.2.1 (available: v0.12.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.23.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded wasi v0.11.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded getrandom v0.2.17 [INFO] [stderr] Downloaded gloo-console-timer v0.1.0 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded nom_html_parser v0.1.1 [INFO] [stderr] Downloaded mustache v0.9.0 [INFO] [stderr] Downloaded arrayvec v0.5.2 [INFO] [stderr] Downloaded gloo-file v0.1.0 [INFO] [stderr] Downloaded uuid v0.8.2 [INFO] [stderr] Downloaded nom v5.1.3 [INFO] [stderr] Downloaded gloo v0.2.1 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c007b59612e661a403e7186f87e0980b6a895b87b558622331d0d4f78aaae48 [INFO] running `Command { std: "docker" "start" "-a" "2c007b59612e661a403e7186f87e0980b6a895b87b558622331d0d4f78aaae48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c007b59612e661a403e7186f87e0980b6a895b87b558622331d0d4f78aaae48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c007b59612e661a403e7186f87e0980b6a895b87b558622331d0d4f78aaae48", kill_on_drop: false }` [INFO] [stdout] 2c007b59612e661a403e7186f87e0980b6a895b87b558622331d0d4f78aaae48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42203f320f5a83703ddc50760f8cc39ed069a96ab2636a85b95d6da4de81a8e7 [INFO] running `Command { std: "docker" "start" "-a" "42203f320f5a83703ddc50760f8cc39ed069a96ab2636a85b95d6da4de81a8e7", 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 memchr v2.8.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wasm-bindgen v0.2.117 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-shared v0.2.117 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.67 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling js-sys v0.3.94 [INFO] [stderr] Compiling nom_html_parser v0.1.1 [INFO] [stderr] Compiling web-sys v0.3.94 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.67 [INFO] [stderr] Compiling gloo-timers v0.2.6 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.67 [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] 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] 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] 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] [stderr] error: could not compile `wasm-component` (lib) due to 1 previous error; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "42203f320f5a83703ddc50760f8cc39ed069a96ab2636a85b95d6da4de81a8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42203f320f5a83703ddc50760f8cc39ed069a96ab2636a85b95d6da4de81a8e7", kill_on_drop: false }` [INFO] [stdout] 42203f320f5a83703ddc50760f8cc39ed069a96ab2636a85b95d6da4de81a8e7