[INFO] cloning repository https://github.com/DavidVentura/matrix-fire
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DavidVentura/matrix-fire" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidVentura%2Fmatrix-fire", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidVentura%2Fmatrix-fire'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10c67707a13ce527279849ec5c82333f1036197a
[INFO] checking DavidVentura/matrix-fire against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidVentura%2Fmatrix-fire" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/DavidVentura/matrix-fire
[INFO] finished tweaking git repo https://github.com/DavidVentura/matrix-fire
[INFO] tweaked toml for git repo https://github.com/DavidVentura/matrix-fire written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/DavidVentura/matrix-fire on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/DavidVentura/matrix-fire already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded aligned v0.4.1
[INFO] [stderr]   Downloaded smart-leds-trait v0.2.1
[INFO] [stderr]   Downloaded remove_dir_all v0.8.2
[INFO] [stderr]   Downloaded esp-idf-sys v0.33.7
[INFO] [stderr]   Downloaded smart-leds-trait v0.3.0
[INFO] [stderr]   Downloaded darling_macro v0.20.6
[INFO] [stderr]   Downloaded normpath v1.2.0
[INFO] [stderr]   Downloaded defmt-parser v0.3.4
[INFO] [stderr]   Downloaded defmt-macros v0.3.7
[INFO] [stderr]   Downloaded embedded-svc v0.27.1
[INFO] [stderr]   Downloaded embedded-svc v0.26.4
[INFO] [stderr]   Downloaded embassy-sync v0.3.0
[INFO] [stderr]   Downloaded darling_core v0.20.6
[INFO] [stderr]   Downloaded darling v0.20.6
[INFO] [stderr]   Downloaded esp-idf-svc v0.47.3
[INFO] [stderr]   Downloaded esp-idf-hal v0.42.5
[INFO] [stderr]   Downloaded bindgen v0.63.0
[INFO] [stderr]   Downloaded fs_at v0.1.10
[INFO] [stderr]   Downloaded bstr v1.9.0
[INFO] [stderr]   Downloaded defmt v0.3.6
[INFO] [stderr]   Downloaded no-std-net v0.5.0
[INFO] [stderr]   Downloaded embedded-hal v1.0.0-rc.1
[INFO] [stderr]   Downloaded embedded-hal-nb v1.0.0-rc.1
[INFO] [stderr]   Downloaded embuild v0.31.4
[INFO] [stderr]   Downloaded enumset v1.1.3
[INFO] [stderr]   Downloaded esp_idf_logger v0.1.1
[INFO] [stderr]   Downloaded ws2812-esp32-rmt-driver v0.7.1
[INFO] [stderr]   Downloaded esp-idf-sys v0.1.2
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6556c60e36ad2f8eb6b51b1cfc852c06acddf30035f4ae7f99a79bd32d2a2d03
[INFO] running `Command { std: "docker" "start" "-a" "6556c60e36ad2f8eb6b51b1cfc852c06acddf30035f4ae7f99a79bd32d2a2d03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6556c60e36ad2f8eb6b51b1cfc852c06acddf30035f4ae7f99a79bd32d2a2d03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6556c60e36ad2f8eb6b51b1cfc852c06acddf30035f4ae7f99a79bd32d2a2d03", kill_on_drop: false }`
[INFO] [stdout] 6556c60e36ad2f8eb6b51b1cfc852c06acddf30035f4ae7f99a79bd32d2a2d03
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bd49ff54a53c764cc574de3b3175cb4520c33bfe896ea3c12114573575805892
[INFO] running `Command { std: "docker" "start" "-a" "bd49ff54a53c764cc574de3b3175cb4520c33bfe896ea3c12114573575805892", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling serde v1.0.197
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling anyhow v1.0.80
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]     Checking bytemuck v1.14.3
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling embedded-io-async v0.6.1
[INFO] [stderr]    Compiling heapless v0.8.0
[INFO] [stderr]    Compiling syn v2.0.50
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking embedded-io v0.6.1
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.20
[INFO] [stderr]    Compiling serde_json v1.0.114
[INFO] [stderr]     Checking rgb v0.8.37
[INFO] [stderr]     Checking hash32 v0.3.1
[INFO] [stderr]     Checking esp-idf-sys v0.1.2
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking itoa v1.0.10
[INFO] [stderr]     Checking cty v0.2.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling toml_edit v0.21.1
[INFO] [stderr]    Compiling filetime v0.2.23
[INFO] [stderr]     Checking getrandom v0.2.12
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking render v0.1.0 (/opt/rustwide/workdir/render)
[INFO] [stderr]     Checking wasm v0.1.0 (/opt/rustwide/workdir/wasm)
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> render/src/lib.rs:247:13
[INFO] [stdout]     |
[INFO] [stdout] 247 |         for c in f.into_iter() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen`
[INFO] [stdout]  --> wasm/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `wasm_bindgen`, use `cargo add wasm_bindgen` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]  --> wasm/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use web_sys::console;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen`
[INFO] [stdout]  --> wasm/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `wasm_bindgen`, use `cargo add wasm_bindgen` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `web_sys`
[INFO] [stdout]  --> wasm/src/lib.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use web_sys::console;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[wasm_bindgen(start)]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[wasm_bindgen]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:18:3
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[wasm_bindgen(start)]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:37:3
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[wasm_bindgen]
[INFO] [stdout]    |   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run() -> Result<(), JsValue> {
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run<JsValue>() -> Result<(), JsValue> {
[INFO] [stdout]    |           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:38:36
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn render_fire() -> Result<(), JsValue> {
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn render_fire<JsValue>() -> Result<(), JsValue> {
[INFO] [stdout]    |                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 1 generic argument but 0 generic arguments were supplied
[INFO] [stdout]   --> wasm/src/lib.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |     static ref FIRE: Mutex<Fire<'static>> =
[INFO] [stdout]    |                            ^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/workdir/render/src/lib.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Fire<'a, T: Copy> {
[INFO] [stdout]    |            ^^^^     -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     static ref FIRE: Mutex<Fire<'static, T>> =
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `console_error_panic_hook`
[INFO] [stdout]   --> wasm/src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     console_error_panic_hook::set_once();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `console_error_panic_hook`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `console_error_panic_hook`, use `cargo add console_error_panic_hook` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let document = web_sys::window().unwrap().document().unwrap();
[INFO] [stdout]    |                    ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let document = web_sys::window().unwrap().document().unwrap();
[INFO] [stdout]    |                    ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run() -> Result<(), JsValue> {
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn run<JsValue>() -> Result<(), JsValue> {
[INFO] [stdout]    |           +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JsValue` in this scope
[INFO] [stdout]   --> wasm/src/lib.rs:38:36
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn render_fire() -> Result<(), JsValue> {
[INFO] [stdout]    |                                    ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn render_fire<JsValue>() -> Result<(), JsValue> {
[INFO] [stdout]    |                   +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `FIRE` in the current scope
[INFO] [stdout]   --> wasm/src/lib.rs:55:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref FIRE: Mutex<Fire<'static>> =
[INFO] [stdout] 15 | |         Mutex::new(Fire::new(W as u8, H as u8, 2.6, rand, &PALETTE));
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_- method `lock` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |       FIRE.lock().unwrap().update_fire_intensity();
[INFO] [stdout]    |            ^^^^ method not found in `FIRE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: struct takes 1 generic argument but 0 generic arguments were supplied
[INFO] [stdout]   --> wasm/src/lib.rs:14:28
[INFO] [stdout]    |
[INFO] [stdout] 14 |     static ref FIRE: Mutex<Fire<'static>> =
[INFO] [stdout]    |                            ^^^^ expected 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] note: struct defined here, with 1 generic parameter: `T`
[INFO] [stdout]   --> /opt/rustwide/workdir/render/src/lib.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Fire<'a, T: Copy> {
[INFO] [stdout]    |            ^^^^     -
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     static ref FIRE: Mutex<Fire<'static, T>> =
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `FIRE` in the current scope
[INFO] [stdout]   --> wasm/src/lib.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref FIRE: Mutex<Fire<'static>> =
[INFO] [stdout] 15 | |         Mutex::new(Fire::new(W as u8, H as u8, 2.6, rand, &PALETTE));
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_- method `lock` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |       for c in FIRE.lock().unwrap().into_iter() {
[INFO] [stdout]    |                     ^^^^ method not found in `FIRE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue`
[INFO] [stdout]   --> wasm/src/lib.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |         ctx.set_fill_style(&JsValue::from(val));
[INFO] [stdout]    |                             ^^^^^^^ use of undeclared type `JsValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let canvas: web_sys::HtmlCanvasElement = canvas
[INFO] [stdout]    |                 ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .dyn_into::<web_sys::CanvasRenderingContext2d>()
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let canvas: web_sys::HtmlCanvasElement = canvas
[INFO] [stdout]    |                 ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |         .dyn_into::<web_sys::HtmlCanvasElement>()
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .dyn_into::<web_sys::HtmlCanvasElement>()
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `console_error_panic_hook`
[INFO] [stdout]   --> wasm/src/lib.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     console_error_panic_hook::set_once();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `console_error_panic_hook`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `console_error_panic_hook`, use `cargo add console_error_panic_hook` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm` (lib) due to 18 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let document = web_sys::window().unwrap().document().unwrap();
[INFO] [stdout]    |                    ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let document = web_sys::window().unwrap().document().unwrap();
[INFO] [stdout]    |                    ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `FIRE` in the current scope
[INFO] [stdout]   --> wasm/src/lib.rs:55:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref FIRE: Mutex<Fire<'static>> =
[INFO] [stdout] 15 | |         Mutex::new(Fire::new(W as u8, H as u8, 2.6, rand, &PALETTE));
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_- method `lock` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 55 |       FIRE.lock().unwrap().update_fire_intensity();
[INFO] [stdout]    |            ^^^^ method not found in `FIRE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `lock` found for struct `FIRE` in the current scope
[INFO] [stdout]   --> wasm/src/lib.rs:56:19
[INFO] [stdout]    |
[INFO] [stdout] 13 | / lazy_static! {
[INFO] [stdout] 14 | |     static ref FIRE: Mutex<Fire<'static>> =
[INFO] [stdout] 15 | |         Mutex::new(Fire::new(W as u8, H as u8, 2.6, rand, &PALETTE));
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_- method `lock` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 56 |       for c in FIRE.lock().unwrap().into_iter() {
[INFO] [stdout]    |                     ^^^^ method not found in `FIRE`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JsValue`
[INFO] [stdout]   --> wasm/src/lib.rs:58:29
[INFO] [stdout]    |
[INFO] [stdout] 58 |         ctx.set_fill_style(&JsValue::from(val));
[INFO] [stdout]    |                             ^^^^^^^ use of undeclared type `JsValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |     let canvas: web_sys::HtmlCanvasElement = canvas
[INFO] [stdout]    |                 ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:50:21
[INFO] [stdout]    |
[INFO] [stdout] 50 |         .dyn_into::<web_sys::CanvasRenderingContext2d>()
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |     let canvas: web_sys::HtmlCanvasElement = canvas
[INFO] [stdout]    |                 ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |         .dyn_into::<web_sys::HtmlCanvasElement>()
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]   --> wasm/src/lib.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |         .dyn_into::<web_sys::HtmlCanvasElement>()
[INFO] [stdout]    |                     ^^^^^^^ use of unresolved module or unlinked crate `web_sys`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `web_sys`, use `cargo add web_sys` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm` (lib test) due to 18 previous errors
[INFO] running `Command { std: "docker" "inspect" "bd49ff54a53c764cc574de3b3175cb4520c33bfe896ea3c12114573575805892", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd49ff54a53c764cc574de3b3175cb4520c33bfe896ea3c12114573575805892", kill_on_drop: false }`
[INFO] [stdout] bd49ff54a53c764cc574de3b3175cb4520c33bfe896ea3c12114573575805892
