[INFO] cloning repository https://github.com/S190762/dissertation-s190762 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S190762/dissertation-s190762" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS190762%2Fdissertation-s190762", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS190762%2Fdissertation-s190762'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a303f83f4994d8d827e122b41854355c6fbe5475 [INFO] checking S190762/dissertation-s190762 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS190762%2Fdissertation-s190762" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S190762/dissertation-s190762 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/S190762/dissertation-s190762 [INFO] removed path dependency imgui from git repo https://github.com/S190762/dissertation-s190762 [INFO] removed path dependency imgui-glium-renderer from git repo https://github.com/S190762/dissertation-s190762 [INFO] removed path dependency imgui-sys from git repo https://github.com/S190762/dissertation-s190762 [INFO] removed path dependency imgui-winit-support from git repo https://github.com/S190762/dissertation-s190762 [INFO] finished tweaking git repo https://github.com/S190762/dissertation-s190762 [INFO] tweaked toml for git repo https://github.com/S190762/dissertation-s190762 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/S190762/dissertation-s190762 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (imgui) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-glium-renderer) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-winit-support) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (imgui) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-glium-renderer) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-winit-support) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 03547c67cf18168e95ecdb6dadf45cb8c902771d400d7c9c0bae9b4a0b342145 [INFO] running `Command { std: "docker" "start" "-a" "03547c67cf18168e95ecdb6dadf45cb8c902771d400d7c9c0bae9b4a0b342145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03547c67cf18168e95ecdb6dadf45cb8c902771d400d7c9c0bae9b4a0b342145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03547c67cf18168e95ecdb6dadf45cb8c902771d400d7c9c0bae9b4a0b342145", kill_on_drop: false }` [INFO] [stdout] 03547c67cf18168e95ecdb6dadf45cb8c902771d400d7c9c0bae9b4a0b342145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c888b3e27984e2aaac28aeb58824ef63aa459ded5b7ea56b0fcd70970a4d247c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c888b3e27984e2aaac28aeb58824ef63aa459ded5b7ea56b0fcd70970a4d247c", kill_on_drop: false }` [INFO] [stderr] warning: dependency (imgui) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-glium-renderer) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-sys) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (imgui-winit-support) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking weezl v0.1.3 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling wayland-sys v0.28.3 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling nom v6.0.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling imgui-sys v0.6.0 [INFO] [stderr] Compiling imgui-sys v0.0.23 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking libloading v0.6.6 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling nfd v0.0.4 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking x11-dl v2.18.5 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling wayland-scanner v0.28.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tynm v0.1.6 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Compiling glium v0.23.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glium v0.29.0 [INFO] [stderr] Checking rand_distr v0.3.0 [INFO] [stderr] Compiling wayland-client v0.28.3 [INFO] [stderr] Compiling wayland-protocols v0.28.3 [INFO] [stderr] Checking wayland-commons v0.28.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking wayland-cursor v0.28.3 [INFO] [stderr] Checking wayland-egl v0.28.3 [INFO] [stderr] Checking image v0.23.12 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling shred-derive v0.6.3 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking shred v0.11.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking smithay-client-toolkit v0.12.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking ron v0.6.4 [INFO] [stderr] Checking simba v0.3.1 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking nalgebra v0.23.2 [INFO] [stderr] Checking nalgebra v0.24.0 [INFO] [stderr] Checking imgui v0.6.1 [INFO] [stderr] Checking imgui-winit-support v0.6.1 [INFO] [stderr] Checking imgui-glium-renderer v0.6.1 [INFO] [stderr] Checking ncollide2d v0.26.1 [INFO] [stderr] Checking nphysics2d v0.18.0 [INFO] [stderr] Checking dissertation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `imgui::ImGuiCol` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use imgui::ImGuiCol; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `ImGuiCol` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::glutin::VirtualKeyCode` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | glutin::VirtualKeyCode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glutin::ContextTrait` [INFO] [stdout] --> src/eng/core/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::ContextTrait; [INFO] [stdout] | ^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `ContextError` [INFO] [stdout] | no `ContextTrait` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `imgui::ImGui` [INFO] [stdout] --> src/eng/core/input_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use imgui::ImGui; [INFO] [stdout] | ^^^^^^^^^^^^ no `ImGui` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/core/level.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{U64Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{U64Marker, MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `imgui::FontGlyphRange`, `imgui::FrameSize`, `imgui::ImFontConfig`, `imgui::ImGui`, `imgui::ImGuiCond`, `imgui::ImTexture`, `imgui::ImVec4` [INFO] [stdout] --> src/eng/gfx/gui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | FontGlyphRange, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `FontGlyphRange` in the root [INFO] [stdout] 8 | FrameSize, [INFO] [stdout] | ^^^^^^^^^ no `FrameSize` in the root [INFO] [stdout] 9 | ImFontConfig, [INFO] [stdout] | ^^^^^^^^^^^^ no `ImFontConfig` in the root [INFO] [stdout] 10 | ImGui, [INFO] [stdout] | ^^^^^ no `ImGui` in the root [INFO] [stdout] 11 | ImGuiCond, [INFO] [stdout] | ^^^^^^^^^ no `ImGuiCond` in the root [INFO] [stdout] 12 | ImTexture, [INFO] [stdout] | ^^^^^^^^^ no `ImTexture` in the root [INFO] [stdout] 13 | ImVec4, [INFO] [stdout] | ^^^^^^ no `ImVec4` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | FontGlyphRanges, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 9 | FontConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | Textures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::glutin::Event` [INFO] [stdout] --> src/eng/gfx/gui.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | glutin::Event, [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/components/action.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | U64Marker, [INFO] [stdout] | ^^^^^^^^^ no `U64Marker` in `saveload` [INFO] [stdout] 5 | U64MarkerAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 | Marker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | MarkerAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/systems/action.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | saveload::{DeserializeComponents, SerializeComponents, U64Marker, U64MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | saveload::{DeserializeComponents, SerializeComponents, Marker, U64MarkerAllocator} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | saveload::{DeserializeComponents, SerializeComponents, U64Marker, MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/world.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{U64Marker,U64MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{Marker,U64MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{U64Marker,MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `imgui::ImGuiCol` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use imgui::ImGuiCol; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `ImGuiCol` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::glutin::VirtualKeyCode` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | glutin::VirtualKeyCode [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glutin::ContextTrait` [INFO] [stdout] --> src/eng/core/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use glutin::ContextTrait; [INFO] [stdout] | ^^^^^^^^------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `ContextError` [INFO] [stdout] | no `ContextTrait` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `imgui::ImGui` [INFO] [stdout] --> src/eng/core/input_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use imgui::ImGui; [INFO] [stdout] | ^^^^^^^^^^^^ no `ImGui` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/core/level.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{U64Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{U64Marker, MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `imgui::FontGlyphRange`, `imgui::FrameSize`, `imgui::ImFontConfig`, `imgui::ImGui`, `imgui::ImGuiCond`, `imgui::ImTexture`, `imgui::ImVec4` [INFO] [stdout] --> src/eng/gfx/gui.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | FontGlyphRange, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `FontGlyphRange` in the root [INFO] [stdout] 8 | FrameSize, [INFO] [stdout] | ^^^^^^^^^ no `FrameSize` in the root [INFO] [stdout] 9 | ImFontConfig, [INFO] [stdout] | ^^^^^^^^^^^^ no `ImFontConfig` in the root [INFO] [stdout] 10 | ImGui, [INFO] [stdout] | ^^^^^ no `ImGui` in the root [INFO] [stdout] 11 | ImGuiCond, [INFO] [stdout] | ^^^^^^^^^ no `ImGuiCond` in the root [INFO] [stdout] 12 | ImTexture, [INFO] [stdout] | ^^^^^^^^^ no `ImTexture` in the root [INFO] [stdout] 13 | ImVec4, [INFO] [stdout] | ^^^^^^ no `ImVec4` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | FontGlyphRanges, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 9 | FontConfig, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 12 | Textures, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `glium::glutin::Event` [INFO] [stdout] --> src/eng/gfx/gui.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | glutin::Event, [INFO] [stdout] | ^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `event` [INFO] [stdout] | no `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/components/action.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | U64Marker, [INFO] [stdout] | ^^^^^^^^^ no `U64Marker` in `saveload` [INFO] [stdout] 5 | U64MarkerAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 4 | Marker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 5 | MarkerAllocator, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/systems/action.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:16:60 [INFO] [stdout] | [INFO] [stdout] 16 | saveload::{DeserializeComponents, SerializeComponents, U64Marker, U64MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | saveload::{DeserializeComponents, SerializeComponents, Marker, U64MarkerAllocator} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 16 | saveload::{DeserializeComponents, SerializeComponents, U64Marker, MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `specs::saveload::U64Marker`, `specs::saveload::U64MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/world.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{U64Marker,U64MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `U64MarkerAllocator` in `saveload` [INFO] [stdout] | | [INFO] [stdout] | no `U64Marker` in `saveload` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{Marker,U64MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{U64Marker,MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EventsLoop` in `glutin` [INFO] [stdout] --> src/eng/core/context.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | let mut el = glutin::EventsLoop::new(); [INFO] [stdout] | ^^^^^^^^^^ could not find `EventsLoop` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `EventsLoop` in `glutin` [INFO] [stdout] --> src/eng/core/context.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | let mut el = glutin::EventsLoop::new(); [INFO] [stdout] | ^^^^^^^^^^ could not find `EventsLoop` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowEvent` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | glutin::WindowEvent::CloseRequested => *quit = true, [INFO] [stdout] | ^^^^^^^^^^^ could not find `WindowEvent` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowEvent` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | glutin::WindowEvent::KeyboardInput{input, ..} => input, [INFO] [stdout] | ^^^^^^^^^^^ could not find `WindowEvent` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | let pressed = input.state == glutin::ElementState::Pressed; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | glutin::VirtualKeyCode::Q => *quit = true, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowEvent` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | glutin::WindowEvent::CloseRequested => *quit = true, [INFO] [stdout] | ^^^^^^^^^^^ could not find `WindowEvent` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowEvent` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | glutin::WindowEvent::KeyboardInput{input, ..} => input, [INFO] [stdout] | ^^^^^^^^^^^ could not find `WindowEvent` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ElementState` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | let pressed = input.state == glutin::ElementState::Pressed; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `ElementState` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:54:21 [INFO] [stdout] | [INFO] [stdout] 54 | glutin::VirtualKeyCode::Q => *quit = true, [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `VirtualKeyCode` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/eng/core/game.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | glutin::Event::WindowEvent {event, ..} => match event { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Event` in `glutin` [INFO] [stdout] --> src/eng/core/game.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | glutin::Event::WindowEvent {event, ..} => match event { [INFO] [stdout] | ^^^^^ could not find `Event` in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventsLoop` in crate `glutin` [INFO] [stdout] --> src/eng/core/context.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub events_loop: glutin::EventsLoop, [INFO] [stdout] | ^^^^^^^^^^ not found in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/eng/core/context.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let wb = glutin::WindowBuilder::new().with_title(cfg.window_title).with_dimensions((cfg.window_size.0, cfg.window_size.1).into()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | pressed_keys: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn process_ui(&mut self, event: &glutin::Event) { [INFO] [stdout] | ^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::wl_keyboard::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::wl_seat::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::wl_surface::Event; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowEvent` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn process_input(&mut self, input: &RefInputManager, event: &glutin::WindowEvent, quit: &mut bool) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::WindowEvent; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::WindowEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_key_pressed(&self, key: glutin::VirtualKeyCode) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update_key(&mut self, key: glutin::VirtualKeyCode, pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `configure_keys` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | imgui_winit_support::configure_keys(&mut imgui); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_event` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | imgui_winit_support::handle_event( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_mouse_cursor` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | imgui_winit_support::update_mouse_cursor(&self.imgui, &ctx.display.gl_window()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_frame_size` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | let frame_size = imgui_winit_support::get_frame_size(&ctx.display.gl_window(), self.hidpi_factor).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/ecs/components/input.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub actions: Vec<(glutin::VirtualKeyCode, JustPressed, Actions)> [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/ecs/components/input.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(inputs: Vec<(glutin::VirtualKeyCode, JustPressed, Actions)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | Ron(ron::ser::Error) [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.6.4/src/ser/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for Combined { [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.6.4/src/ser/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(x: ron::ser::Error) -> Self { [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.6.4/src/ser/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventsLoop` in crate `glutin` [INFO] [stdout] --> src/eng/core/context.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | pub events_loop: glutin::EventsLoop, [INFO] [stdout] | ^^^^^^^^^^ not found in `glutin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `WindowBuilder` in `glutin` [INFO] [stdout] --> src/eng/core/context.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let wb = glutin::WindowBuilder::new().with_title(cfg.window_title).with_dimensions((cfg.window_size.0, cfg.window_size.1).into()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::window::WindowBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | pressed_keys: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Event` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:35:50 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn process_ui(&mut self, event: &glutin::Event) { [INFO] [stdout] | ^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::wl_keyboard::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::wl_seat::Event; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::ecs::systems::input::glutin::window::platform_impl::wayland::seat::keyboard::keyboard::wl_surface::Event; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WindowEvent` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:38:79 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn process_input(&mut self, input: &RefInputManager, event: &glutin::WindowEvent, quit: &mut bool) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::WindowEvent; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::WindowEvent; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn is_key_pressed(&self, key: glutin::VirtualKeyCode) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/core/input_manager.rs:75:47 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn update_key(&mut self, key: glutin::VirtualKeyCode, pressed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `configure_keys` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | imgui_winit_support::configure_keys(&mut imgui); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_event` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | imgui_winit_support::handle_event( [INFO] [stdout] | ^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_mouse_cursor` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | imgui_winit_support::update_mouse_cursor(&self.imgui, &ctx.display.gl_window()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_frame_size` in crate `imgui_winit_support` [INFO] [stdout] --> src/eng/gfx/gui.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | let frame_size = imgui_winit_support::get_frame_size(&ctx.display.gl_window(), self.hidpi_factor).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `imgui_winit_support` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/ecs/components/input.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub actions: Vec<(glutin::VirtualKeyCode, JustPressed, Actions)> [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VirtualKeyCode` in crate `glutin` [INFO] [stdout] --> src/eng/ecs/components/input.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(inputs: Vec<(glutin::VirtualKeyCode, JustPressed, Actions)>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `glutin` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::eng::gfx::gui::imgui_winit_support::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] 1 | use winit::event::VirtualKeyCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | Ron(ron::ser::Error) [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.6.4/src/ser/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | impl From for Combined { [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.6.4/src/ser/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Surface` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use glium::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Error` is private [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:37:26 [INFO] [stdout] | [INFO] [stdout] 37 | fn from(x: ron::ser::Error) -> Self { [INFO] [stdout] | ^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.6.4/src/ser/mod.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::*` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use imgui::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::glutin` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use glium::glutin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constants`, `resource_manager::RefResourceManager`, `resource_manager::ResourceManager` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | resource_manager::RefResourceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | resource_manager::ResourceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | constants [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | glutin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | collections::VecDeque [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::*` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use imgui::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::core::input_manager::RefInputManager` [INFO] [stdout] --> src/eng/core/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::eng::core::input_manager::RefInputManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/eng/core/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::core::context::Context` [INFO] [stdout] --> src/eng/core/input_manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::eng::core::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::gfx::gui::GUI` [INFO] [stdout] --> src/eng/core/input_manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::eng::gfx::gui::GUI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Cursor`, `io::prelude::*`, `io` [INFO] [stdout] --> src/eng/core/resource_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | io, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | collections::HashMap, [INFO] [stdout] 14 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | io::Cursor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::RawImage2d` [INFO] [stdout] --> src/eng/core/resource_manager.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use glium::texture::RawImage2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::Texture2d` [INFO] [stdout] --> src/eng/core/resource_manager.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use glium::texture::Texture2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageBuffer` [INFO] [stdout] --> src/eng/core/resource_manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world` [INFO] [stdout] --> src/eng/core/level.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | world [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `Marker` [INFO] [stdout] --> src/eng/core/level.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | saveload::{U64Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/eng/core/level.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Write [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_scene::GameScene` [INFO] [stdout] --> src/eng/core/game.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | game_scene::GameScene [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::core::resource_manager::RefResourceManager` [INFO] [stdout] --> src/eng/core/game.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::eng::core::resource_manager::RefResourceManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/eng/core/game.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ui`, `Window` [INFO] [stdout] --> src/eng/gfx/gui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Ui, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | Window [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Display`, `Facade`, `Surface`, `Texture2d`, `glutin` [INFO] [stdout] --> src/eng/gfx/gui.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | backend::{Context, Facade}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 19 | Texture2d, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | glutin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | glutin::Event, [INFO] [stdout] 23 | Surface [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eng/gfx/gui.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read` [INFO] [stdout] --> src/eng/gfx/gui.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MarkerAllocator`, `Marker` [INFO] [stdout] --> src/eng/ecs/components/action.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Marker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | MarkerAllocator [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `action::Actions`, `input_manager::JustPressed` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | input_manager::JustPressed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | action::Actions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Deserialize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | Serialize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs_derive::Component` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use specs_derive::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::glutin` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use glium::glutin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `System` [INFO] [stdout] --> src/eng/ecs/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/eng/cfg/level_cfg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::Surface` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use glium::Surface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::*` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use imgui::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::glutin` [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use glium::glutin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constants`, `resource_manager::RefResourceManager`, `resource_manager::ResourceManager` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | resource_manager::RefResourceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | resource_manager::ResourceManager, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | constants [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glutin` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | glutin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::VecDeque` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | collections::VecDeque [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imgui::*` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use imgui::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::core::input_manager::RefInputManager` [INFO] [stdout] --> src/eng/core/context.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::eng::core::input_manager::RefInputManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::Borrow` [INFO] [stdout] --> src/eng/core/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use core::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::core::context::Context` [INFO] [stdout] --> src/eng/core/input_manager.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::eng::core::context::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::gfx::gui::GUI` [INFO] [stdout] --> src/eng/core/input_manager.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::eng::gfx::gui::GUI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Cursor`, `io::prelude::*`, `io` [INFO] [stdout] --> src/eng/core/resource_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | io, [INFO] [stdout] | ^^ [INFO] [stdout] 12 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | collections::HashMap, [INFO] [stdout] 14 | io::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | io::Cursor [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::RawImage2d` [INFO] [stdout] --> src/eng/core/resource_manager.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use glium::texture::RawImage2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::texture::Texture2d` [INFO] [stdout] --> src/eng/core/resource_manager.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use glium::texture::Texture2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::ImageBuffer` [INFO] [stdout] --> src/eng/core/resource_manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use image::ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `world` [INFO] [stdout] --> src/eng/core/level.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | world [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entity`, `Marker` [INFO] [stdout] --> src/eng/core/level.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Entity, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | saveload::{U64Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/eng/core/level.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Write [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `game_scene::GameScene` [INFO] [stdout] --> src/eng/core/game.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | game_scene::GameScene [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::eng::core::resource_manager::RefResourceManager` [INFO] [stdout] --> src/eng/core/game.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::eng::core::resource_manager::RefResourceManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::borrow::BorrowMut` [INFO] [stdout] --> src/eng/core/game.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use core::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ui`, `Window` [INFO] [stdout] --> src/eng/gfx/gui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Ui, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | Window [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Display`, `Facade`, `Surface`, `Texture2d`, `glutin` [INFO] [stdout] --> src/eng/gfx/gui.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | backend::{Context, Facade}, [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] 19 | Texture2d, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | glutin, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Display, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | glutin::Event, [INFO] [stdout] 23 | Surface [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/eng/gfx/gui.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File`, `io::Read` [INFO] [stdout] --> src/eng/gfx/gui.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 32 | io::Read, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MarkerAllocator`, `Marker` [INFO] [stdout] --> src/eng/ecs/components/action.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Marker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | MarkerAllocator [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `action::Actions`, `input_manager::JustPressed` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | input_manager::JustPressed, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | action::Actions, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Deserialize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 18 | Serialize [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs_derive::Component` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use specs_derive::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `glium::glutin` [INFO] [stdout] --> src/eng/ecs/systems/input.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use glium::glutin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `System` [INFO] [stdout] --> src/eng/ecs/world.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | System, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/eng/cfg/level_cfg.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | Path, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_color_vars` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | ui.with_color_vars(&[(ImGuiCol::WindowBg, (0., 0., 0., 0.))], || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_color_vars` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | ui.with_color_vars(&[(ImGuiCol::WindowBg, (0., 0., 0., 0.))], || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `window` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | ... ui.window(im_str!("Main Menu")).title_bar(false).size((320.0,240.0), ImGuiCond::Appearing).movable(false).resizable(false).build(|| { [INFO] [stdout] | ^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `window` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | ... ui.window(im_str!("Main Menu")).title_bar(false).size((320.0,240.0), ImGuiCond::Appearing).movable(false).resizable(false).build(|| { [INFO] [stdout] | ^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | if ui.button(im_str!("Load Game"), (-1., 0.)) { [INFO] [stdout] | ^^^^^^^^^ expected array `[f32; 2]`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 2]` [INFO] [stdout] found tuple `({float}, {float})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:70:52 [INFO] [stdout] | [INFO] [stdout] 70 | if ui.button(im_str!("Load Game"), (-1., 0.)) { [INFO] [stdout] | ^^^^^^^^^ expected array `[f32; 2]`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 2]` [INFO] [stdout] found tuple `({float}, {float})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | ui.button(im_str!("Exit Game"), (-1., 0.)); [INFO] [stdout] | ^^^^^^^^^ expected array `[f32; 2]`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 2]` [INFO] [stdout] found tuple `({float}, {float})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_color_vars` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/game_scene.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | ui.with_color_vars(&[(ImGuiCol::WindowBg, (0., 0., 0., 0.))], || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `window` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/game_scene.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | ... ui.window(im_str!("Main Menu")).title_bar(false).size((320.0,240.0), ImGuiCond::Appearing).movable(false).resizable(false).build(|| { [INFO] [stdout] | ^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/eng/core/input_manager.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | pressed_keys: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | dispatcher.setup(&mut world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:69:101 [INFO] [stdout] | [INFO] [stdout] 69 | DeserializeSystem { reader: File::open(&config.world_data_path()).unwrap() }.run_now(&world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | dispatcher.setup(&mut world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:96:110 [INFO] [stdout] | [INFO] [stdout] 96 | SerializeSystem { writer: File::create(&self.config.world_data_path()).unwrap()}.run_now(&self.world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | self.dispatcher.dispatch(&self.world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/core/level.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | self.world.maintain(); [INFO] [stdout] | ^^^^^^^^ method not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hidpi_factor` found for struct `std::cell::Ref<'_, takeable_option::Takeable>>` in the current scope [INFO] [stdout] --> src/eng/core/game.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | let hidpi = ctx.display.gl_window().get_hidpi_factor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::cell::Ref<'_, takeable_option::Takeable>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hidpi_factor` found for struct `std::cell::Ref<'_, takeable_option::Takeable>>` in the current scope [INFO] [stdout] --> src/eng/gfx/gui.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | let hidpi_factor = ctx.display.gl_window().get_hidpi_factor().round(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::cell::Ref<'_, takeable_option::Takeable>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/usr/scenes/menu_scene.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | ui.button(im_str!("Exit Game"), (-1., 0.)); [INFO] [stdout] | ^^^^^^^^^ expected array `[f32; 2]`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected array `[f32; 2]` [INFO] [stdout] found tuple `({float}, {float})` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_color_vars` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/game_scene.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | ui.with_color_vars(&[(ImGuiCol::WindowBg, (0., 0., 0., 0.))], || { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `window` found for reference `&Ui<'_>` in the current scope [INFO] [stdout] --> src/usr/scenes/game_scene.rs:70:16 [INFO] [stdout] | [INFO] [stdout] 70 | ... ui.window(im_str!("Main Menu")).title_bar(false).size((320.0,240.0), ImGuiCond::Appearing).movable(false).resizable(false).build(|| { [INFO] [stdout] | ^^^^^^ method not found in `&Ui<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/eng/core/input_manager.rs:64:27 [INFO] [stdout] | [INFO] [stdout] 64 | pressed_keys: HashMap::new() [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type for type parameter `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:55:33 [INFO] [stdout] | [INFO] [stdout] 55 | dispatcher.setup(&mut world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:69:101 [INFO] [stdout] | [INFO] [stdout] 69 | DeserializeSystem { reader: File::open(&config.world_data_path()).unwrap() }.run_now(&world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | dispatcher.setup(&mut world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:96:110 [INFO] [stdout] | [INFO] [stdout] 96 | SerializeSystem { writer: File::create(&self.config.world_data_path()).unwrap()}.run_now(&self.world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `res` on type `World` [INFO] [stdout] --> src/eng/core/level.rs:103:46 [INFO] [stdout] | [INFO] [stdout] 103 | self.dispatcher.dispatch(&self.world.res); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/core/level.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | self.world.maintain(); [INFO] [stdout] | ^^^^^^^^ method not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hidpi_factor` found for struct `std::cell::Ref<'_, takeable_option::Takeable>>` in the current scope [INFO] [stdout] --> src/eng/core/game.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | let hidpi = ctx.display.gl_window().get_hidpi_factor(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::cell::Ref<'_, takeable_option::Takeable>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_hidpi_factor` found for struct `std::cell::Ref<'_, takeable_option::Takeable>>` in the current scope [INFO] [stdout] --> src/eng/gfx/gui.rs:47:52 [INFO] [stdout] | [INFO] [stdout] 47 | let hidpi_factor = ctx.display.gl_window().get_hidpi_factor().round(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ method not found in `std::cell::Ref<'_, takeable_option::Takeable>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/eng/gfx/gui.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | self.renderer.render(target, ui).expect("Rendering failed"); [INFO] [stdout] | ^^ expected `&DrawData`, found struct `Ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/eng/ecs/components/input.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub actions: Vec<(glutin::VirtualKeyCode, JustPressed, Actions)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let mut ser = ron::ser::Serializer::new(Some(Default::default()), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut std::result::Result, ron::Error>: game::_::_serde::Serializer` is not satisfied [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | &mut ser [INFO] [stdout] | ^^^^^^^^ the trait `game::_::_serde::Serializer` is not implemented for `&mut std::result::Result, ron::Error>` [INFO] [stdout] | [INFO] [stdout] = note: required by `specs::saveload::SerializeComponents::serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_output_string` found for enum `std::result::Result, ron::Error>` in the current scope [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | self.writer.write_all(ser.into_output_string().as_bytes()).expect("Could not serialise the ecs world"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `std::result::Result, ron::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `entities` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | let copy_entities = copy_world.entities(); [INFO] [stdout] | ^^^^^^^^ method not found in `&World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_entity` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let mut new_ent = world.create_entity(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | match copy_world.read_storage::<$comp>().get(ent) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] ... [INFO] [stdout] 40 | add_copy_comp!(InputComponent); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | match copy_world.read_storage::<$comp>().get(ent) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] ... [INFO] [stdout] 41 | add_copy_comp!(SpriteComponent); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | match copy_world.read_storage::<$comp>().get(ent) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] ... [INFO] [stdout] 42 | add_copy_comp!(TransformComponent); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_resource` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | *world.write_resource::() = copy_world.read_resource::().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_resource` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | *world.write_resource::() = copy_world.read_resource::().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `entities` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let copy_ent = world.entities().create(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_resource` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let lazy_updater = world.read_resource::(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | match world.read_storage::<$comp>().get(entity) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] ... [INFO] [stdout] 66 | add_copy_comp!(InputComponent); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | match world.read_storage::<$comp>().get(entity) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] ... [INFO] [stdout] 67 | add_copy_comp!(SpriteComponent); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | match world.read_storage::<$comp>().get(entity) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] ... [INFO] [stdout] 68 | add_copy_comp!(TransformComponent); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_resource` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | let mut alloc = world.write_resource::<::Allocator>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | world.maintain(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let mut world = World::new(); [INFO] [stdout] | ^^^ function or associated item not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkerAllocator` [INFO] [stdout] --> src/eng/core/level.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{U64Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Marker` [INFO] [stdout] --> src/eng/ecs/systems/action.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/systems/action.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/eng/ecs/world.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Builder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> src/eng/ecs/world.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Join, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/world.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{U64Marker,U64MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0283, E0308, E0412, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dissertation` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/eng/gfx/gui.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | self.renderer.render(target, ui).expect("Rendering failed"); [INFO] [stdout] | ^^ expected `&DrawData`, found struct `Ui` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/eng/ecs/components/input.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub actions: Vec<(glutin::VirtualKeyCode, JustPressed, Actions)> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: std::default::Default` [INFO] [stdout] = note: required by `std::default::Default::default` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | let mut ser = ron::ser::Serializer::new(Some(Default::default()), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------ ---- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 3 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&mut std::result::Result, ron::Error>: game::_::_serde::Serializer` is not satisfied [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | &mut ser [INFO] [stdout] | ^^^^^^^^ the trait `game::_::_serde::Serializer` is not implemented for `&mut std::result::Result, ron::Error>` [INFO] [stdout] | [INFO] [stdout] = note: required by `specs::saveload::SerializeComponents::serialize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_output_string` found for enum `std::result::Result, ron::Error>` in the current scope [INFO] [stdout] --> src/eng/ecs/systems/serializer.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | self.writer.write_all(ser.into_output_string().as_bytes()).expect("Could not serialise the ecs world"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method not found in `std::result::Result, ron::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `entities` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | let copy_entities = copy_world.entities(); [INFO] [stdout] | ^^^^^^^^ method not found in `&World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_entity` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | let mut new_ent = world.create_entity(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | match copy_world.read_storage::<$comp>().get(ent) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] ... [INFO] [stdout] 40 | add_copy_comp!(InputComponent); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | match copy_world.read_storage::<$comp>().get(ent) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] ... [INFO] [stdout] 41 | add_copy_comp!(SpriteComponent); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | match copy_world.read_storage::<$comp>().get(ent) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] ... [INFO] [stdout] 42 | add_copy_comp!(TransformComponent); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_resource` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | *world.write_resource::() = copy_world.read_resource::().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_resource` found for reference `&World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:47:64 [INFO] [stdout] | [INFO] [stdout] 47 | *world.write_resource::() = copy_world.read_resource::().clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `entities` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:53:26 [INFO] [stdout] | [INFO] [stdout] 53 | let copy_ent = world.entities().create(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_resource` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:55:34 [INFO] [stdout] | [INFO] [stdout] 55 | let lazy_updater = world.read_resource::(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | match world.read_storage::<$comp>().get(entity) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] ... [INFO] [stdout] 66 | add_copy_comp!(InputComponent); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | match world.read_storage::<$comp>().get(entity) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] ... [INFO] [stdout] 67 | add_copy_comp!(SpriteComponent); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_storage` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 59 | match world.read_storage::<$comp>().get(entity) { [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] ... [INFO] [stdout] 68 | add_copy_comp!(TransformComponent); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_resource` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:69:31 [INFO] [stdout] | [INFO] [stdout] 69 | let mut alloc = world.write_resource::<::Allocator>(); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `maintain` found for mutable reference `&mut World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:72:11 [INFO] [stdout] | [INFO] [stdout] 72 | world.maintain(); [INFO] [stdout] | ^^^^^^^^ method not found in `&mut World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `World` in the current scope [INFO] [stdout] --> src/eng/ecs/world.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let mut world = World::new(); [INFO] [stdout] | ^^^ function or associated item not found in `World` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use specs::WorldExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Surface` [INFO] [stdout] --> src/usr/scenes/game_scene.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Surface, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkerAllocator` [INFO] [stdout] --> src/eng/core/level.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | saveload::{U64Marker, U64MarkerAllocator, MarkerAllocator, Marker} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Marker` [INFO] [stdout] --> src/eng/ecs/systems/action.rs:16:54 [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/systems/action.rs:16:62 [INFO] [stdout] | [INFO] [stdout] 16 | use specs::saveload::{U64Marker, U64MarkerAllocator, Marker, MarkerAllocator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Builder` [INFO] [stdout] --> src/eng/ecs/world.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Builder, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Join` [INFO] [stdout] --> src/eng/ecs/world.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Join, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MarkerAllocator` [INFO] [stdout] --> src/eng/ecs/world.rs:20:52 [INFO] [stdout] | [INFO] [stdout] 20 | saveload::{U64Marker,U64MarkerAllocator,Marker,MarkerAllocator} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 68 previous errors; 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0282, E0283, E0308, E0412, E0425, E0432, E0433... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c888b3e27984e2aaac28aeb58824ef63aa459ded5b7ea56b0fcd70970a4d247c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c888b3e27984e2aaac28aeb58824ef63aa459ded5b7ea56b0fcd70970a4d247c", kill_on_drop: false }` [INFO] [stdout] c888b3e27984e2aaac28aeb58824ef63aa459ded5b7ea56b0fcd70970a4d247c