[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/10c67707a13ce527279849ec5c82333f1036197a against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDavidVentura%2Fmatrix-fire" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DavidVentura/matrix-fire on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ws2812-esp32-rmt-driver v0.7.1 [INFO] [stderr] Downloaded esp-idf-sys v0.33.7 [INFO] [stderr] Downloaded aligned v0.4.1 [INFO] [stderr] Downloaded smart-leds-trait v0.3.0 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded esp_idf_logger v0.1.1 [INFO] [stderr] Downloaded normpath v1.2.0 [INFO] [stderr] Downloaded embedded-svc v0.27.1 [INFO] [stderr] Downloaded defmt-macros v0.3.7 [INFO] [stderr] Downloaded embedded-graphics-core v0.4.0 [INFO] [stderr] Downloaded fs_at v0.1.10 [INFO] [stderr] Downloaded darling_core v0.20.6 [INFO] [stderr] Downloaded embedded-hal v1.0.0-rc.1 [INFO] [stderr] Downloaded darling v0.20.6 [INFO] [stderr] Downloaded defmt v0.3.6 [INFO] [stderr] Downloaded esp-idf-svc v0.47.3 [INFO] [stderr] Downloaded embedded-io-async v0.6.1 [INFO] [stderr] Downloaded esp-idf-hal v0.42.5 [INFO] [stderr] Downloaded esp-idf-sys v0.1.2 [INFO] [stderr] Downloaded no-std-net v0.5.0 [INFO] [stderr] Downloaded embedded-svc v0.26.4 [INFO] [stderr] Downloaded smart-leds v0.4.0 [INFO] [stderr] Downloaded embassy-sync v0.3.0 [INFO] [stderr] Downloaded embedded-can v0.4.1 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0-rc.1 [INFO] [stderr] Downloaded embassy-futures v0.1.1 [INFO] [stderr] Downloaded build-time v0.1.3 [INFO] [stderr] Downloaded remove_dir_all v0.8.2 [INFO] [stderr] Downloaded darling_macro v0.20.6 [INFO] [stderr] Downloaded cvt v0.1.2 [INFO] [stderr] Downloaded embuild v0.31.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63427d4bd3931ca5a608ab7f120ad4f498162dc01ab2577c3c1f00d6c7d69569 [INFO] running `Command { std: "docker" "start" "-a" "63427d4bd3931ca5a608ab7f120ad4f498162dc01ab2577c3c1f00d6c7d69569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63427d4bd3931ca5a608ab7f120ad4f498162dc01ab2577c3c1f00d6c7d69569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63427d4bd3931ca5a608ab7f120ad4f498162dc01ab2577c3c1f00d6c7d69569", kill_on_drop: false }` [INFO] [stdout] 63427d4bd3931ca5a608ab7f120ad4f498162dc01ab2577c3c1f00d6c7d69569 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e52f55769f091de9333963baf4c862a44e94c0c90a841e4bcf81a871c9d7a58 [INFO] running `Command { std: "docker" "start" "-a" "9e52f55769f091de9333963baf4c862a44e94c0c90a841e4bcf81a871c9d7a58", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling hashbrown v0.14.3 [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 anyhow v1.0.80 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling embedded-io-async v0.6.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking embedded-io v0.6.1 [INFO] [stderr] Checking esp-idf-sys v0.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking render v0.1.0 (/opt/rustwide/workdir/render) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stdout] warning: 1 warning emitted [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[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[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[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: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[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[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] [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[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] [stderr] error: could not compile `wasm` (lib) due to 19 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "9e52f55769f091de9333963baf4c862a44e94c0c90a841e4bcf81a871c9d7a58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e52f55769f091de9333963baf4c862a44e94c0c90a841e4bcf81a871c9d7a58", kill_on_drop: false }` [INFO] [stdout] 9e52f55769f091de9333963baf4c862a44e94c0c90a841e4bcf81a871c9d7a58