[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [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] validating manifest of git repo https://github.com/DavidVentura/matrix-fire on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smart-leds-trait v0.2.1 [INFO] [stderr] Downloaded fs_at v0.1.10 [INFO] [stderr] Downloaded remove_dir_all v0.8.2 [INFO] [stderr] Downloaded embassy-sync v0.3.0 [INFO] [stderr] Downloaded embedded-hal v1.0.0-rc.1 [INFO] [stderr] Downloaded embedded-svc v0.27.1 [INFO] [stderr] Downloaded esp-idf-sys v0.33.7 [INFO] [stderr] Downloaded embedded-svc v0.26.4 [INFO] [stderr] Downloaded esp-idf-svc v0.47.3 [INFO] [stderr] Downloaded esp-idf-hal v0.42.5 [INFO] [stderr] Downloaded build-time v0.1.3 [INFO] [stderr] Downloaded aligned v0.4.1 [INFO] [stderr] Downloaded embuild v0.31.4 [INFO] [stderr] Downloaded esp_idf_logger v0.1.1 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0-rc.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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88f0ead80191a93b7f1e7414d257f703a836e2a7902b9994a30d629200e3b2b3 [INFO] running `Command { std: "docker" "start" "-a" "88f0ead80191a93b7f1e7414d257f703a836e2a7902b9994a30d629200e3b2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88f0ead80191a93b7f1e7414d257f703a836e2a7902b9994a30d629200e3b2b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88f0ead80191a93b7f1e7414d257f703a836e2a7902b9994a30d629200e3b2b3", kill_on_drop: false }` [INFO] [stdout] 88f0ead80191a93b7f1e7414d257f703a836e2a7902b9994a30d629200e3b2b3 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c143a77ab93c599ae1e23edcf9b534825731e53f229e09fc9ce21c1bdd5b7bf [INFO] running `Command { std: "docker" "start" "-a" "3c143a77ab93c599ae1e23edcf9b534825731e53f229e09fc9ce21c1bdd5b7bf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking esp-idf-sys v0.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking render v0.1.0 (/opt/rustwide/workdir/render) [INFO] [stderr] Checking wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen` [INFO] [stdout] --> wasm/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen` [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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen` [INFO] [stdout] --> wasm/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use wasm_bindgen::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `wasm_bindgen` [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 undeclared crate or module `web_sys` [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() -> 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() -> 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> = [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> = [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() -> 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() -> 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> = [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> = [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `console_error_panic_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [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> = [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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `console_error_panic_hook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [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> = [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[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> = [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[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys` [INFO] [stdout] --> wasm/src/lib.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys` [INFO] [stdout] --> wasm/src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys` [INFO] [stdout] --> wasm/src/lib.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm` (lib) due to 19 previous errors [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [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> = [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 undeclared crate or module `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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys` [INFO] [stdout] --> wasm/src/lib.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys` [INFO] [stdout] --> wasm/src/lib.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `web_sys` [INFO] [stdout] --> wasm/src/lib.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | .dyn_into::() [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [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 19 previous errors [INFO] running `Command { std: "docker" "inspect" "3c143a77ab93c599ae1e23edcf9b534825731e53f229e09fc9ce21c1bdd5b7bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c143a77ab93c599ae1e23edcf9b534825731e53f229e09fc9ce21c1bdd5b7bf", kill_on_drop: false }` [INFO] [stdout] 3c143a77ab93c599ae1e23edcf9b534825731e53f229e09fc9ce21c1bdd5b7bf