[INFO] cloning repository https://github.com/Trangar/janfeb_2017 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Trangar/janfeb_2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fjanfeb_2017", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fjanfeb_2017'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d12ad845c58e0bbb37708493d6a1ae84b10f7471 [INFO] checking Trangar/janfeb_2017 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTrangar%2Fjanfeb_2017" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Trangar/janfeb_2017 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/.cargo/config [INFO] started tweaking git repo https://github.com/Trangar/janfeb_2017 [INFO] removed path dependency engine from git repo https://github.com/Trangar/janfeb_2017 [INFO] finished tweaking git repo https://github.com/Trangar/janfeb_2017 [INFO] tweaked toml for git repo https://github.com/Trangar/janfeb_2017 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/Trangar/janfeb_2017 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 (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-3/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] a88fee8a88bd55b759d9f0a50c10ba86e059ecf3593336b6222a6ba873ddcc6f [INFO] running `Command { std: "docker" "start" "-a" "a88fee8a88bd55b759d9f0a50c10ba86e059ecf3593336b6222a6ba873ddcc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a88fee8a88bd55b759d9f0a50c10ba86e059ecf3593336b6222a6ba873ddcc6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a88fee8a88bd55b759d9f0a50c10ba86e059ecf3593336b6222a6ba873ddcc6f", kill_on_drop: false }` [INFO] [stdout] a88fee8a88bd55b759d9f0a50c10ba86e059ecf3593336b6222a6ba873ddcc6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] c2fde348dcc42bdc18efe773adbda6a934d8995543f5fef501538a5c8f15752b [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" "c2fde348dcc42bdc18efe773adbda6a934d8995543f5fef501538a5c8f15752b", 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 libc v0.2.81 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking engine v0.0.0 [INFO] [stderr] Checking janfeb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `engine::Engine`, `engine::EntityTrait` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::{Engine, EntityTrait}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ no `EntityTrait` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Engine` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | CollisionLayer::Player [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | CollisionLayer::Enemy [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | vec![CollisionLayer::Enemy] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | vec![CollisionLayer::Player] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/bullet.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | Some(CollisionLayer::Enemy) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | vec![CollisionLayer::Player] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | result.push(EntityEvent::SpawnEntity(Box::new(bullet))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `engine::Engine`, `engine::EntityTrait` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use engine::{Engine, EntityTrait}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^ no `EntityTrait` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Engine` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | Some(CollisionLayer::Enemy) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | vec![CollisionLayer::Player] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | result.push(EntityEvent::SpawnEntity(Box::new(bullet))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | CollisionLayer::Player [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | CollisionLayer::Enemy [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | vec![CollisionLayer::Enemy] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/bullet.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | vec![CollisionLayer::Player] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/bullet.rs:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemy_spawner.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | result.push(EntityEvent::SpawnEntity(Box::new(enemy))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemy_spawner.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | result.push(EntityEvent::SpawnEntity(Box::new(enemy))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | Some(CollisionLayer::Enemy) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | vec![CollisionLayer::Player] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemy_spawner.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | result.push(EntityEvent::SpawnEntity(Box::new(enemy))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | result.push(EntityEvent::SpawnEntity(Box::new(bullet))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/player.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | Some(CollisionLayer::Player) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/player.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | vec![CollisionLayer::Enemy] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/player.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | Some(CollisionLayer::Enemy) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | if game_state.keyboard.is_keydown(VirtualKeyCode::A) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | vec![CollisionLayer::Player] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | if game_state.keyboard.is_keydown(VirtualKeyCode::D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | if game_state.keyboard.is_keydown(VirtualKeyCode::S) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | if game_state.keyboard.is_keydown(VirtualKeyCode::W) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:64:15 [INFO] [stdout] | [INFO] [stdout] 64 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/player.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | result.push(EntityEvent::SpawnEntity(Box::new(bullet))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | result.push(EntityEvent::SpawnEntity(Box::new(bullet))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/player.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | vec![EntityEvent::SpawnEntity(you_lost)] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemy_spawner.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | result.push(EntityEvent::SpawnEntity(Box::new(enemy))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemy_spawner.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | result.push(EntityEvent::SpawnEntity(Box::new(enemy))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/enemy_spawner.rs:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | result.push(EntityEvent::SpawnEntity(Box::new(enemy))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/you_lost.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | .is_pressed_this_frame(VirtualKeyCode::Space) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/player.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | Some(CollisionLayer::Player) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CollisionLayer` [INFO] [stdout] --> src/entities/player.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | vec![CollisionLayer::Enemy] [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CollisionLayer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/you_lost.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|s| EntityEvent::SpawnEntity(s)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/you_lost.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | response.insert(0, EntityEvent::ClearAllEntities); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityState` [INFO] [stdout] --> src/entities/player.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | ..EntityState::default() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:69:43 [INFO] [stdout] | [INFO] [stdout] 69 | if game_state.keyboard.is_keydown(VirtualKeyCode::A) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/bullet.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl EntityTrait for Bullet { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/bullet.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 24 | impl EntityTrait for Bullet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 28 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/bullet.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 24 | impl EntityTrait for Bullet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/bullet.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, _: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, _: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/bullet.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/bullet.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/bullet.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | _: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/bullet.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/bullet.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityTrait for Enemy1 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityTrait for Enemy1 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityTrait for Enemy1 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 39 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | self_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | _: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | if game_state.keyboard.is_keydown(VirtualKeyCode::D) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:75:43 [INFO] [stdout] | [INFO] [stdout] 75 | if game_state.keyboard.is_keydown(VirtualKeyCode::S) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/player.rs:78:43 [INFO] [stdout] | [INFO] [stdout] 78 | if game_state.keyboard.is_keydown(VirtualKeyCode::W) { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | impl EntityTrait for Enemy2 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 38 | impl EntityTrait for Enemy2 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 38 | impl EntityTrait for Enemy2 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/player.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | result.push(EntityEvent::SpawnEntity(Box::new(bullet))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | self_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | _: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl EntityTrait for EnemySpawner { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/player.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | vec![EntityEvent::SpawnEntity(you_lost)] [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> Vec> { [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/entities/player.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0); [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/entities/player.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | const COLOR_GREEN: Color = (0.0, 1.0, 0.0, 1.0); [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/entities/player.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | const COLOR_RED: Color = (1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/player.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl EntityTrait for Player { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/player.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 36 | impl EntityTrait for Player { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 40 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/player.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 36 | impl EntityTrait for Player { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/player.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/player.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/player.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/player.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/player.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | self_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/player.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | _other: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | other_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualKeyCode` [INFO] [stdout] --> src/entities/you_lost.rs:41:36 [INFO] [stdout] | [INFO] [stdout] 41 | .is_pressed_this_frame(VirtualKeyCode::Space) [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `VirtualKeyCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/player.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Vec> { [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/entities/you_lost.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl EntityTrait for YouLost { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/you_lost.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | .map(|s| EntityEvent::SpawnEntity(s)) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EntityEvent` [INFO] [stdout] --> src/entities/you_lost.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | response.insert(0, EntityEvent::ClearAllEntities); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `EntityEvent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TGraphicIndex` in crate `engine` [INFO] [stdout] --> src/main.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl engine::TGraphicIndex for GraphicsEnum {} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/entities/enemy_spawner.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/bullet.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | impl EntityTrait for Bullet { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/bullet.rs:28:42 [INFO] [stdout] | [INFO] [stdout] 24 | impl EntityTrait for Bullet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 28 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/bullet.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 24 | impl EntityTrait for Bullet { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 35 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/bullet.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, _: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, _: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/bullet.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/bullet.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/bullet.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | _: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/bullet.rs:82:14 [INFO] [stdout] | [INFO] [stdout] 82 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/bullet.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/bullet.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityTrait for Enemy1 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityTrait for Enemy1 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 36 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:39:43 [INFO] [stdout] | [INFO] [stdout] 32 | impl EntityTrait for Enemy1 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 39 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:42:46 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:42:71 [INFO] [stdout] | [INFO] [stdout] 42 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:84:56 [INFO] [stdout] | [INFO] [stdout] 84 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 95 | self_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | _: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_1.rs:98:14 [INFO] [stdout] | [INFO] [stdout] 98 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:38:6 [INFO] [stdout] | [INFO] [stdout] 38 | impl EntityTrait for Enemy2 { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:42:42 [INFO] [stdout] | [INFO] [stdout] 38 | impl EntityTrait for Enemy2 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 42 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 38 | impl EntityTrait for Enemy2 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:48:71 [INFO] [stdout] | [INFO] [stdout] 48 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:101:56 [INFO] [stdout] | [INFO] [stdout] 101 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | self_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | _: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemies/enemy_2.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl EntityTrait for EnemySpawner { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | _: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/enemy_spawner.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | ) -> Vec> { [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/entities/player.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0); [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/entities/player.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | const COLOR_GREEN: Color = (0.0, 1.0, 0.0, 1.0); [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/entities/player.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | const COLOR_RED: Color = (1.0, 0.0, 0.0, 1.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/player.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl EntityTrait for Player { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 108 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/player.rs:40:42 [INFO] [stdout] | [INFO] [stdout] 36 | impl EntityTrait for Player { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 40 | fn collision_layers(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CollisionLayer` in this scope [INFO] [stdout] --> src/entities/player.rs:43:43 [INFO] [stdout] | [INFO] [stdout] 36 | impl EntityTrait for Player { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | fn collides_with_layers(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Engine` in this scope [INFO] [stdout] --> src/entities/player.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:46:71 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_initial_state(&mut self, engine: &Engine) -> EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Hitbox` in this scope [INFO] [stdout] --> src/entities/player.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | let hitbox = Hitbox { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | EntityState { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/player.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/player.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/player.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | fn draw(&self, state: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | self_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/player.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | _other: &Box>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/player.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | other_state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/player.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Vec> { [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/entities/you_lost.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | const COLOR_WHITE: Color = (1.0, 1.0, 1.0, 1.0); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `EntityTrait` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:18:6 [INFO] [stdout] | [INFO] [stdout] 18 | impl EntityTrait for YouLost { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EngineGraphics` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | fn draw(&self, _: &EntityState, graphics: &mut EngineGraphics) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GameState` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | game_state: &mut GameState, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityState` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | state: &mut EntityState, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EntityEvent` in this scope [INFO] [stdout] --> src/entities/you_lost.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TGraphicIndex` in crate `engine` [INFO] [stdout] --> src/main.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | impl engine::TGraphicIndex for GraphicsEnum {} [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::*` [INFO] [stdout] --> src/entities/enemy_spawner.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use engine::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `janfeb` [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: aborting due to 108 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c2fde348dcc42bdc18efe773adbda6a934d8995543f5fef501538a5c8f15752b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2fde348dcc42bdc18efe773adbda6a934d8995543f5fef501538a5c8f15752b", kill_on_drop: false }` [INFO] [stdout] c2fde348dcc42bdc18efe773adbda6a934d8995543f5fef501538a5c8f15752b