[INFO] cloning repository https://github.com/whoisjg/alone_in_dark [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whoisjg/alone_in_dark" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhoisjg%2Falone_in_dark", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhoisjg%2Falone_in_dark'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c737a920700df789fdc6606c0546e2f03600131b [INFO] checking whoisjg/alone_in_dark against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhoisjg%2Falone_in_dark" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/whoisjg/alone_in_dark on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/whoisjg/alone_in_dark [INFO] removed path dependency raylib from git repo https://github.com/whoisjg/alone_in_dark [INFO] finished tweaking git repo https://github.com/whoisjg/alone_in_dark [INFO] tweaked toml for git repo https://github.com/whoisjg/alone_in_dark written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/whoisjg/alone_in_dark already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (raylib) 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-6/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" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (raylib) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f70e8c8f0fe18b72b14259d8face66f93dc5c5dd857b51fb07bbe7db1b26e1b7 [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" "f70e8c8f0fe18b72b14259d8face66f93dc5c5dd857b51fb07bbe7db1b26e1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f70e8c8f0fe18b72b14259d8face66f93dc5c5dd857b51fb07bbe7db1b26e1b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70e8c8f0fe18b72b14259d8face66f93dc5c5dd857b51fb07bbe7db1b26e1b7", kill_on_drop: false }` [INFO] [stdout] f70e8c8f0fe18b72b14259d8face66f93dc5c5dd857b51fb07bbe7db1b26e1b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed822e47d71e5918834c61007fd8a089e439679007dea48c0044e4e8c102b60d [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" "ed822e47d71e5918834c61007fd8a089e439679007dea48c0044e4e8c102b60d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (raylib) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling nonzero_signed v1.0.3 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking shrev v1.1.1 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking shred v0.7.2 [INFO] [stderr] Checking hibitset v0.5.4 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling raylib-sys v3.0.0 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Checking specs v0.14.3 [INFO] [stderr] Checking raylib v3.0.0 [INFO] [stderr] Checking webgame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/damage.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | updater.insert(*e, Light::new(2.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | color: raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | color: raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | color: raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | &raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:216:72 [INFO] [stdout] | [INFO] [stdout] 216 | ctx.draw_rectangle_lines_ex(&outline_rect, 2, &raylib::Color::WHITE); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:224:30 [INFO] [stdout] | [INFO] [stdout] 224 | &raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | &raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/enemy.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/player.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/player.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | Light::new(10.0, raylib::Color::WHITE) [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/damage.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | updater.insert(*e, Light::new(2.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | color: raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:76:28 [INFO] [stdout] | [INFO] [stdout] 76 | color: raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | color: raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | &raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:216:72 [INFO] [stdout] | [INFO] [stdout] 216 | ctx.draw_rectangle_lines_ex(&outline_rect, 2, &raylib::Color::WHITE); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:224:30 [INFO] [stdout] | [INFO] [stdout] 224 | &raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | &raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/enemy.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/wall.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/levels/level1.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | let wall_color = raylib::Color::WHITE; [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/player.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/background.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | &raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/player.rs:23:30 [INFO] [stdout] | [INFO] [stdout] 23 | Light::new(10.0, raylib::Color::WHITE) [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | updater.insert(debris, Light::new(1.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/damage.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | &raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/dialog.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | &raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/enemy.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | ... raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/enemy.rs:60:68 [INFO] [stdout] | [INFO] [stdout] 60 | updater.insert(bullet, Light::new(2.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/wall.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/levels/level1.rs:147:30 [INFO] [stdout] | [INFO] [stdout] 147 | let wall_color = raylib::Color::WHITE; [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/background.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | &raylib::Color::BLACK, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/player.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/player.rs:97:60 [INFO] [stdout] | [INFO] [stdout] 97 | updater.insert(bullet, Light::new(2.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/main.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | let wall_color = raylib::Color::WHITE; [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | updater.insert(debris, Light::new(1.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub dir: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(dir: raylib::Vector2, speed: f32) -> Self { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub gravity: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub dir: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub start_pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/damage.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/damage.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub vel: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/damage.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | pos: raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/damage.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | vel: 10.0 * raylib::Vector2::new(rand::random::(), 0.0), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/damage.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/damage.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | raylib::Color::new(0, 0, 0, 0), [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn draw_text(&mut self, ctx: &mut raylib::DrawContext, text_box: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:117:83 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn draw_text(&mut self, ctx: &mut raylib::DrawContext, text_box: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `measure_text` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | let tw = raylib::measure_text(&dt.text, dt.th); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::text::measure_text; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::text::measure_text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `measure_text` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let tw = raylib::measure_text(&dt.text, dt.th); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::text::measure_text; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::text::measure_text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&self, ctx: &mut raylib::DrawContext, rect: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:194:70 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&self, ctx: &mut raylib::DrawContext, rect: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | let outline_rect = raylib::Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | &raylib::Vector2::new(rect.x + pm + pw / 2.0, rect.y + pm + 20.0), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:244:23 [INFO] [stdout] | [INFO] [stdout] 244 | ctx: &mut raylib::DrawContext, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | pos: &raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | color: &raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:250:35 [INFO] [stdout] | [INFO] [stdout] 250 | let r_eye = -radius * raylib::Vector2::from_angle(3.0 * std::f32::consts::PI / 4.0) + *pos; [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:251:35 [INFO] [stdout] | [INFO] [stdout] 251 | let l_eye = -radius * raylib::Vector2::from_angle(1.0 * std::f32::consts::PI / 4.0) + *pos; [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | let mouth = -radius * raylib::Vector2::from_angle(3.0 * std::f32::consts::PI / 2.0) + *pos; [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/enemy.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/damage.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | &raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/light.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/light.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | pub const fn new(radius: f32, color: raylib::Color) -> Self { [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/paths.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub start_pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/paths.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub target_pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/player.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn player_shape(pos: raylib::Vector2) -> Shape { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/player.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_player(world: &mut World, pos: raylib::Vector2) { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/player.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | updater.insert(*p, player_shape(raylib::Vector2::new(x, y))); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn new(pos: raylib::Vector2, shape_type: ShapeType, color: raylib::Color) -> Self { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn new(pos: raylib::Vector2, shape_type: ShapeType, color: raylib::Color) -> Self { [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | new_color: impl Into>, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/shape.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | self.pos - raylib::Vector2::new(-radius, -radius), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | new_color: impl Into>, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/shape.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | let pos = self.pos + raylib::Vector2::new(width / 2.0, height / 2.0); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn center(&self) -> raylib::Vector2 { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/shape.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | self.pos + raylib::Vector2::new(width / 2.0, height / 2.0) [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn bounding_box(&self) -> raylib::Rectangle { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/shape.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | raylib::Rectangle::new(self.pos.x, self.pos.y, width, height) [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/shape.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | ShapeType::Circle(Circle { radius }) => raylib::Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_collision_circle_rec` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | return raylib::check_collision_circle_rec(&other.pos, br, &arec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `check_collision_circles` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/raylib-3.0.0/src/core/collision.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn check_collision_circles( [INFO] [stdout] 48 | | center1: impl Into, [INFO] [stdout] 49 | | radius1: f32, [INFO] [stdout] 50 | | center2: impl Into, [INFO] [stdout] 51 | | radius2: f32, [INFO] [stdout] 52 | | ) -> bool { [INFO] [stdout] | |_________- similarly named function `check_collision_circles` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_collision_recs` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | return raylib::check_collision_recs(&arec, &brec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `check_collision_circles` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/raylib-3.0.0/src/core/collision.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn check_collision_circles( [INFO] [stdout] 48 | | center1: impl Into, [INFO] [stdout] 49 | | radius1: f32, [INFO] [stdout] 50 | | center2: impl Into, [INFO] [stdout] 51 | | radius2: f32, [INFO] [stdout] 52 | | ) -> bool { [INFO] [stdout] | |_________- similarly named function `check_collision_circles` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_collision_circle_rec` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | return raylib::check_collision_circle_rec(&self.pos, ar, &brec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `check_collision_circles` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/raylib-3.0.0/src/core/collision.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn check_collision_circles( [INFO] [stdout] 48 | | center1: impl Into, [INFO] [stdout] 49 | | radius1: f32, [INFO] [stdout] 50 | | center2: impl Into, [INFO] [stdout] 51 | | radius2: f32, [INFO] [stdout] 52 | | ) -> bool { [INFO] [stdout] | |_________- similarly named function `check_collision_circles` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:153:69 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn collision_normal(&self, other: &Shape) -> Option { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn to_rect(&self, pos: raylib::Vector2) -> raylib::Rectangle { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:194:60 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn to_rect(&self, pos: raylib::Vector2) -> raylib::Rectangle { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/shape.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | raylib::Rectangle::new(pos.x, pos.y, self.width, self.height) [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/wall.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/levels/level1.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/background.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/bullet.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | ReadExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | * raylib::Vector2::from_angle( [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/dialog.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | &raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/bullet.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | ReadExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | trash.dir = raylib::Vector2::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | raylib::Vector2::new(0.0, 0.0) [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/damage.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/damage.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | damage.vel += ctx.get_frame_time() * raylib::Vector2::new(0.0, 100.0); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/damage.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/dialog.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/enemy.rs:54:37 [INFO] [stdout] | [INFO] [stdout] 54 | ... raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/enemy.rs:60:68 [INFO] [stdout] | [INFO] [stdout] 60 | updater.insert(bullet, Light::new(2.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_ENTER` in this scope [INFO] [stdout] --> src/systems/dialog.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | if ctx.is_key_pressed(KEY_ENTER) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_ENTER; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_ENTER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/dialog.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/systems/dialog.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let thumb_rect = raylib::Rectangle::new(tx, ty, tw, th); [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/systems/dialog.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let text_rect = raylib::Rectangle::new(tx + tw + ml, ty, 1200.0, th); [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/draw_shape.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/enemy.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/enemy.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | ... * raylib::Vector2::from_angle( [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/player.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_A` in this scope [INFO] [stdout] --> src/systems/player.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | ctx.is_key_down(KEY_A), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_A; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_D` in this scope [INFO] [stdout] --> src/systems/player.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | ctx.is_key_down(KEY_D), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_D; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_W` in this scope [INFO] [stdout] --> src/systems/player.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | ctx.is_key_down(KEY_W), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_W; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_W; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_S` in this scope [INFO] [stdout] --> src/systems/player.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | ctx.is_key_down(KEY_S), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_S; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSE_LEFT_BUTTON` in crate `raylib` [INFO] [stdout] --> src/systems/player.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | && ctx.is_mouse_button_down(raylib::MOUSE_LEFT_BUTTON) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::MouseButton::MOUSE_LEFT_BUTTON; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::MouseButton::MOUSE_LEFT_BUTTON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/player.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | let center = shape.pos + 0.5 * raylib::Vector2::new(p_width, p_height); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | raylib::Vector2::new(room_width / 2.0, room_height / 2.0), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | make_player(world, raylib::Vector2::new(50.0, 10.0)) [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Game` in crate `raylib` [INFO] [stdout] --> src/main.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | impl<'a, 'b> raylib::Game for Game<'a, 'b> { [INFO] [stdout] | ^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | fn start(&mut self, mut ctx: raylib::AppContext) { [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | self.world.add_resource::>(None); [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn update(&mut self, mut ctx: raylib::AppContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:133:70 [INFO] [stdout] | [INFO] [stdout] 133 | let mut draw = self.world.res.fetch_mut::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in crate `raylib` [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | raylib::run(SCREEN_WIDTH, SCREEN_HEIGHT, "Game", game); [INFO] [stdout] | ^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::wall::log::mem::fmt::run; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use raylib::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/components/damage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/components/enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/components/light.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ((self.radius * (1.0 / LIGHT_FALLOFF)) / (LIGHT_FALLOFF * d * d)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/components/markers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/components/wall.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/levels/level1.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | for i in (0..room_width as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/levels/level1.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | for j in (0..room_height as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/bullet.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 37 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/bullet.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 172 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/damage.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/damage.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 40 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::input::*` [INFO] [stdout] --> src/systems/dialog.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use raylib::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/dialog.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/dialog.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 58 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/draw_shape.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 21 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/enemy.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/systems/enemy.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | for i in (0..4) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/player.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | raylib::Color::WHITE, [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::input::*` [INFO] [stdout] --> src/systems/player.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use raylib::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/player.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/systems/player.rs:97:60 [INFO] [stdout] | [INFO] [stdout] 97 | updater.insert(bullet, Light::new(2.0, raylib::Color::WHITE)); [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | for x in (0..room_width as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/main.rs:62:30 [INFO] [stdout] | [INFO] [stdout] 62 | let wall_color = raylib::Color::WHITE; [INFO] [stdout] | ^^^^^ could not find `Color` in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | for y in (0..room_height as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | for x in ((room_width / 3.0) as i32..(room_width / 3.0 + wall_width) as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | for y in ((room_height / 4.0) as i32..(3.0 * room_height / 4.0) as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub dir: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(dir: raylib::Vector2, speed: f32) -> Self { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | pub gravity: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub dir: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/bullet.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | pub start_pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/damage.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | pub pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 118 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/damage.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | pub vel: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/damage.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | pos: raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/damage.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | vel: 10.0 * raylib::Vector2::new(rand::random::(), 0.0), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/damage.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Color` in `raylib` [INFO] [stdout] --> src/components/damage.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | raylib::Color::new(0, 0, 0, 0), [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:117:51 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn draw_text(&mut self, ctx: &mut raylib::DrawContext, text_box: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:117:83 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn draw_text(&mut self, ctx: &mut raylib::DrawContext, text_box: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `measure_text` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | let tw = raylib::measure_text(&dt.text, dt.th); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::text::measure_text; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::text::measure_text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `measure_text` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let tw = raylib::measure_text(&dt.text, dt.th); [INFO] [stdout] | ^^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::text::measure_text; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::text::measure_text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:194:42 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&self, ctx: &mut raylib::DrawContext, rect: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:194:70 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn draw(&self, ctx: &mut raylib::DrawContext, rect: &raylib::Rectangle) { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | let outline_rect = raylib::Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `webgame` [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:230:30 [INFO] [stdout] | [INFO] [stdout] 230 | &raylib::Vector2::new(rect.x + pm + pw / 2.0, rect.y + pm + 20.0), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:244:23 [INFO] [stdout] | [INFO] [stdout] 244 | ctx: &mut raylib::DrawContext, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:245:19 [INFO] [stdout] | [INFO] [stdout] 245 | pos: &raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/dialog.rs:247:21 [INFO] [stdout] | [INFO] [stdout] 247 | color: &raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:250:35 [INFO] [stdout] | [INFO] [stdout] 250 | let r_eye = -radius * raylib::Vector2::from_angle(3.0 * std::f32::consts::PI / 4.0) + *pos; [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:251:35 [INFO] [stdout] | [INFO] [stdout] 251 | let l_eye = -radius * raylib::Vector2::from_angle(1.0 * std::f32::consts::PI / 4.0) + *pos; [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/dialog.rs:252:35 [INFO] [stdout] | [INFO] [stdout] 252 | let mouth = -radius * raylib::Vector2::from_angle(3.0 * std::f32::consts::PI / 2.0) + *pos; [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/enemy.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 24 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/light.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/light.rs:10:50 [INFO] [stdout] | [INFO] [stdout] 10 | pub const fn new(radius: f32, color: raylib::Color) -> Self { [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/paths.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | pub start_pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/paths.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub target_pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/player.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | pub const fn player_shape(pos: raylib::Vector2) -> Shape { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/player.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_player(world: &mut World, pos: raylib::Vector2) { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/player.rs:37:45 [INFO] [stdout] | [INFO] [stdout] 37 | updater.insert(*p, player_shape(raylib::Vector2::new(x, y))); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn new(pos: raylib::Vector2, shape_type: ShapeType, color: raylib::Color) -> Self { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | pub const fn new(pos: raylib::Vector2, shape_type: ShapeType, color: raylib::Color) -> Self { [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:42:45 [INFO] [stdout] | [INFO] [stdout] 42 | new_color: impl Into>, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/shape.rs:63:44 [INFO] [stdout] | [INFO] [stdout] 63 | self.pos - raylib::Vector2::new(-radius, -radius), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | new_color: impl Into>, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/shape.rs:94:46 [INFO] [stdout] | [INFO] [stdout] 94 | let pos = self.pos + raylib::Vector2::new(width / 2.0, height / 2.0); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn center(&self) -> raylib::Vector2 { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/shape.rs:109:36 [INFO] [stdout] | [INFO] [stdout] 109 | self.pos + raylib::Vector2::new(width / 2.0, height / 2.0) [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn bounding_box(&self) -> raylib::Rectangle { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/shape.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | raylib::Rectangle::new(self.pos.x, self.pos.y, width, height) [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/shape.rs:119:61 [INFO] [stdout] | [INFO] [stdout] 119 | ShapeType::Circle(Circle { radius }) => raylib::Rectangle::new( [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_collision_circle_rec` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:133:36 [INFO] [stdout] | [INFO] [stdout] 133 | return raylib::check_collision_circle_rec(&other.pos, br, &arec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `check_collision_circles` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/raylib-3.0.0/src/core/collision.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn check_collision_circles( [INFO] [stdout] 48 | | center1: impl Into, [INFO] [stdout] 49 | | radius1: f32, [INFO] [stdout] 50 | | center2: impl Into, [INFO] [stdout] 51 | | radius2: f32, [INFO] [stdout] 52 | | ) -> bool { [INFO] [stdout] | |_________- similarly named function `check_collision_circles` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_collision_recs` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:138:36 [INFO] [stdout] | [INFO] [stdout] 138 | return raylib::check_collision_recs(&arec, &brec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `check_collision_circles` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/raylib-3.0.0/src/core/collision.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn check_collision_circles( [INFO] [stdout] 48 | | center1: impl Into, [INFO] [stdout] 49 | | radius1: f32, [INFO] [stdout] 50 | | center2: impl Into, [INFO] [stdout] 51 | | radius2: f32, [INFO] [stdout] 52 | | ) -> bool { [INFO] [stdout] | |_________- similarly named function `check_collision_circles` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `check_collision_circle_rec` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | return raylib::check_collision_circle_rec(&self.pos, ar, &brec); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `check_collision_circles` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/raylib-3.0.0/src/core/collision.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn check_collision_circles( [INFO] [stdout] 48 | | center1: impl Into, [INFO] [stdout] 49 | | radius1: f32, [INFO] [stdout] 50 | | center2: impl Into, [INFO] [stdout] 51 | | radius2: f32, [INFO] [stdout] 52 | | ) -> bool { [INFO] [stdout] | |_________- similarly named function `check_collision_circles` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:153:69 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn collision_normal(&self, other: &Shape) -> Option { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:194:40 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn to_rect(&self, pos: raylib::Vector2) -> raylib::Rectangle { [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Rectangle` in crate `raylib` [INFO] [stdout] --> src/components/shape.rs:194:60 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn to_rect(&self, pos: raylib::Vector2) -> raylib::Rectangle { [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/components/shape.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | raylib::Rectangle::new(pos.x, pos.y, self.width, self.height) [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/components/wall.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vector2` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pos: raylib::Vector2, [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Color` in crate `raylib` [INFO] [stdout] --> src/components/wall.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | color: raylib::Color, [INFO] [stdout] | ^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::color::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use env_logger::fmt::Color; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::color::Color; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/levels/level1.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/background.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/bullet.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | ReadExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:94:35 [INFO] [stdout] | [INFO] [stdout] 94 | * raylib::Vector2::from_angle( [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/bullet.rs:164:32 [INFO] [stdout] | [INFO] [stdout] 164 | ReadExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | trash.dir = raylib::Vector2::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/bullet.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | raylib::Vector2::new(0.0, 0.0) [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/damage.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/damage.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 21 | damage.vel += ctx.get_frame_time() * raylib::Vector2::new(0.0, 100.0); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/damage.rs:35:40 [INFO] [stdout] | [INFO] [stdout] 35 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/dialog.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_ENTER` in this scope [INFO] [stdout] --> src/systems/dialog.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | if ctx.is_key_pressed(KEY_ENTER) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_ENTER; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_ENTER; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/dialog.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/systems/dialog.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let thumb_rect = raylib::Rectangle::new(tx, ty, tw, th); [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Rectangle` in `raylib` [INFO] [stdout] --> src/systems/dialog.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | let text_rect = raylib::Rectangle::new(tx + tw + ml, ty, 1200.0, th); [INFO] [stdout] | ^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Rectangle; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/systems/draw_shape.rs:12:40 [INFO] [stdout] | [INFO] [stdout] 12 | WriteExpect<'a, Option>, [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/enemy.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/enemy.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | ... * raylib::Vector2::from_angle( [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/systems/player.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | WriteExpect<'a, raylib::AppContext>, [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_A` in this scope [INFO] [stdout] --> src/systems/player.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | ctx.is_key_down(KEY_A), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_A; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_D` in this scope [INFO] [stdout] --> src/systems/player.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | ctx.is_key_down(KEY_D), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_D; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_W` in this scope [INFO] [stdout] --> src/systems/player.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | ctx.is_key_down(KEY_W), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_W; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_W; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_S` in this scope [INFO] [stdout] --> src/systems/player.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | ctx.is_key_down(KEY_S), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::KeyboardKey::KEY_S; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::KeyboardKey::KEY_S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MOUSE_LEFT_BUTTON` in crate `raylib` [INFO] [stdout] --> src/systems/player.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | && ctx.is_mouse_button_down(raylib::MOUSE_LEFT_BUTTON) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::MouseButton::MOUSE_LEFT_BUTTON; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::MouseButton::MOUSE_LEFT_BUTTON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/systems/player.rs:71:52 [INFO] [stdout] | [INFO] [stdout] 71 | let center = shape.pos + 0.5 * raylib::Vector2::new(p_width, p_height); [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:95:25 [INFO] [stdout] | [INFO] [stdout] 95 | raylib::Vector2::new(x, y), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | raylib::Vector2::new(room_width / 2.0, room_height / 2.0), [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Vector2` in `raylib` [INFO] [stdout] --> src/main.rs:111:32 [INFO] [stdout] | [INFO] [stdout] 111 | make_player(world, raylib::Vector2::new(50.0, 10.0)) [INFO] [stdout] | ^^^^^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::math::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::ffi::Vector2; [INFO] [stdout] | [INFO] [stdout] 5 | use raylib::math::Vector2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Game` in crate `raylib` [INFO] [stdout] --> src/main.rs:115:22 [INFO] [stdout] | [INFO] [stdout] 115 | impl<'a, 'b> raylib::Game for Game<'a, 'b> { [INFO] [stdout] | ^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | fn start(&mut self, mut ctx: raylib::AppContext) { [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:119:50 [INFO] [stdout] | [INFO] [stdout] 119 | self.world.add_resource::>(None); [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:124:43 [INFO] [stdout] | [INFO] [stdout] 124 | fn update(&mut self, mut ctx: raylib::AppContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DrawContext` in crate `raylib` [INFO] [stdout] --> src/main.rs:133:70 [INFO] [stdout] | [INFO] [stdout] 133 | let mut draw = self.world.res.fetch_mut::>(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `raylib` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in crate `raylib` [INFO] [stdout] --> src/main.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | raylib::run(SCREEN_WIDTH, SCREEN_HEIGHT, "Game", game); [INFO] [stdout] | ^^^ not found in `raylib` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::wall::log::mem::fmt::run; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::*` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use raylib::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/components/damage.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/components/enemy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/components/light.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | ((self.radius * (1.0 / LIGHT_FALLOFF)) / (LIGHT_FALLOFF * d * d)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::*` [INFO] [stdout] --> src/components/markers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::components::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `specs::prelude::*` [INFO] [stdout] --> src/components/wall.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/levels/level1.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 189 | for i in (0..room_width as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/levels/level1.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | for j in (0..room_height as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/bullet.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 37 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/bullet.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 2 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 172 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/damage.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/damage.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 40 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::input::*` [INFO] [stdout] --> src/systems/dialog.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use raylib::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/dialog.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/dialog.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 58 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/draw_shape.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 21 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/enemy.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 27 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/systems/enemy.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | for i in (0..4) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::input::*` [INFO] [stdout] --> src/systems/player.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use raylib::input::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Join` is imported redundantly [INFO] [stdout] --> src/systems/player.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 3 | use specs::prelude::*; [INFO] [stdout] | ----------------- the item `Join` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use specs::Join; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 67 | for x in (0..room_width as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | for y in (0..room_height as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 89 | for x in ((room_width / 3.0) as i32..(room_width / 3.0 + wall_width) as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:90:18 [INFO] [stdout] | [INFO] [stdout] 90 | for y in ((room_height / 4.0) as i32..(3.0 * room_height / 4.0) as i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 118 previous errors; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, 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" "ed822e47d71e5918834c61007fd8a089e439679007dea48c0044e4e8c102b60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed822e47d71e5918834c61007fd8a089e439679007dea48c0044e4e8c102b60d", kill_on_drop: false }` [INFO] [stdout] ed822e47d71e5918834c61007fd8a089e439679007dea48c0044e4e8c102b60d