[INFO] cloning repository https://github.com/profsucrose/rustycraft [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/profsucrose/rustycraft" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofsucrose%2Frustycraft", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofsucrose%2Frustycraft'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 565d3cfd61ffd26d3771bc19075d769027e70adf [INFO] testing profsucrose/rustycraft against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fprofsucrose%2Frustycraft" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/profsucrose/rustycraft [INFO] finished tweaking git repo https://github.com/profsucrose/rustycraft [INFO] tweaked toml for git repo https://github.com/profsucrose/rustycraft written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/profsucrose/rustycraft on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/profsucrose/rustycraft 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded itoa v0.4.7 [INFO] [stderr] Downloaded rand_core v0.6.0 [INFO] [stderr] Downloaded gl v0.10.0 [INFO] [stderr] Downloaded glutin_emscripten_sys v0.1.1 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.7 [INFO] [stderr] Downloaded quote v1.0.8 [INFO] [stderr] Downloaded adjective_adjective_animal v0.1.0 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded version_check v0.9.3 [INFO] [stderr] Downloaded cgmath v0.16.1 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded memmap2 v0.1.0 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded toml v0.5.8 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded lock_api v0.4.5 [INFO] [stderr] Downloaded syn v0.15.44 [INFO] [stderr] Downloaded freetype-rs v0.26.0 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded image v0.19.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.20 [INFO] [stderr] Downloaded parking_lot_core v0.8.5 [INFO] [stderr] Downloaded rusttype v0.9.2 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded ndk v0.3.0 [INFO] [stderr] Downloaded parking_lot v0.11.2 [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.0 [INFO] [stderr] Downloaded rayon v1.5.0 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded gif v0.11.1 [INFO] [stderr] Downloaded png v0.16.8 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded ttf-parser v0.6.2 [INFO] [stderr] Downloaded ndk-glue v0.3.0 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Downloaded nix v0.20.0 [INFO] [stderr] Downloaded memoffset v0.6.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded rayon-core v1.9.0 [INFO] [stderr] Downloaded weezl v0.1.3 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.5 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.5 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.5 [INFO] [stderr] Downloaded wayland-egl v0.28.6 [INFO] [stderr] Downloaded core-foundation v0.9.2 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded freetype-sys v0.13.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded xdg v2.4.0 [INFO] [stderr] Downloaded rand v0.5.6 [INFO] [stderr] Downloaded andrew v0.3.1 [INFO] [stderr] Downloaded calloop v0.6.5 [INFO] [stderr] Downloaded libloading v0.6.7 [INFO] [stderr] Downloaded smithay-client-toolkit v0.12.3 [INFO] [stderr] Downloaded winit v0.25.0 [INFO] [stderr] Downloaded deflate v0.7.20 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded noise v0.7.0 [INFO] [stderr] Downloaded wayland-protocols v0.28.6 [INFO] [stderr] Downloaded smallvec v1.7.0 [INFO] [stderr] Downloaded gif v0.10.3 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded crossbeam-deque v0.8.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.5 [INFO] [stderr] Downloaded rand_xorshift v0.2.0 [INFO] [stderr] Downloaded libc v0.2.106 [INFO] [stderr] Downloaded xcursor v0.3.4 [INFO] [stderr] Downloaded wayland-cursor v0.28.6 [INFO] [stderr] Downloaded wayland-scanner v0.28.6 [INFO] [stderr] Downloaded libloading v0.7.1 [INFO] [stderr] Downloaded dlib v0.5.0 [INFO] [stderr] Downloaded x11-dl v2.19.1 [INFO] [stderr] Downloaded glutin v0.27.0 [INFO] [stderr] Downloaded inflate v0.4.5 [INFO] [stderr] Downloaded png v0.12.0 [INFO] [stderr] Downloaded rand v0.8.0 [INFO] [stderr] Downloaded syn v1.0.58 [INFO] [stderr] Downloaded serde_json v1.0.61 [INFO] [stderr] Downloaded dlib v0.4.2 [INFO] [stderr] Downloaded minimal-lexical v0.1.4 [INFO] [stderr] Downloaded wayland-commons v0.28.6 [INFO] [stderr] Downloaded wayland-sys v0.28.6 [INFO] [stderr] Downloaded wayland-client v0.28.6 [INFO] [stderr] Downloaded proc-macro2 v0.4.30 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded serde v1.0.119 [INFO] [stderr] Downloaded serde_derive v1.0.119 [INFO] [stderr] Downloaded rand_core v0.4.2 [INFO] [stderr] Downloaded shared_library v0.1.9 [INFO] [stderr] Downloaded owned_ttf_parser v0.6.0 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded once_cell v1.8.0 [INFO] [stderr] Downloaded quote v0.6.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9acd93dc53714bd1a7327e5dbac72963bfe456019840dbf967cf1279045f58fd [INFO] running `Command { std: "docker" "start" "-a" "9acd93dc53714bd1a7327e5dbac72963bfe456019840dbf967cf1279045f58fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9acd93dc53714bd1a7327e5dbac72963bfe456019840dbf967cf1279045f58fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9acd93dc53714bd1a7327e5dbac72963bfe456019840dbf967cf1279045f58fd", kill_on_drop: false }` [INFO] [stdout] 9acd93dc53714bd1a7327e5dbac72963bfe456019840dbf967cf1279045f58fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19da36635e7a70f26d7bbeed7b7fd0b4789634fdce050802ea4affff88d31e0a [INFO] running `Command { std: "docker" "start" "-a" "19da36635e7a70f26d7bbeed7b7fd0b4789634fdce050802ea4affff88d31e0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling weezl v0.1.3 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling bytemuck v1.4.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling adjective_adjective_animal v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling freetype-rs v0.26.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.20 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.12 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling noise v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling rustycraft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `glfw` [INFO] [stdout] --> src/opengl/input.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glfw::Key; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `glfw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glfw`, use `cargo add glfw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glfw` [INFO] [stdout] --> src/opengl/camera.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use glfw::{Action, Key}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `glfw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glfw`, use `cargo add glfw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/main.rs:418:26 [INFO] [stdout] | [INFO] [stdout] 418 | &mut window, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `events` in this scope [INFO] [stdout] --> src/main.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 419 | &events, [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `events` in this scope [INFO] [stdout] --> src/main.rs:508:57 [INFO] [stdout] | [INFO] [stdout] 508 | for (_, event) in glfw::flush_messages(&events) { [INFO] [stdout] | ^^^^^^ help: a local variable with a similar name exists: `event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MouseButton` [INFO] [stdout] --> src/main.rs:531:50 [INFO] [stdout] | [INFO] [stdout] 531 | WindowEvent::MouseButton(MouseButton::Button1, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MouseButton` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MouseButton` [INFO] [stdout] --> src/main.rs:539:50 [INFO] [stdout] | [INFO] [stdout] 539 | WindowEvent::MouseButton(MouseButton::Button2, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MouseButton` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/main.rs:556:33 [INFO] [stdout] | [INFO] [stdout] 556 | ... window.set_cursor_mode(CursorMode::Disabled); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/main.rs:560:33 [INFO] [stdout] | [INFO] [stdout] 560 | ... window.set_cursor_mode(CursorMode::Normal); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/main.rs:575:29 [INFO] [stdout] | [INFO] [stdout] 575 | ... window.set_cursor_mode(CursorMode::Disabled); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/main.rs:584:29 [INFO] [stdout] | [INFO] [stdout] 584 | ... window.set_cursor_mode(CursorMode::Normal); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `window` in this scope [INFO] [stdout] --> src/main.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 589 | ... window.set_cursor_mode(match mouse_captured { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MouseButton` [INFO] [stdout] --> src/main.rs:777:38 [INFO] [stdout] | [INFO] [stdout] 777 | WindowEvent::MouseButton(MouseButton::Button1, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MouseButton` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MouseButton` [INFO] [stdout] --> src/main.rs:784:38 [INFO] [stdout] | [INFO] [stdout] 784 | WindowEvent::MouseButton(MouseButton::Button2, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `MouseButton` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 9 + use glutin::event::MouseButton; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path::Path` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fs, path::Path, sync::{Arc, Mutex, mpsc::Receiver}, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::GenericImage` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use image::GenericImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0267]: `continue` inside of a closure [INFO] [stdout] --> src/main.rs:337:21 [INFO] [stdout] | [INFO] [stdout] 188 | el.run(move |event, _, control_flow| { [INFO] [stdout] | ----------------------------- enclosing closure [INFO] [stdout] ... [INFO] [stdout] 337 | continue; [INFO] [stdout] | ^^^^^^^^ cannot `continue` inside of a closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0267]: `continue` inside of a closure [INFO] [stdout] --> src/main.rs:614:21 [INFO] [stdout] | [INFO] [stdout] 188 | el.run(move |event, _, control_flow| { [INFO] [stdout] | ----------------------------- enclosing closure [INFO] [stdout] ... [INFO] [stdout] 614 | continue; [INFO] [stdout] | ^^^^^^^^ cannot `continue` inside of a closure [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glfw` [INFO] [stdout] --> src/main.rs:508:35 [INFO] [stdout] | [INFO] [stdout] 508 | for (_, event) in glfw::flush_messages(&events) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `glfw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glfw`, use `cargo add glfw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FramebufferSize` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:510:38 [INFO] [stdout] | [INFO] [stdout] 510 | WindowEvent::FramebufferSize(width, height) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Scroll` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:513:38 [INFO] [stdout] | [INFO] [stdout] 513 | WindowEvent::Scroll(_, y_offset) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CursorPos` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:516:38 [INFO] [stdout] | [INFO] [stdout] 516 | WindowEvent::CursorPos(xpos, ypos) => { [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MouseButton` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:531:38 [INFO] [stdout] | [INFO] [stdout] 531 | WindowEvent::MouseButton(MouseButton::Button1, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MouseButton` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:539:38 [INFO] [stdout] | [INFO] [stdout] 539 | WindowEvent::MouseButton(MouseButton::Button2, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:551:38 [INFO] [stdout] | [INFO] [stdout] 551 | WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:565:38 [INFO] [stdout] | [INFO] [stdout] 565 | WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:566:38 [INFO] [stdout] | [INFO] [stdout] 566 | WindowEvent::Key(Key::F1, _, Action::Press, _) => show_gui = !show_gui, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:567:38 [INFO] [stdout] | [INFO] [stdout] 567 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) if server_chat_opened => shift_pressed = true, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:568:38 [INFO] [stdout] | [INFO] [stdout] 568 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) if server_chat_opened => shift_pressed = false, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:569:38 [INFO] [stdout] | [INFO] [stdout] 569 | WindowEvent::Key(Key::Enter, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:578:38 [INFO] [stdout] | [INFO] [stdout] 578 | WindowEvent::Key(key, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | WindowEvent::Key(Key::T, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:587:38 [INFO] [stdout] | [INFO] [stdout] 587 | WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:594:38 [INFO] [stdout] | [INFO] [stdout] 594 | WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:599:38 [INFO] [stdout] | [INFO] [stdout] 599 | WindowEvent::Key(Key::Down, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:604:38 [INFO] [stdout] | [INFO] [stdout] 604 | WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:605:38 [INFO] [stdout] | [INFO] [stdout] 605 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:606:38 [INFO] [stdout] | [INFO] [stdout] 606 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:607:38 [INFO] [stdout] | [INFO] [stdout] 607 | WindowEvent::Key(key, _, action, _) => player.camera.process_keyboard(key, action), [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:556:56 [INFO] [stdout] | [INFO] [stdout] 556 | ... window.set_cursor_mode(CursorMode::Disabled); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:560:56 [INFO] [stdout] | [INFO] [stdout] 560 | ... window.set_cursor_mode(CursorMode::Normal); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:575:52 [INFO] [stdout] | [INFO] [stdout] 575 | ... window.set_cursor_mode(CursorMode::Disabled); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:584:52 [INFO] [stdout] | [INFO] [stdout] 584 | ... window.set_cursor_mode(CursorMode::Normal); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:590:41 [INFO] [stdout] | [INFO] [stdout] 590 | ... true => CursorMode::Disabled, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:591:42 [INFO] [stdout] | [INFO] [stdout] 591 | ... false => CursorMode::Normal [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glfw` [INFO] [stdout] --> src/main.rs:739:23 [INFO] [stdout] | [INFO] [stdout] 739 | for (_, event) in glfw::flush_messages(events) { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `glfw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glfw`, use `cargo add glfw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `FramebufferSize` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:741:26 [INFO] [stdout] | [INFO] [stdout] 741 | WindowEvent::FramebufferSize(width, height) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Scroll` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:744:26 [INFO] [stdout] | [INFO] [stdout] 744 | WindowEvent::Scroll(_, y_offset) => { [INFO] [stdout] | ^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `CursorPos` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:747:26 [INFO] [stdout] | [INFO] [stdout] 747 | WindowEvent::CursorPos(xpos, ypos) => { [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:764:26 [INFO] [stdout] | [INFO] [stdout] 764 | WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:765:26 [INFO] [stdout] | [INFO] [stdout] 765 | WindowEvent::Key(Key::F1, _, Action::Press, _) => *show_gui = !*show_gui, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MouseButton` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:777:26 [INFO] [stdout] | [INFO] [stdout] 777 | WindowEvent::MouseButton(MouseButton::Button1, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `MouseButton` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:784:26 [INFO] [stdout] | [INFO] [stdout] 784 | WindowEvent::MouseButton(MouseButton::Button2, Action::Press, _) => { [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:800:26 [INFO] [stdout] | [INFO] [stdout] 800 | WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:801:26 [INFO] [stdout] | [INFO] [stdout] 801 | WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:806:26 [INFO] [stdout] | [INFO] [stdout] 806 | WindowEvent::Key(Key::Down, _, Action::Press, _) => if *current_block_index > 0 { *current_block_index -= 1 }, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:807:26 [INFO] [stdout] | [INFO] [stdout] 807 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:808:26 [INFO] [stdout] | [INFO] [stdout] 808 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:809:26 [INFO] [stdout] | [INFO] [stdout] 809 | WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:816:26 [INFO] [stdout] | [INFO] [stdout] 816 | WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `Key` found for enum `glutin::event::WindowEvent<'a>` in the current scope [INFO] [stdout] --> src/main.rs:823:26 [INFO] [stdout] | [INFO] [stdout] 823 | WindowEvent::Key(key, _, action, _) => player.camera.process_keyboard(key, action), [INFO] [stdout] | ^^^ variant or associated item not found in `glutin::event::WindowEvent<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:812:40 [INFO] [stdout] | [INFO] [stdout] 812 | window.set_cursor_mode(CursorMode::Normal); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:819:29 [INFO] [stdout] | [INFO] [stdout] 819 | true => CursorMode::Disabled, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CursorMode` [INFO] [stdout] --> src/main.rs:820:30 [INFO] [stdout] | [INFO] [stdout] 820 | false => CursorMode::Normal [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `CursorMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:807:30 [INFO] [stdout] | [INFO] [stdout] 807 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 807 - WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] 807 + WindowEvent::Key(glutin::event::DeviceEvent::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:531:72 [INFO] [stdout] | [INFO] [stdout] 531 | WindowEvent::MouseButton(MouseButton::Button1, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:539:72 [INFO] [stdout] | [INFO] [stdout] 539 | WindowEvent::MouseButton(MouseButton::Button2, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:551:42 [INFO] [stdout] | [INFO] [stdout] 551 | WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 551 - WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] 551 + WindowEvent::Key(glutin::event::DeviceEvent::Escape, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:551:58 [INFO] [stdout] | [INFO] [stdout] 551 | WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:807:49 [INFO] [stdout] | [INFO] [stdout] 807 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:816:49 [INFO] [stdout] | [INFO] [stdout] 816 | WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 565 - WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] 565 + WindowEvent::Key(glutin::event::DeviceEvent::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:565:54 [INFO] [stdout] | [INFO] [stdout] 565 | WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:566:42 [INFO] [stdout] | [INFO] [stdout] 566 | WindowEvent::Key(Key::F1, _, Action::Press, _) => show_gui = !show_gui, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 566 - WindowEvent::Key(Key::F1, _, Action::Press, _) => show_gui = !show_gui, [INFO] [stdout] 566 + WindowEvent::Key(glutin::event::DeviceEvent::F1, _, Action::Press, _) => show_gui = !show_gui, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:566:54 [INFO] [stdout] | [INFO] [stdout] 566 | WindowEvent::Key(Key::F1, _, Action::Press, _) => show_gui = !show_gui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:567:42 [INFO] [stdout] | [INFO] [stdout] 567 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) if server_chat_opened => shift_pressed = true, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 567 - WindowEvent::Key(Key::LeftShift, _, Action::Press, _) if server_chat_opened => shift_pressed = true, [INFO] [stdout] 567 + WindowEvent::Key(glutin::event::DeviceEvent::LeftShift, _, Action::Press, _) if server_chat_opened => shift_pressed = true, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:567:61 [INFO] [stdout] | [INFO] [stdout] 567 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) if server_chat_opened => shift_pressed = true, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:568:42 [INFO] [stdout] | [INFO] [stdout] 568 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) if server_chat_opened => shift_pressed = false, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 568 - WindowEvent::Key(Key::LeftShift, _, Action::Release, _) if server_chat_opened => shift_pressed = false, [INFO] [stdout] 568 + WindowEvent::Key(glutin::event::DeviceEvent::LeftShift, _, Action::Release, _) if server_chat_opened => shift_pressed = false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:568:61 [INFO] [stdout] | [INFO] [stdout] 568 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) if server_chat_opened => shift_pressed = false, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:569:42 [INFO] [stdout] | [INFO] [stdout] 569 | WindowEvent::Key(Key::Enter, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 569 - WindowEvent::Key(Key::Enter, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] 569 + WindowEvent::Key(glutin::event::DeviceEvent::Enter, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:569:57 [INFO] [stdout] | [INFO] [stdout] 569 | WindowEvent::Key(Key::Enter, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:816:30 [INFO] [stdout] | [INFO] [stdout] 816 | WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 816 - WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] 816 + WindowEvent::Key(glutin::event::DeviceEvent::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:578:50 [INFO] [stdout] | [INFO] [stdout] 578 | WindowEvent::Key(key, _, Action::Press, _) if server_chat_opened => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:581:42 [INFO] [stdout] | [INFO] [stdout] 581 | WindowEvent::Key(Key::T, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 581 - WindowEvent::Key(Key::T, _, Action::Press, _) => { [INFO] [stdout] 581 + WindowEvent::Key(glutin::event::DeviceEvent::T, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:581:53 [INFO] [stdout] | [INFO] [stdout] 581 | WindowEvent::Key(Key::T, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:808:30 [INFO] [stdout] | [INFO] [stdout] 808 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 808 - WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] 808 + WindowEvent::Key(glutin::event::DeviceEvent::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:587:42 [INFO] [stdout] | [INFO] [stdout] 587 | WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 587 - WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] 587 + WindowEvent::Key(glutin::event::DeviceEvent::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:587:61 [INFO] [stdout] | [INFO] [stdout] 587 | WindowEvent::Key(Key::LeftSuper, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:809:46 [INFO] [stdout] | [INFO] [stdout] 809 | WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:809:30 [INFO] [stdout] | [INFO] [stdout] 809 | WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 809 - WindowEvent::Key(Key::Escape, _, Action::Press, _) => { [INFO] [stdout] 809 + WindowEvent::Key(glutin::event::DeviceEvent::Escape, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:594:42 [INFO] [stdout] | [INFO] [stdout] 594 | WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 594 - WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] 594 + WindowEvent::Key(glutin::event::DeviceEvent::Up, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:594:54 [INFO] [stdout] | [INFO] [stdout] 594 | WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:599:42 [INFO] [stdout] | [INFO] [stdout] 599 | WindowEvent::Key(Key::Down, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 599 - WindowEvent::Key(Key::Down, _, Action::Press, _) => { [INFO] [stdout] 599 + WindowEvent::Key(glutin::event::DeviceEvent::Down, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:599:56 [INFO] [stdout] | [INFO] [stdout] 599 | WindowEvent::Key(Key::Down, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:604:42 [INFO] [stdout] | [INFO] [stdout] 604 | WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 604 - WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] 604 + WindowEvent::Key(glutin::event::DeviceEvent::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:604:57 [INFO] [stdout] | [INFO] [stdout] 604 | WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:605:42 [INFO] [stdout] | [INFO] [stdout] 605 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 605 - WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] 605 + WindowEvent::Key(glutin::event::DeviceEvent::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:605:61 [INFO] [stdout] | [INFO] [stdout] 605 | WindowEvent::Key(Key::LeftShift, _, Action::Press, _) => player.camera.speed = 0.05, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:606:42 [INFO] [stdout] | [INFO] [stdout] 606 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 606 - WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] 606 + WindowEvent::Key(glutin::event::DeviceEvent::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustycraft` (bin "rustycraft") due to 113 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:606:61 [INFO] [stdout] | [INFO] [stdout] 606 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glfw` [INFO] [stdout] --> src/main.rs:738:32 [INFO] [stdout] | [INFO] [stdout] 738 | fn process_events(window: &mut glfw::Window, events: &Receiver<(f64, glfw::WindowEvent)>, show_gui: &mut bool, mouse_captured: &mut... [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `glfw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glfw`, use `cargo add glfw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `glfw` [INFO] [stdout] --> src/main.rs:738:70 [INFO] [stdout] | [INFO] [stdout] 738 | fn process_events(window: &mut glfw::Window, events: &Receiver<(f64, glfw::WindowEvent)>, show_gui: &mut bool, mouse_captured: &mut... [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `glfw` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `glfw`, use `cargo add glfw` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:808:49 [INFO] [stdout] | [INFO] [stdout] 808 | WindowEvent::Key(Key::LeftShift, _, Action::Release, _) => player.camera.speed = 0.008, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:764:30 [INFO] [stdout] | [INFO] [stdout] 764 | WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 764 - WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] 764 + WindowEvent::Key(glutin::event::DeviceEvent::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:764:42 [INFO] [stdout] | [INFO] [stdout] 764 | WindowEvent::Key(Key::F3, _, Action::Press, _) => player.toggle_camera(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:765:30 [INFO] [stdout] | [INFO] [stdout] 765 | WindowEvent::Key(Key::F1, _, Action::Press, _) => *show_gui = !*show_gui, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 765 - WindowEvent::Key(Key::F1, _, Action::Press, _) => *show_gui = !*show_gui, [INFO] [stdout] 765 + WindowEvent::Key(glutin::event::DeviceEvent::F1, _, Action::Press, _) => *show_gui = !*show_gui, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:765:42 [INFO] [stdout] | [INFO] [stdout] 765 | WindowEvent::Key(Key::F1, _, Action::Press, _) => *show_gui = !*show_gui, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:777:60 [INFO] [stdout] | [INFO] [stdout] 777 | WindowEvent::MouseButton(MouseButton::Button1, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:784:60 [INFO] [stdout] | [INFO] [stdout] 784 | WindowEvent::MouseButton(MouseButton::Button2, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:800:30 [INFO] [stdout] | [INFO] [stdout] 800 | WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 800 - WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] 800 + WindowEvent::Key(glutin::event::DeviceEvent::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:800:45 [INFO] [stdout] | [INFO] [stdout] 800 | WindowEvent::Key(Key::Space, _, Action::Press, _) => player.jump(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:801:30 [INFO] [stdout] | [INFO] [stdout] 801 | WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 801 - WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] 801 + WindowEvent::Key(glutin::event::DeviceEvent::Up, _, Action::Press, _) => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:801:42 [INFO] [stdout] | [INFO] [stdout] 801 | WindowEvent::Key(Key::Up, _, Action::Press, _) => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/main.rs:806:30 [INFO] [stdout] | [INFO] [stdout] 806 | WindowEvent::Key(Key::Down, _, Action::Press, _) => if *current_block_index > 0 { *current_block_index -= 1 }, [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `glutin::event::DeviceEvent::Key`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 806 - WindowEvent::Key(Key::Down, _, Action::Press, _) => if *current_block_index > 0 { *current_block_index -= 1 }, [INFO] [stdout] 806 + WindowEvent::Key(glutin::event::DeviceEvent::Down, _, Action::Press, _) => if *current_block_index > 0 { *current_block_index -= 1 }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> src/main.rs:806:44 [INFO] [stdout] | [INFO] [stdout] 806 | WindowEvent::Key(Key::Down, _, Action::Press, _) => if *current_block_index > 0 { *current_block_index -= 1 }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Action` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0267, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0267`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19da36635e7a70f26d7bbeed7b7fd0b4789634fdce050802ea4affff88d31e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19da36635e7a70f26d7bbeed7b7fd0b4789634fdce050802ea4affff88d31e0a", kill_on_drop: false }` [INFO] [stdout] 19da36635e7a70f26d7bbeed7b7fd0b4789634fdce050802ea4affff88d31e0a