[INFO] cloning repository https://github.com/weykon/page-gfx-wgpu-tech-demos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/weykon/page-gfx-wgpu-tech-demos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fpage-gfx-wgpu-tech-demos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fpage-gfx-wgpu-tech-demos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd53dd1bf61efe2794300537644a4568f512ca4e [INFO] checking weykon/page-gfx-wgpu-tech-demos against try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweykon%2Fpage-gfx-wgpu-tech-demos" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weykon/page-gfx-wgpu-tech-demos on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/weykon/page-gfx-wgpu-tech-demos [INFO] finished tweaking git repo https://github.com/weykon/page-gfx-wgpu-tech-demos [INFO] tweaked toml for git repo https://github.com/weykon/page-gfx-wgpu-tech-demos written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/weykon/page-gfx-wgpu-tech-demos 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" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd5db35eb24f8164bed1f0d07c8d185aef62cc1ddf5f092470be3f554117bc0f [INFO] running `Command { std: "docker" "start" "-a" "cd5db35eb24f8164bed1f0d07c8d185aef62cc1ddf5f092470be3f554117bc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd5db35eb24f8164bed1f0d07c8d185aef62cc1ddf5f092470be3f554117bc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5db35eb24f8164bed1f0d07c8d185aef62cc1ddf5f092470be3f554117bc0f", kill_on_drop: false }` [INFO] [stdout] cd5db35eb24f8164bed1f0d07c8d185aef62cc1ddf5f092470be3f554117bc0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 700fd55d0d868f2fdbb3f9d4d97bfcade36402fa99855f58346fc32b827e2e26 [INFO] running `Command { std: "docker" "start" "-a" "700fd55d0d868f2fdbb3f9d4d97bfcade36402fa99855f58346fc32b827e2e26", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Checking once_cell v1.21.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Checking smallvec v1.14.0 [INFO] [stderr] Checking libloading v0.8.6 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking log v0.4.26 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling naga v24.0.0 [INFO] [stderr] Compiling khronos-egl v6.0.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling ash v0.38.0+1.3.281 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling wgpu-hal v24.0.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking hexf-parse v0.2.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking spirv v0.3.0+sdk-1.3.268.0 [INFO] [stderr] Checking gpu-alloc-types v0.3.0 [INFO] [stderr] Checking gpu-descriptor-types v0.2.0 [INFO] [stderr] Checking gpu-descriptor v0.3.1 [INFO] [stderr] Checking gpu-alloc v0.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking wgpu-types v24.0.0 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking ordered-float v4.6.0 [INFO] [stderr] Checking crossbeam-channel v0.5.14 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling wgpu-core v24.0.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking renderdoc-sys v1.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking glow v0.16.0 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking xcursor v0.3.8 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling bytemuck_derive v1.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking flate2 v1.1.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Compiling wgpu v24.0.1 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling anyhow v1.0.96 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking js-sys v0.3.77 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking mio-misc v1.2.2 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking tobj v3.2.5 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking glam v0.30.0 [INFO] [stderr] Checking pollster v0.2.5 [INFO] [stderr] Checking web-sys v0.3.77 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking page-shader-tech v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `web_sys::window`, `web_sys::HtmlCanvasElement` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use web_sys::{window, HtmlCanvasElement}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ no `HtmlCanvasElement` in the root [INFO] [stdout] | | [INFO] [stdout] | no `window` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] winit::window [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `web_sys::console`, `web_sys::window`, `web_sys::Performance` [INFO] [stdout] --> src/utils/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{console, window, Performance}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ no `Performance` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `window` in the root [INFO] [stdout] | no `console` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::window [INFO] [stdout] winit::window [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] wgpu::MemoryHints::Performance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys::HtmlCanvasElement` [INFO] [stdout] --> src/web/bridge_canvas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::HtmlCanvasElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HtmlCanvasElement` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 5 - use web_sys::HtmlCanvasElement; [INFO] [stdout] 5 + use crate::HtmlCanvasElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `web_sys::console`, `web_sys::window`, `web_sys::Event` [INFO] [stdout] --> src/web/interactions.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::{console, window, Event}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^ no `Event` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `window` in the root [INFO] [stdout] | no `console` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::window [INFO] [stdout] winit::window [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] winit::event::Event [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `web_sys::window`, `web_sys::HtmlCanvasElement` [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use web_sys::{window, HtmlCanvasElement}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^ no `HtmlCanvasElement` in the root [INFO] [stdout] | | [INFO] [stdout] | no `window` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this module instead: [INFO] [stdout] winit::window [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | console_log!("Running level 2"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `web_sys::console`, `web_sys::window`, `web_sys::Performance` [INFO] [stdout] --> src/utils/mod.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use web_sys::{console, window, Performance}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ no `Performance` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `window` in the root [INFO] [stdout] | no `console` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::window [INFO] [stdout] winit::window [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] wgpu::MemoryHints::Performance [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `web_sys::HtmlCanvasElement` [INFO] [stdout] --> src/web/bridge_canvas.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use web_sys::HtmlCanvasElement; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `HtmlCanvasElement` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this unresolved item through its public re-export instead [INFO] [stdout] | [INFO] [stdout] 5 - use web_sys::HtmlCanvasElement; [INFO] [stdout] 5 + use crate::HtmlCanvasElement; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | console_log!("Ready to run level 2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `web_sys::console`, `web_sys::window`, `web_sys::Event` [INFO] [stdout] --> src/web/interactions.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | use web_sys::{console, window, Event}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^ no `Event` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `window` in the root [INFO] [stdout] | no `console` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] crate::window [INFO] [stdout] winit::window [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] winit::event::Event [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | console_log!("Level 2 ready,{:?}", scene.res); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | console_log!("Running level 2"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | console_log!("Page 2 not active"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | console_log!("Ready to run level 2"); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | console_log!("Level 2 ready,{:?}", scene.res); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | console_log!("渲染FPS: {}", self.render_fps); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/shadow.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | console_log!("for_common_vertex: {:?}", for_common_vertex); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | console_log!("Page 2 not active"); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/shadow.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | console_log!("for_common_index: {:?}", for_common_index); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/one_shot_scene.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | console_log!("Demo test is ready"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/mod.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | console_log!("渲染FPS: {}", self.render_fps); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | console_log!("Demo test is ready"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/shadow.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | console_log!("for_common_vertex: {:?}", for_common_vertex); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | console_log!("UpdateScene::run"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | console_log!("Config count: {}", shared.configs.borrow().len()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/level2/shadow.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | console_log!("for_common_index: {:?}", for_common_index); [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | console_log!("Page not active"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/one_shot_scene.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | console_log!("Demo test is ready"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | console_log!(" 渲染FPS: {}", render_fps); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | console_log!("Demo test is ready"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | console_log!("run_all"); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | console_log!("run_all: {}", name); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | console_log!("UpdateScene::run"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | console_log!("run_all end"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | console_log!("Config count: {}", shared.configs.borrow().len()); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/shared/ready_paint.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | console_log!("Scene::new"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | console_log!("Page not active"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/update_scene.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | console_log!(" 渲染FPS: {}", render_fps); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | web_sys::console::log_1(&JsValue::from_str(&format!( [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/mod.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | console_log!("run_all"); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | web_sys::console::log_1(&JsValue::from_str(&format!("着色器源码预览:\n{}", preview))); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | console_log!("run_all: {}", name); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/demos/mod.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | console_log!("run_all end"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | web_sys::console::error_1(&JsValue::from_str(&format!( [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | web_sys::console::error_1(&JsValue::from_str(error)); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] ... [INFO] [stdout] 58 | console_log!("2 split_for_update"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/shared/ready_paint.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | console_log!("Scene::new"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | console_log!("准备canvas_arr"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | console_log!("创建instance成功"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | console_log!("创建adapter成功"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | web_sys::console::log_1(&JsValue::from_str(&format!( [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 27 | web_sys::console::log_1(&JsValue::from_str(&format!("着色器源码预览:\n{}", preview))); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | web_sys::console::error_1(&JsValue::from_str(&format!( [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | console_log!("创建surface成功 : {}", id); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | console_log!("创建总canvas成功"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/shader_debug.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | web_sys::console::error_1(&JsValue::from_str(error)); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] ... [INFO] [stdout] 58 | console_log!("2 split_for_update"); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | console_log!("start"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | console_log!("准备canvas_arr"); [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | console_log!("start async"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | console_log!("创建instance成功"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | console_log!("创建adapter成功"); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | console_log!("next_level"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | console_log!("创建surface成功 : {}", id); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | console_log!("set_page: {:?} , {:?}", name, active); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/web/bridge_canvas.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | console_log!("创建总canvas成功"); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | console_log!("active_pages: {:?}", self.active_pages); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | console_log!("start"); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | console_log!("return_level1"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window` in crate `web_sys` [INFO] [stdout] --> src/demos/level2/mod.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | web_sys::window() [INFO] [stdout] | ^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window` in crate `web_sys` [INFO] [stdout] --> src/demos/update_scene.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | web_sys::window() [INFO] [stdout] | ^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window` in crate `web_sys` [INFO] [stdout] --> src/demos/update_scene.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | web_sys::window() [INFO] [stdout] | ^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HtmlCanvasElement` in crate `web_sys` [INFO] [stdout] --> src/web/bridge_canvas.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn connect_canvas_arr(canvas_arr: Vec) -> (Canvas, Adapter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `one_shot_scene` and `test` [INFO] [stdout] --> src/lib.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use demos::{level2::NextLevelPage, one_shot_scene, test}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `ready_paint::Scene`, and `utils::split` [INFO] [stdout] --> src/demos/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ready_paint::Scene, Shared}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | utils::split, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | App, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/demos/mod.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{cell::RefCell, collections::HashMap, hash::Hash, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::SurfaceTexture` [INFO] [stdout] --> src/demos/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::SurfaceTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/demos/level2/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen` [INFO] [stdout] --> src/demos/level2/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | prelude::{wasm_bindgen, Closure}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_res_mut` [INFO] [stdout] --> src/demos/level2/shadow.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | get_res, get_res_mut, refs_muts, return_res, Mut, Pass, Ready, Ref, Update, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompareFunction` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{util::DeviceExt, CompareFunction, PipelineCompilationOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console_log` and `utils::Vertex` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | console_log, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | shared::ready_paint::{get_res, return_res, Pass, Ready}, [INFO] [stdout] 8 | utils::Vertex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `demos::update_scene::world::generate_matrix` [INFO] [stdout] --> src/demos/level2/shadow/world.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | demos::update_scene::world::generate_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Update` and `get_res_mut` [INFO] [stdout] --> src/demos/level2/spatial_hashing/entity.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::shared::ready_paint::{get_res, get_res_mut, return_res, Pass, Ready, Update}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/demos/level2/union_paint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console_log` [INFO] [stdout] --> src/demos/level2/union_paint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | console_log, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `collections::HashMap` [INFO] [stdout] --> src/demos/update_scene.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/demos/update_scene.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `APP_INSTANCE`, `CubeMesh`, `Gfx`, `HashTypeId2Data`, `create_cube`, `return_res`, and `split` [INFO] [stdout] --> src/demos/update_scene.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | ready_paint::{return_res, Gfx, HashTypeId2Data, Queue, Ready, Scene}, [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | utils::{create_cube, split, split_for_update, CubeMesh, Time}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 22 | APP_INSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::NonZero` [INFO] [stdout] --> src/demos/update_scene/object.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{num::NonZero, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console_log` [INFO] [stdout] --> src/demos/update_scene/object.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | console_log, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/shared/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cell::RefCell, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/web/bridge_canvas.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(features = "webgl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 56 - #[cfg(features = "webgl")] [INFO] [stdout] 56 + #[cfg(feature = "webgl")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::wasm_bindgen` [INFO] [stdout] --> src/web/bridge_canvas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/web/bridge_canvas.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Device` and `Queue` [INFO] [stdout] --> src/web/bridge_canvas.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use wgpu::{Device, Queue, Surface}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/web/bridge_canvas.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backends` [INFO] [stdout] --> src/web/bridge_canvas.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use wgpu::{Adapter, Backends, InstanceDescriptor, RequestAdapterOptions, SurfaceTarget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/web/interactions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Closure` [INFO] [stdout] --> src/lib.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | use wasm_bindgen::prelude::{wasm_bindgen, Closure}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | console_log!("start async"); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | console_log!("next_level"); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | console_log!("set_page: {:?} , {:?}", name, active); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | console_log!("active_pages: {:?}", self.active_pages); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `console` in `web_sys` [INFO] [stdout] --> src/utils/mod.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | web_sys::console::log_1(&format!($($arg)*).into()); [INFO] [stdout] | ^^^^^^^ could not find `console` in `web_sys` [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | console_log!("return_level1"); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `console_log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window` in crate `web_sys` [INFO] [stdout] --> src/demos/level2/mod.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | web_sys::window() [INFO] [stdout] | ^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window` in crate `web_sys` [INFO] [stdout] --> src/demos/update_scene.rs:122:22 [INFO] [stdout] | [INFO] [stdout] 122 | web_sys::window() [INFO] [stdout] | ^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `window` in crate `web_sys` [INFO] [stdout] --> src/demos/update_scene.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | web_sys::window() [INFO] [stdout] | ^^^^^^ not found in `web_sys` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn window() -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] note: the item is gated behind the `Window` feature [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/web-sys-0.3.77/src/lib.rs:34:7 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "Window")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HtmlCanvasElement` in crate `web_sys` [INFO] [stdout] --> src/web/bridge_canvas.rs:20:58 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn connect_canvas_arr(canvas_arr: Vec) -> (Canvas, Adapter) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `one_shot_scene` and `test` [INFO] [stdout] --> src/lib.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | use demos::{level2::NextLevelPage, one_shot_scene, test}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `ready_paint::Scene`, and `utils::split` [INFO] [stdout] --> src/demos/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | shared::{ready_paint::Scene, Shared}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | utils::split, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | App, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/demos/mod.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{cell::RefCell, collections::HashMap, hash::Hash, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wgpu::SurfaceTexture` [INFO] [stdout] --> src/demos/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wgpu::SurfaceTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/demos/level2/mod.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, collections::HashMap, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen` [INFO] [stdout] --> src/demos/level2/mod.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | prelude::{wasm_bindgen, Closure}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_res_mut` [INFO] [stdout] --> src/demos/level2/shadow.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | get_res, get_res_mut, refs_muts, return_res, Mut, Pass, Ready, Ref, Update, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CompareFunction` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use wgpu::{util::DeviceExt, CompareFunction, PipelineCompilationOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `console_log` and `utils::Vertex` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | console_log, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 7 | shared::ready_paint::{get_res, return_res, Pass, Ready}, [INFO] [stdout] 8 | utils::Vertex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `demos::update_scene::world::generate_matrix` [INFO] [stdout] --> src/demos/level2/shadow/world.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | demos::update_scene::world::generate_matrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Update` and `get_res_mut` [INFO] [stdout] --> src/demos/level2/spatial_hashing/entity.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::shared::ready_paint::{get_res, get_res_mut, return_res, Pass, Ready, Update}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/demos/level2/union_paint.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console_log` [INFO] [stdout] --> src/demos/level2/union_paint.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | console_log, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Mutex` and `collections::HashMap` [INFO] [stdout] --> src/demos/update_scene.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | rc::Rc, [INFO] [stdout] 5 | sync::{Arc, Mutex}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/demos/update_scene.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | wasm_bindgen_futures::spawn_local(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasm_bindgen_futures`, use `cargo add wasm_bindgen_futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `APP_INSTANCE`, `CubeMesh`, `Gfx`, `HashTypeId2Data`, `create_cube`, `return_res`, and `split` [INFO] [stdout] --> src/demos/update_scene.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | ready_paint::{return_res, Gfx, HashTypeId2Data, Queue, Ready, Scene}, [INFO] [stdout] | ^^^^^^^^^^ ^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | utils::{create_cube, split, split_for_update, CubeMesh, Time}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ ^^^^^^^^ [INFO] [stdout] 22 | APP_INSTANCE, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::NonZero` [INFO] [stdout] --> src/demos/update_scene/object.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{num::NonZero, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `console_log` [INFO] [stdout] --> src/demos/update_scene/object.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | console_log, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rc::Rc` [INFO] [stdout] --> src/shared/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{cell::RefCell, rc::Rc, sync::Arc}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `features` [INFO] [stdout] --> src/web/bridge_canvas.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | #[cfg(features = "webgl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 56 - #[cfg(features = "webgl")] [INFO] [stdout] 56 + #[cfg(feature = "webgl")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::wasm_bindgen` [INFO] [stdout] --> src/web/bridge_canvas.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::prelude::wasm_bindgen; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::JsCast` [INFO] [stdout] --> src/web/bridge_canvas.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use wasm_bindgen::JsCast; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Device` and `Queue` [INFO] [stdout] --> src/web/bridge_canvas.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use wgpu::{Device, Queue, Surface}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/web/bridge_canvas.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backends` [INFO] [stdout] --> src/web/bridge_canvas.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use wgpu::{Adapter, Backends, InstanceDescriptor, RequestAdapterOptions, SurfaceTarget}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/web/interactions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Closure` [INFO] [stdout] --> src/lib.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | use wasm_bindgen::prelude::{wasm_bindgen, Closure}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | wasm_bindgen_futures::spawn_local(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasm_bindgen_futures`, use `cargo add wasm_bindgen_futures` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Canvas` found for enum `SurfaceTarget` in the current scope [INFO] [stdout] --> src/web/bridge_canvas.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | let surface = unsafe { instance.create_surface(SurfaceTarget::Canvas(canvas.clone())) }; [INFO] [stdout] | ^^^^^^ variant or associated item not found in `SurfaceTarget<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Canvas` found for enum `SurfaceTarget` in the current scope [INFO] [stdout] --> src/web/bridge_canvas.rs:43:71 [INFO] [stdout] | [INFO] [stdout] 43 | let surface = unsafe { instance.create_surface(SurfaceTarget::Canvas(canvas.clone())) }; [INFO] [stdout] | ^^^^^^ variant or associated item not found in `SurfaceTarget<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasm_bindgen_futures`, use `cargo add wasm_bindgen_futures` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ready` [INFO] [stdout] --> src/demos/level2/mod.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | ready_paint::{return_res, Queue, Ready, Scene}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ready` [INFO] [stdout] --> src/demos/update_scene.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | ready_paint::{return_res, Gfx, HashTypeId2Data, Queue, Ready, Scene}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/level2/shadow.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | surface: &std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_uniform_size` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let light_uniform_size = size_of::() as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_uniform_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_common_vertex_buffer` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let for_common_vertex_buffer = scene.for_common_vertex_buffer.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_common_vertex_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_common_index_buffer` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let for_common_index_buffer = scene.for_common_index_buffer.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_common_index_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube_indics_count` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let cube_indics_count = scene.cube_indices_count.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cube_indics_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane_indics_count` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let plane_indics_count = plane.index_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_indics_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/demos/level2/spatial_hashing.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn introduce(scene: &mut super::Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/demos/level2/spatial_hashing/entity.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let id = i as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/demos/level2/spatial_hashing/sapce.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | fn ready(&mut self, data: &mut crate::shared::ready_paint::HashTypeId2Data, gfx: &crate::shared::ready_paint::Gfx) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/demos/level2/spatial_hashing/sapce.rs:13:81 [INFO] [stdout] | [INFO] [stdout] 13 | fn ready(&mut self, data: &mut crate::shared::ready_paint::HashTypeId2Data, gfx: &crate::shared::ready_paint::Gfx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_tracing_surface` [INFO] [stdout] --> src/demos/level2/union_paint.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let ray_tracing_surface = surfaces.ray_tracing_surface.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_tracing_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/level2/union_paint.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut entity_render = get_res_mut::(data); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wasm_bindgen_futures` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wasm_bindgen_futures`, use `cargo add wasm_bindgen_futures` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/object.rs:201:63 [INFO] [stdout] | [INFO] [stdout] 201 | fn update(data: &mut HashTypeId2Data, gfx: &Gfx, dt: f32, surface: &Arc>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpass` [INFO] [stdout] --> src/demos/update_scene/paint.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let mut rpass = TriangleListRender::pass(data, rpass); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpass` [INFO] [stdout] --> src/demos/update_scene/paint.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let mut rpass = NormalTriangleListRender::pass(data, rpass); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vr_scene` [INFO] [stdout] --> src/demos/update_scene/paint.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let vr_scene = get_res::(data); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vr_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpass` [INFO] [stdout] --> src/demos/update_scene/paint.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | let mut rpass = VRScene::pass(data, rpass); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ready` [INFO] [stdout] --> src/demos/level2/mod.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | ready_paint::{return_res, Queue, Ready, Scene}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ready` [INFO] [stdout] --> src/demos/update_scene.rs:18:64 [INFO] [stdout] | [INFO] [stdout] 18 | ready_paint::{return_res, Gfx, HashTypeId2Data, Queue, Ready, Scene}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut rpass = World::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut rpass = World::pass_for_side_view(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | let mut rpass = World::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let mut rpass = TriangleListRender::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut rpass = World::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let mut rpass = NormalTriangleListRender::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | let mut rpass = VRScene::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/world.rs:107:63 [INFO] [stdout] | [INFO] [stdout] 107 | fn update(data: &mut HashTypeId2Data, gfx: &Gfx, dt: f32, surface: &Arc>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/demos/update_scene/world.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_orthographic_matrix(aspect_ratio: f32) -> glam::Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/level2/shadow.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | surface: &std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/triangle_list_render.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | surface: &std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `light_uniform_size` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | let light_uniform_size = size_of::() as wgpu::BufferAddress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_light_uniform_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_common_vertex_buffer` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let for_common_vertex_buffer = scene.for_common_vertex_buffer.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_common_vertex_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `for_common_index_buffer` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let for_common_index_buffer = scene.for_common_index_buffer.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_for_common_index_buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cube_indics_count` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let cube_indics_count = scene.cube_indices_count.as_ref().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cube_indics_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plane_indics_count` [INFO] [stdout] --> src/demos/level2/shadow/depth_texture.rs:203:13 [INFO] [stdout] | [INFO] [stdout] 203 | let plane_indics_count = plane.index_count; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plane_indics_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scene` [INFO] [stdout] --> src/demos/level2/spatial_hashing.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn introduce(scene: &mut super::Scene) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/demos/update_scene/vr.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | data: &mut crate::shared::ready_paint::HashTypeId2Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/demos/update_scene/vr.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | gfx: &crate::shared::ready_paint::Gfx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/demos/update_scene/vr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | dt: f32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/vr.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | surface: &std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/demos/update_scene/vr.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let aspect_ratio = 300.0 / 300.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/demos/level2/spatial_hashing/entity.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | let id = i as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/demos/level2/spatial_hashing/sapce.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | fn ready(&mut self, data: &mut crate::shared::ready_paint::HashTypeId2Data, gfx: &crate::shared::ready_paint::Gfx) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/demos/level2/spatial_hashing/sapce.rs:13:81 [INFO] [stdout] | [INFO] [stdout] 13 | fn ready(&mut self, data: &mut crate::shared::ready_paint::HashTypeId2Data, gfx: &crate::shared::ready_paint::Gfx) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray_tracing_surface` [INFO] [stdout] --> src/demos/level2/union_paint.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let ray_tracing_surface = surfaces.ray_tracing_surface.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ray_tracing_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/level2/union_paint.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | let mut entity_render = get_res_mut::(data); [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/object.rs:201:63 [INFO] [stdout] | [INFO] [stdout] 201 | fn update(data: &mut HashTypeId2Data, gfx: &Gfx, dt: f32, surface: &Arc>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpass` [INFO] [stdout] --> src/demos/update_scene/paint.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | let mut rpass = TriangleListRender::pass(data, rpass); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpass` [INFO] [stdout] --> src/demos/update_scene/paint.rs:214:21 [INFO] [stdout] | [INFO] [stdout] 214 | let mut rpass = NormalTriangleListRender::pass(data, rpass); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vr_scene` [INFO] [stdout] --> src/demos/update_scene/paint.rs:274:13 [INFO] [stdout] | [INFO] [stdout] 274 | let vr_scene = get_res::(data); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vr_scene` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rpass` [INFO] [stdout] --> src/demos/update_scene/paint.rs:303:21 [INFO] [stdout] | [INFO] [stdout] 303 | let mut rpass = VRScene::pass(data, rpass); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rpass` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let mut rpass = World::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let mut rpass = World::pass_for_side_view(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | let mut rpass = World::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | let mut rpass = TriangleListRender::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | let mut rpass = World::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let mut rpass = NormalTriangleListRender::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let mut rpass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/demos/update_scene/paint.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | let mut rpass = VRScene::pass(data, rpass); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/world.rs:107:63 [INFO] [stdout] | [INFO] [stdout] 107 | fn update(data: &mut HashTypeId2Data, gfx: &Gfx, dt: f32, surface: &Arc>) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/demos/update_scene/world.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn generate_orthographic_matrix(aspect_ratio: f32) -> glam::Mat4 { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/triangle_list_render.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | surface: &std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `page-shader-tech` (lib test) due to 44 previous errors; 70 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/demos/update_scene/vr.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | data: &mut crate::shared::ready_paint::HashTypeId2Data, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gfx` [INFO] [stdout] --> src/demos/update_scene/vr.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | gfx: &crate::shared::ready_paint::Gfx, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gfx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dt` [INFO] [stdout] --> src/demos/update_scene/vr.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | dt: f32, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface` [INFO] [stdout] --> src/demos/update_scene/vr.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | surface: &std::sync::Arc>, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aspect_ratio` [INFO] [stdout] --> src/demos/update_scene/vr.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let aspect_ratio = 300.0 / 300.0; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aspect_ratio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/utils/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | let mut encoder = device.create_command_encoder(&wgpu::CommandEncoderDescriptor { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `page-shader-tech` (lib) due to 44 previous errors; 70 warnings emitted [INFO] running `Command { std: "docker" "inspect" "700fd55d0d868f2fdbb3f9d4d97bfcade36402fa99855f58346fc32b827e2e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "700fd55d0d868f2fdbb3f9d4d97bfcade36402fa99855f58346fc32b827e2e26", kill_on_drop: false }` [INFO] [stdout] 700fd55d0d868f2fdbb3f9d4d97bfcade36402fa99855f58346fc32b827e2e26