[INFO] cloning repository https://github.com/romptroll/turn_based_strategy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/romptroll/turn_based_strategy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromptroll%2Fturn_based_strategy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromptroll%2Fturn_based_strategy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 373ca146863049d73c3cd4fb8342681780b253c2 [INFO] checking romptroll/turn_based_strategy against try#82acd1d76add2232e19c1f0feb250d2a19ec6efe for pr-81213 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fromptroll%2Fturn_based_strategy" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/romptroll/turn_based_strategy on toolchain 82acd1d76add2232e19c1f0feb250d2a19ec6efe [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/romptroll/turn_based_strategy [INFO] removed path dependency engine from git repo https://github.com/romptroll/turn_based_strategy [INFO] finished tweaking git repo https://github.com/romptroll/turn_based_strategy [INFO] tweaked toml for git repo https://github.com/romptroll/turn_based_strategy written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/romptroll/turn_based_strategy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-option v0.1.2 [INFO] [stderr] Downloaded bus v2.2.3 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded yaml-rust v0.4.5 [INFO] [stderr] Downloaded engine v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a55c045a2559deee97879c424b82c2cd2c170044b44fb1a915246114d31bbcb [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" "2a55c045a2559deee97879c424b82c2cd2c170044b44fb1a915246114d31bbcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a55c045a2559deee97879c424b82c2cd2c170044b44fb1a915246114d31bbcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a55c045a2559deee97879c424b82c2cd2c170044b44fb1a915246114d31bbcb", kill_on_drop: false }` [INFO] [stdout] 2a55c045a2559deee97879c424b82c2cd2c170044b44fb1a915246114d31bbcb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+82acd1d76add2232e19c1f0feb250d2a19ec6efe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2410636decc9c11018c7b0dc8414d0888912eca67623e41f9d13651b8f7f60b1 [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" "2410636decc9c11018c7b0dc8414d0888912eca67623e41f9d13651b8f7f60b1", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) 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 syn v1.0.60 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking object v0.23.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking atomic-option v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking bus v2.2.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking engine v0.0.0 [INFO] [stderr] Checking turn_based_strategy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `engine::core` [INFO] [stdout] --> src/net/client.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use engine::core::{error_log, info_log}; [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::core` [INFO] [stdout] --> src/net/server.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use engine::core::{error_log, info_log}; [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/map.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | use engine::{core::info_log, renderer::{color::{self, Color, WHITE}, graphics::Graphics, texture::{Texture, TextureRegion}}}; [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/scenes/editor.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use engine::{core::{input::{Input, Key}, window::{MouseButtonLeft, MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui:... [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::core`, `engine::renderer` [INFO] [stdout] --> src/map.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use engine::{core::info_log, renderer::{color::{self, Color, WHITE}, graphics::Graphics, texture::{Texture, TextureRegion}}}; [INFO] [stdout] | ^^^^ ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] | | [INFO] [stdout] | could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gui` in `engine` [INFO] [stdout] --> src/scenes/editor.rs:26:113 [INFO] [stdout] | [INFO] [stdout] 26 | ...ft, MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, ... [INFO] [stdout] | ^^^ could not find `gui` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/scenes/editor.rs:26:145 [INFO] [stdout] | [INFO] [stdout] 26 | ...::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, s... [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::game`, `engine::renderer`, `engine::scene` [INFO] [stdout] --> src/scenes/editor.rs:26:97 [INFO] [stdout] | [INFO] [stdout] 26 | ...}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, scene::S... [INFO] [stdout] | ^^^^ could not find `game` in `engine` ^^^^^^^^ could not find `renderer` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/scenes/game.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use engine::{core::{info_log, input::{Input, Key}, window::{MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, ... [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gui` in `engine` [INFO] [stdout] --> src/scenes/game.rs:26:106 [INFO] [stdout] | [INFO] [stdout] 26 | ...w::{MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, ... [INFO] [stdout] | ^^^ could not find `gui` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/scenes/game.rs:26:138 [INFO] [stdout] | [INFO] [stdout] 26 | ...::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, s... [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/scenes/main_menu.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | use engine::{core::window::Window, game::GameData, gui::{comps::Button, gui::GUI}, scene::Scene}; [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::core`, `engine::game`, `engine::renderer`, `engine::scene` [INFO] [stdout] --> src/scenes/game.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | ...::{core::{info_log, input::{Input, Key}, window::{MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, scene::S... [INFO] [stdout] | ^^^^ could not find `core` in `engine` ^^^^ could not find `game` in `engine` ^^^^^^^^ could not find `renderer` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gui` in `engine` [INFO] [stdout] --> src/scenes/main_menu.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | use engine::{core::window::Window, game::GameData, gui::{comps::Button, gui::GUI}, scene::Scene}; [INFO] [stdout] | ^^^ could not find `gui` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/main.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | use engine::{core::{input::{Input, Key, Mouse}, window::{Action, Window}}, game::{Game, GameContainer, GameData}, renderer::{color::BLACK... [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::game`, `engine::scene` [INFO] [stdout] --> src/scenes/main_menu.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | use engine::{core::window::Window, game::GameData, gui::{comps::Button, gui::GUI}, scene::Scene}; [INFO] [stdout] | ^^^^ could not find `game` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/main.rs:38:115 [INFO] [stdout] | [INFO] [stdout] 38 | ...w}}, game::{Game, GameContainer, GameData}, renderer::{color::BLACK, graphics::Graphics, renderer::{init_gl, std_renderer::{BlendMode,... [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::game`, `engine::scene` [INFO] [stdout] --> src/main.rs:38:76 [INFO] [stdout] | [INFO] [stdout] 38 | ...}, game::{Game, GameContainer, GameData}, renderer::{color::BLACK, graphics::Graphics, renderer::{init_gl, std_renderer::{BlendMode, Capability, blend_func, enable}}}, scene::{... [INFO] [stdout] | ^^^^ could not find `game` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error_log` [INFO] [stdout] --> src/net/client.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | error_log!("{}", e); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error_log` [INFO] [stdout] --> src/net/server.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | error_log!("{}", e); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info_log` [INFO] [stdout] --> src/net/server.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | info_log!("Player: {} has joined!", String::from(std::str::from_utf8(&p.data).unwrap())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::core` [INFO] [stdout] --> src/net/client.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use engine::core::{error_log, info_log}; [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::core` [INFO] [stdout] --> src/net/server.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use engine::core::{error_log, info_log}; [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/map.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | use engine::{core::info_log, renderer::{color::{self, Color, WHITE}, graphics::Graphics, texture::{Texture, TextureRegion}}}; [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/scenes/editor.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use engine::{core::{input::{Input, Key}, window::{MouseButtonLeft, MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui:... [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::core`, `engine::renderer` [INFO] [stdout] --> src/map.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | use engine::{core::info_log, renderer::{color::{self, Color, WHITE}, graphics::Graphics, texture::{Texture, TextureRegion}}}; [INFO] [stdout] | ^^^^ ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] | | [INFO] [stdout] | could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gui` in `engine` [INFO] [stdout] --> src/scenes/editor.rs:26:113 [INFO] [stdout] | [INFO] [stdout] 26 | ...ft, MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, ... [INFO] [stdout] | ^^^ could not find `gui` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/scenes/editor.rs:26:145 [INFO] [stdout] | [INFO] [stdout] 26 | ...::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, s... [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::game`, `engine::renderer`, `engine::scene` [INFO] [stdout] --> src/scenes/editor.rs:26:97 [INFO] [stdout] | [INFO] [stdout] 26 | ...}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, scene::S... [INFO] [stdout] | ^^^^ could not find `game` in `engine` ^^^^^^^^ could not find `renderer` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/scenes/game.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | use engine::{core::{info_log, input::{Input, Key}, window::{MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, ... [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gui` in `engine` [INFO] [stdout] --> src/scenes/game.rs:26:106 [INFO] [stdout] | [INFO] [stdout] 26 | ...w::{MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, ... [INFO] [stdout] | ^^^ could not find `gui` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/scenes/game.rs:26:138 [INFO] [stdout] | [INFO] [stdout] 26 | ...::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, s... [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/scenes/main_menu.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | use engine::{core::window::Window, game::GameData, gui::{comps::Button, gui::GUI}, scene::Scene}; [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::core`, `engine::game`, `engine::renderer`, `engine::scene` [INFO] [stdout] --> src/scenes/game.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | ...::{core::{info_log, input::{Input, Key}, window::{MouseButtonMiddle, Window}}, game::GameData, gui::{comps::Button, gui::GUI}, renderer::{color::{self, Color}, graphics::Graphics, texture::{Texture, TextureRegion}}, scene::S... [INFO] [stdout] | ^^^^ could not find `core` in `engine` ^^^^ could not find `game` in `engine` ^^^^^^^^ could not find `renderer` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `gui` in `engine` [INFO] [stdout] --> src/scenes/main_menu.rs:24:52 [INFO] [stdout] | [INFO] [stdout] 24 | use engine::{core::window::Window, game::GameData, gui::{comps::Button, gui::GUI}, scene::Scene}; [INFO] [stdout] | ^^^ could not find `gui` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `engine` [INFO] [stdout] --> src/main.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | use engine::{core::{input::{Input, Key, Mouse}, window::{Action, Window}}, game::{Game, GameContainer, GameData}, renderer::{color::BLACK... [INFO] [stdout] | ^^^^ could not find `core` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::game`, `engine::scene` [INFO] [stdout] --> src/scenes/main_menu.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 24 | use engine::{core::window::Window, game::GameData, gui::{comps::Button, gui::GUI}, scene::Scene}; [INFO] [stdout] | ^^^^ could not find `game` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `renderer` in `engine` [INFO] [stdout] --> src/main.rs:38:115 [INFO] [stdout] | [INFO] [stdout] 38 | ...w}}, game::{Game, GameContainer, GameData}, renderer::{color::BLACK, graphics::Graphics, renderer::{init_gl, std_renderer::{BlendMode,... [INFO] [stdout] | ^^^^^^^^ could not find `renderer` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::game`, `engine::scene` [INFO] [stdout] --> src/main.rs:38:76 [INFO] [stdout] | [INFO] [stdout] 38 | ...}, game::{Game, GameContainer, GameData}, renderer::{color::BLACK, graphics::Graphics, renderer::{init_gl, std_renderer::{BlendMode, Capability, blend_func, enable}}}, scene::{... [INFO] [stdout] | ^^^^ could not find `game` in `engine` ^^^^^ could not find `scene` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error_log` [INFO] [stdout] --> src/net/client.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | error_log!("{}", e); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `error_log` [INFO] [stdout] --> src/net/server.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | error_log!("{}", e); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `info_log` [INFO] [stdout] --> src/net/server.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 165 | info_log!("Player: {} has joined!", String::from(std::str::from_utf8(&p.data).unwrap())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/map.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | texture: TextureRegion::new_invalid(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/map.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | texture: TextureRegion::new_invalid(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/map.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | texture: TextureRegion::new_invalid(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/map.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | texture: TextureRegion::new_invalid(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/scenes/editor.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | inp: Input::new(win), [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/scenes/editor.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | inp: Input::new(win), [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUI` [INFO] [stdout] --> src/scenes/editor.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | gui: GUI::new(win), [INFO] [stdout] | ^^^ use of undeclared type `GUI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUI` [INFO] [stdout] --> src/scenes/editor.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | gui: GUI::new(win), [INFO] [stdout] | ^^^ use of undeclared type `GUI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphics` [INFO] [stdout] --> src/scenes/editor.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | gfx: Graphics::new(win), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphics` [INFO] [stdout] --> src/scenes/editor.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | gfx: Graphics::new(win), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/editor.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | atlas: Texture::from_color(1, 1, 0xFFFFFFFF), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/editor.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | atlas: Texture::from_color(1, 1, 0xFFFFFFFF), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/editor.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let atlas = Texture::from_file(atlas_path); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/editor.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let atlas = Texture::from_file(atlas_path); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/scenes/editor.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let texture = TextureRegion::new(x, y, w, h, &atlas); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/scenes/editor.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | let mut tile = Tile::new(Color::from((r, g, b, 1.0)), texture.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/scenes/editor.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | let texture = TextureRegion::new(x, y, w, h, &atlas); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/editor.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let mut button = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/scenes/editor.rs:91:38 [INFO] [stdout] | [INFO] [stdout] 91 | let mut tile = Tile::new(Color::from((r, g, b, 1.0)), texture.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/editor.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let mut button = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | if self.inp.key_down(Key::R) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | if self.inp.key_down(Key::Num1) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | if self.inp.key_down(Key::Num2) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | if self.inp.key_down(Key::G) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | if self.inp.key_down(Key::R) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:146:30 [INFO] [stdout] | [INFO] [stdout] 146 | if self.inp.key_down(Key::Num1) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:150:30 [INFO] [stdout] | [INFO] [stdout] 150 | if self.inp.key_down(Key::Num2) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/editor.rs:154:30 [INFO] [stdout] | [INFO] [stdout] 154 | if self.inp.key_down(Key::G) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/scenes/game.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | inp: Input::new(win), [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUI` [INFO] [stdout] --> src/scenes/game.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | gui: GUI::new(win), [INFO] [stdout] | ^^^ use of undeclared type `GUI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphics` [INFO] [stdout] --> src/scenes/game.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | gfx: Graphics::new(win), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/scenes/game.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | inp: Input::new(win), [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/game.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | atlas: Texture::from_color(1, 1, 0xFFFFFFFF), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUI` [INFO] [stdout] --> src/scenes/game.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | gui: GUI::new(win), [INFO] [stdout] | ^^^ use of undeclared type `GUI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/game.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let atlas = Texture::from_file(atlas_path); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/scenes/game.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let texture = TextureRegion::new(x, y, w, h, &atlas); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphics` [INFO] [stdout] --> src/scenes/game.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | gfx: Graphics::new(win), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/scenes/game.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tile = Tile::new(Color::from((r, g, b, 1.0)), texture.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/game.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | atlas: Texture::from_color(1, 1, 0xFFFFFFFF), [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/game.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | if self.inp.key_down(Key::R) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/scenes/game.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | let atlas = Texture::from_file(atlas_path); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextureRegion` [INFO] [stdout] --> src/scenes/game.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let texture = TextureRegion::new(x, y, w, h, &atlas); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `TextureRegion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> src/scenes/game.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | let mut tile = Tile::new(Color::from((r, g, b, 1.0)), texture.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/main_menu.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let mut btn_play = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/main_menu.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | let mut btn_editor = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Key` [INFO] [stdout] --> src/scenes/game.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | if self.inp.key_down(Key::R) { [INFO] [stdout] | ^^^ use of undeclared type `Key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/main_menu.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let mut btn_exit = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUI` [INFO] [stdout] --> src/scenes/main_menu.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | gui: GUI::new(win), [INFO] [stdout] | ^^^ use of undeclared type `GUI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/main_menu.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let mut btn_play = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/main_menu.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | let mut btn_editor = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Button` [INFO] [stdout] --> src/scenes/main_menu.rs:48:28 [INFO] [stdout] | [INFO] [stdout] 48 | let mut btn_exit = Button::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Window` [INFO] [stdout] --> src/main.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | let mut win = Window::new(600, 400, "title: &str").unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/main.rs:100:15 [INFO] [stdout] | [INFO] [stdout] 100 | let inp = Input::new(&mut win); [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GUI` [INFO] [stdout] --> src/scenes/main_menu.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | gui: GUI::new(win), [INFO] [stdout] | ^^^ use of undeclared type `GUI` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Capability` [INFO] [stdout] --> src/main.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | unsafe { enable(Capability::Blending); } [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Capability` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlendMode` [INFO] [stdout] --> src/main.rs:105:25 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { blend_func(BlendMode::SrcAlpha, BlendMode::OneMinusSrcAlpha); } [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlendMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlendMode` [INFO] [stdout] --> src/main.rs:105:46 [INFO] [stdout] | [INFO] [stdout] 105 | unsafe { blend_func(BlendMode::SrcAlpha, BlendMode::OneMinusSrcAlpha); } [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `BlendMode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graphics` [INFO] [stdout] --> src/main.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 121 | gfx: Graphics::new(&mut win), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in this scope [INFO] [stdout] --> src/map.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 40 | pub color: Color, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TextureRegion` in this scope [INFO] [stdout] --> src/map.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | pub texture: TextureRegion, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in this scope [INFO] [stdout] --> src/map.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(color: Color, texture: TextureRegion) -> Tile { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TextureRegion` in this scope [INFO] [stdout] --> src/map.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(color: Color, texture: TextureRegion) -> Tile { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WHITE` in this scope [INFO] [stdout] --> src/map.rs:62:20 [INFO] [stdout] | [INFO] [stdout] 62 | color: WHITE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in this scope [INFO] [stdout] --> src/map.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn from_color(color: Color, id: TileIndex) -> Tile { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graphics` in this scope [INFO] [stdout] --> src/map.rs:224:36 [INFO] [stdout] | [INFO] [stdout] 224 | pub fn render(&self, gfx: &mut Graphics, tiles: &TileSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graphics` in this scope [INFO] [stdout] --> src/map.rs:326:36 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn render(&self, gfx: &mut Graphics) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/scenes/editor.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | inp: Input, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GUI` in this scope [INFO] [stdout] --> src/scenes/editor.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | gui: GUI, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graphics` in this scope [INFO] [stdout] --> src/scenes/editor.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | gfx: Graphics, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Texture` in this scope [INFO] [stdout] --> src/scenes/editor.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct EditorScene { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | atlas: std::rc::Rc, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Button` in this scope [INFO] [stdout] --> src/scenes/editor.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct EditorScene { [INFO] [stdout] | - help: you might be missing a type parameter: `