[INFO] cloning repository https://github.com/egor-vaskon/webgl2-particle-physics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/egor-vaskon/webgl2-particle-physics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegor-vaskon%2Fwebgl2-particle-physics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegor-vaskon%2Fwebgl2-particle-physics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f9e38c2c6c3dcbdd2ed11b5efac6703d11d3cbef [INFO] checking egor-vaskon/webgl2-particle-physics/f9e38c2c6c3dcbdd2ed11b5efac6703d11d3cbef against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fegor-vaskon%2Fwebgl2-particle-physics" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/egor-vaskon/webgl2-particle-physics 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] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/egor-vaskon/webgl2-particle-physics [INFO] finished tweaking git repo https://github.com/egor-vaskon/webgl2-particle-physics [INFO] tweaked toml for git repo https://github.com/egor-vaskon/webgl2-particle-physics written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/egor-vaskon/webgl2-particle-physics 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wrend v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 974d1a7e72259a74832a26415786c753dbecc3a14300fe04b56e6d0c3ec2e417 [INFO] running `Command { std: "docker" "start" "-a" "974d1a7e72259a74832a26415786c753dbecc3a14300fe04b56e6d0c3ec2e417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "974d1a7e72259a74832a26415786c753dbecc3a14300fe04b56e6d0c3ec2e417", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "974d1a7e72259a74832a26415786c753dbecc3a14300fe04b56e6d0c3ec2e417", kill_on_drop: false }` [INFO] [stdout] 974d1a7e72259a74832a26415786c753dbecc3a14300fe04b56e6d0c3ec2e417 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3205af2ac2731a143639a1288abdff663b12d867fc1b3a4fe12a8ecd3d2b317a [INFO] running `Command { std: "docker" "start" "-a" "3205af2ac2731a143639a1288abdff663b12d867fc1b3a4fe12a8ecd3d2b317a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Compiling xml-rs v0.8.16 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling serde v1.0.175 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde_json v1.0.103 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling syn v2.0.26 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling smithay-client-toolkit v0.16.0 [INFO] [stderr] Checking ttf-parser v0.19.1 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling winit v0.28.6 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Checking owned_ttf_parser v0.19.0 [INFO] [stderr] Checking ab_glyph v0.2.21 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling bytemuck_derive v1.4.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking tiny-skia-path v0.8.4 [INFO] [stderr] Checking glam v0.24.1 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking calloop v0.10.6 [INFO] [stderr] Checking tiny-skia v0.8.4 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.37 [INFO] [stderr] Checking wasm-logger v0.2.0 [INFO] [stderr] Checking wrend v0.3.6 [INFO] [stderr] Checking sctk-adwaita v0.5.4 [INFO] [stderr] Checking particle_system_wasm v0.1.0 (/opt/rustwide/workdir/particle_system_wasm) [INFO] [stdout] error[E0432]: unresolved import `winit::platform::web` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::platform::web::WindowBuilderExtWebSys; [INFO] [stdout] | ^^^ could not find `web` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub mod web; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `wasm_bindgen` [INFO] [stdout] --> particle_system_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[E0433]: failed to resolve: use of undeclared crate or module `js_sys` [INFO] [stdout] --> particle_system_wasm/src/particle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Math::random; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `js_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::web` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::platform::web::WindowExtWebSys; [INFO] [stdout] | ^^^ could not find `web` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub mod web; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `js_sys` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use js_sys::{Float32Array, Object}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `js_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::{WebGl2RenderingContext, WebGlTexture}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::web` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use winit::platform::web::WindowBuilderExtWebSys; [INFO] [stdout] | ^^^ could not find `web` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub mod web; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{HtmlCanvasElement, window}; [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] --> particle_system_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[E0433]: failed to resolve: use of undeclared crate or module `js_sys` [INFO] [stdout] --> particle_system_wasm/src/particle.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use js_sys::Math::random; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `js_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winit::platform::web` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | use winit::platform::web::WindowExtWebSys; [INFO] [stdout] | ^^^ could not find `web` in `platform` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub mod web; [INFO] [stdout] | ^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.28.6/src/platform/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(wasm_platform)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `js_sys` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use js_sys::{Float32Array, Object}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `js_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use web_sys::{WebGl2RenderingContext, WebGlTexture}; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use web_sys::{HtmlCanvasElement, window}; [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] --> particle_system_wasm/src/lib.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[wasm_bindgen(js_name = "isRunning")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[wasm_bindgen(js_name = "handleResize")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | #[wasm_bindgen(js_name = "isRunning")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `wasm_bindgen` in this scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 61 | #[wasm_bindgen(js_name = "handleResize")] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::min` [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::min; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canvas` found for reference `&Window` in the current scope [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | let canvas = window.canvas(); [INFO] [stdout] | ^^^^^^ method not found in `&Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `canvas` found for reference `&Window` in the current scope [INFO] [stdout] --> particle_system_wasm/src/graphics.rs:189:29 [INFO] [stdout] | [INFO] [stdout] 189 | let canvas = window.canvas(); [INFO] [stdout] | ^^^^^^ method not found in `&Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `console_error_panic_hook` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | panic::set_hook(Box::new(console_error_panic_hook::hook)); [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 `console_log` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | console_log::init_with_level(LOG_LEVEL).expect("could not initialize logger"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `console_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `console_error_panic_hook` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | panic::set_hook(Box::new(console_error_panic_hook::hook)); [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 `console_log` [INFO] [stdout] --> particle_system_wasm/src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | console_log::init_with_level(LOG_LEVEL).expect("could not initialize logger"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `console_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_canvas` found for struct `WindowBuilder` in the current scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 152 | / WindowBuilder::new() [INFO] [stdout] 153 | | .with_inner_size(size) [INFO] [stdout] 154 | | .with_resizable(true) [INFO] [stdout] 155 | | .with_canvas(Some(canvas)) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `WindowBuilder` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_canvas` found for struct `WindowBuilder` in the current scope [INFO] [stdout] --> particle_system_wasm/src/lib.rs:155:14 [INFO] [stdout] | [INFO] [stdout] 152 | / WindowBuilder::new() [INFO] [stdout] 153 | | .with_inner_size(size) [INFO] [stdout] 154 | | .with_resizable(true) [INFO] [stdout] 155 | | .with_canvas(Some(canvas)) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `WindowBuilder` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `particle_system_wasm` (lib) due to 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `particle_system_wasm` (lib test) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3205af2ac2731a143639a1288abdff663b12d867fc1b3a4fe12a8ecd3d2b317a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3205af2ac2731a143639a1288abdff663b12d867fc1b3a4fe12a8ecd3d2b317a", kill_on_drop: false }` [INFO] [stdout] 3205af2ac2731a143639a1288abdff663b12d867fc1b3a4fe12a8ecd3d2b317a