[INFO] cloning repository https://github.com/OlivierLemoine/wasm_rust_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OlivierLemoine/wasm_rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fwasm_rust_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fwasm_rust_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b710a10678b44d46535cba0391d5ad6ce198cf7 [INFO] checking OlivierLemoine/wasm_rust_game against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOlivierLemoine%2Fwasm_rust_game" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/OlivierLemoine/wasm_rust_game on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/OlivierLemoine/wasm_rust_game [INFO] removed path dependency engine from git repo https://github.com/OlivierLemoine/wasm_rust_game [INFO] removed path dependency log from git repo https://github.com/OlivierLemoine/wasm_rust_game [INFO] finished tweaking git repo https://github.com/OlivierLemoine/wasm_rust_game [INFO] tweaked toml for git repo https://github.com/OlivierLemoine/wasm_rust_game written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/OlivierLemoine/wasm_rust_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (log) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (log) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f09c227a5e377dc63cee4d008887e0f0a79b5971832d89a3e734ed7dd5d73aa [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" "1f09c227a5e377dc63cee4d008887e0f0a79b5971832d89a3e734ed7dd5d73aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f09c227a5e377dc63cee4d008887e0f0a79b5971832d89a3e734ed7dd5d73aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f09c227a5e377dc63cee4d008887e0f0a79b5971832d89a3e734ed7dd5d73aa", kill_on_drop: false }` [INFO] [stdout] 1f09c227a5e377dc63cee4d008887e0f0a79b5971832d89a3e734ed7dd5d73aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 899c8dcae61243d142a78c0c5fde1e16b4dfecbae3ed379f23029339f362223e [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" "899c8dcae61243d142a78c0c5fde1e16b4dfecbae3ed379f23029339f362223e", kill_on_drop: false }` [INFO] [stderr] warning: dependency (engine) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (log) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking wasm-bindgen v0.2.69 [INFO] [stderr] Checking engine v0.0.0 [INFO] [stderr] Checking js-sys v0.3.46 [INFO] [stderr] Checking web-sys v0.3.46 [INFO] [stderr] Checking wasm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/draw.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use engine::specs::prelude::*; [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::components` [INFO] [stdout] --> src/draw.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use engine::components::{Collider, Sprite, Transform}; [INFO] [stdout] | ^^^^^^^^^^ could not find `components` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::Camera` [INFO] [stdout] --> src/draw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::prelude` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `engine` [INFO] [stdout] --> src/draw.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | engine::types::ColliderType::Circle(r) => { [INFO] [stdout] | ^^^^^ could not find `types` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `engine` [INFO] [stdout] --> src/draw.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | engine::types::ColliderType::Rect(w, h) => { [INFO] [stdout] | ^^^^^ could not find `types` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `math` in `engine` [INFO] [stdout] --> src/lib.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | r.impulse(engine::math::Vec2::from((0.0, 50.0))); [INFO] [stdout] | ^^^^ could not find `math` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/draw.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use engine::specs::prelude::*; [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::components` [INFO] [stdout] --> src/draw.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use engine::components::{Collider, Sprite, Transform}; [INFO] [stdout] | ^^^^^^^^^^ could not find `components` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::Camera` [INFO] [stdout] --> src/draw.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::Camera; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Camera` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `engine::prelude` [INFO] [stdout] --> src/lib.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use engine::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `math` in `engine` [INFO] [stdout] --> src/lib.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | r.impulse(engine::math::Vec2::from((0.0, 50.0))); [INFO] [stdout] | ^^^^ could not find `math` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Image` in `engine` [INFO] [stdout] --> src/lib.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let player_image = engine::Image::from_raw( [INFO] [stdout] | ^^^^^ could not find `Image` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Game` in `engine` [INFO] [stdout] --> src/lib.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let mut game = engine::Game::new(); [INFO] [stdout] | ^^^^ could not find `Game` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | engine::specs::shred::RunNow::setup(&mut mover, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | engine::specs::shred::RunNow::setup(&mut mover2, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | engine::specs::shred::RunNow::setup(&mut renderer, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | engine::specs::shred::RunNow::setup(&mut deb, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `engine` [INFO] [stdout] --> src/draw.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | engine::types::ColliderType::Circle(r) => { [INFO] [stdout] | ^^^^^ could not find `types` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `types` in `engine` [INFO] [stdout] --> src/draw.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | engine::types::ColliderType::Rect(w, h) => { [INFO] [stdout] | ^^^^^ could not find `types` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transform` [INFO] [stdout] --> src/lib.rs:375:15 [INFO] [stdout] | [INFO] [stdout] 375 | .with(Transform::default()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RigidBodyBuilder` [INFO] [stdout] --> src/lib.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | .with(RigidBodyBuilder::new().set_mass(10.0).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `RigidBodyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderBuilder` [INFO] [stdout] --> src/lib.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | ColliderBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ColliderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderType` [INFO] [stdout] --> src/lib.rs:379:32 [INFO] [stdout] | [INFO] [stdout] 379 | .collider_type(ColliderType::Rect(14.0, 30.0)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ColliderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collisions` [INFO] [stdout] --> src/lib.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | .with(Collisions::default()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpriteBuilder` [INFO] [stdout] --> src/lib.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | SpriteBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SpriteBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transform` [INFO] [stdout] --> src/lib.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 437 | .with(Transform::default()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RigidBodyBuilder` [INFO] [stdout] --> src/lib.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 438 | .with(RigidBodyBuilder::new().set_mass(10.0).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `RigidBodyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderBuilder` [INFO] [stdout] --> src/lib.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | ColliderBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ColliderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderType` [INFO] [stdout] --> src/lib.rs:441:32 [INFO] [stdout] | [INFO] [stdout] 441 | .collider_type(ColliderType::Rect(14.0, 30.0)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ColliderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collisions` [INFO] [stdout] --> src/lib.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | .with(Collisions::default()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpriteBuilder` [INFO] [stdout] --> src/lib.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | SpriteBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SpriteBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:460:21 [INFO] [stdout] | [INFO] [stdout] 460 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransformBuilder` [INFO] [stdout] --> src/lib.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | TransformBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransformBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `math` in `engine` [INFO] [stdout] --> src/lib.rs:518:35 [INFO] [stdout] | [INFO] [stdout] 518 | .position(engine::math::Vec2::from((x, y))) [INFO] [stdout] | ^^^^ could not find `math` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderBuilder` [INFO] [stdout] --> src/lib.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | ColliderBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ColliderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderType` [INFO] [stdout] --> src/lib.rs:523:32 [INFO] [stdout] | [INFO] [stdout] 523 | .collider_type(ColliderType::Rect(w, h)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ColliderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collisions` [INFO] [stdout] --> src/lib.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 527 | .with(Collisions::default()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sprite` [INFO] [stdout] --> src/lib.rs:528:15 [INFO] [stdout] | [INFO] [stdout] 528 | .with(Sprite::from(vec![engine::Image::rec( [INFO] [stdout] | ^^^^^^ use of undeclared type `Sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Image` in `engine` [INFO] [stdout] --> src/lib.rs:528:41 [INFO] [stdout] | [INFO] [stdout] 528 | .with(Sprite::from(vec![engine::Image::rec( [INFO] [stdout] | ^^^^^ could not find `Image` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/draw.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> System<'a> for DebugCollider { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/draw.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Read<'a, Camera>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ReadStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ReadStorage<'a, Collider>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/draw.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> System<'a> for SysRender { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/draw.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Read<'a, Camera>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | ReadStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | ReadStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Component for Player1 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FlaggedStorage` in this scope [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | type Storage = FlaggedStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl Component for Player2 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FlaggedStorage` in this scope [INFO] [stdout] --> src/lib.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | type Storage = FlaggedStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl Component for Player { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DenseVecStorage` in this scope [INFO] [stdout] --> src/lib.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | type Storage = DenseVecStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, Collisions` [INFO] [stdout] ... [INFO] [stdout] 70 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, Transform` [INFO] [stdout] ... [INFO] [stdout] 71 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, RigidBody` [INFO] [stdout] ... [INFO] [stdout] 72 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | WriteStorage<'a, Player>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, Sprite` [INFO] [stdout] ... [INFO] [stdout] 74 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ReadStorage<'a, Player1>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let c: &Collisions = c; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let t: &mut Transform = t; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let r: &mut RigidBody = r; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let s: &mut Sprite = s; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/lib.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, Collisions` [INFO] [stdout] ... [INFO] [stdout] 185 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, Transform` [INFO] [stdout] ... [INFO] [stdout] 186 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, RigidBody` [INFO] [stdout] ... [INFO] [stdout] 187 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | WriteStorage<'a, Player>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, Sprite` [INFO] [stdout] ... [INFO] [stdout] 189 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | ReadStorage<'a, Player2>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | let c: &Collisions = c; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let t: &mut Transform = t; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let r: &mut RigidBody = r; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let s: &mut Sprite = s; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Game` in crate `engine` [INFO] [stdout] --> src/lib.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | let mut w: std::cell::RefMut = game_ev_kd.borrow_mut(); [INFO] [stdout] | ^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 326 | let kp: &mut engine::KeyPress = w.world.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Game` in crate `engine` [INFO] [stdout] --> src/lib.rs:336:50 [INFO] [stdout] | [INFO] [stdout] 336 | let mut w: std::cell::RefMut = game_ev_ku.borrow_mut(); [INFO] [stdout] | ^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:337:34 [INFO] [stdout] | [INFO] [stdout] 337 | let kp: &mut engine::KeyPress = w.world.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/lib.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | fn init(world: &mut World, player_image: engine::Image) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in crate `engine` [INFO] [stdout] --> src/lib.rs:366:50 [INFO] [stdout] | [INFO] [stdout] 366 | fn init(world: &mut World, player_image: engine::Image) { [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AntiLayer1` in this scope [INFO] [stdout] --> src/lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | .with(AntiLayer1) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Layer1` in this scope [INFO] [stdout] --> src/lib.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 48 | struct Player1; [INFO] [stdout] | --------------- similarly named unit struct `Player1` defined here [INFO] [stdout] ... [INFO] [stdout] 384 | .with(Layer1) [INFO] [stdout] | ^^^^^^ help: a unit struct with a similar name exists: `Player1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Color` in crate `engine` [INFO] [stdout] --> src/lib.rs:388:48 [INFO] [stdout] | [INFO] [stdout] 388 | .apply_transparancy_on(engine::Color(0, 0, 0, 0)) [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AntiLayer1` in this scope [INFO] [stdout] --> src/lib.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | .with(AntiLayer1) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Layer1` in this scope [INFO] [stdout] --> src/lib.rs:446:15 [INFO] [stdout] | [INFO] [stdout] 48 | struct Player1; [INFO] [stdout] | --------------- similarly named unit struct `Player1` defined here [INFO] [stdout] ... [INFO] [stdout] 446 | .with(Layer1) [INFO] [stdout] | ^^^^^^ help: a unit struct with a similar name exists: `Player1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Color` in crate `engine` [INFO] [stdout] --> src/lib.rs:450:48 [INFO] [stdout] | [INFO] [stdout] 450 | .apply_transparancy_on(engine::Color(0, 0, 0, 0)) [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/lib.rs:499:37 [INFO] [stdout] | [INFO] [stdout] 499 | fn create_block_on_grid(world: &mut World, l: i32, r: i32, t: i32, b: i32) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/lib.rs:513:29 [INFO] [stdout] | [INFO] [stdout] 513 | fn create_block(world: &mut World, x: f64, y: f64, w: f64, h: f64) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Layer1` in this scope [INFO] [stdout] --> src/lib.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 48 | struct Player1; [INFO] [stdout] | --------------- similarly named unit struct `Player1` defined here [INFO] [stdout] ... [INFO] [stdout] 526 | .with(Layer1) [INFO] [stdout] | ^^^^^^ help: a unit struct with a similar name exists: `Player1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Color` in crate `engine` [INFO] [stdout] --> src/lib.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | engine::Color(176, 96, 35, 255), [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `math` in `engine` [INFO] [stdout] --> src/lib.rs:126:43 [INFO] [stdout] | [INFO] [stdout] 126 | r.impulse(engine::math::Vec2::from((0.0, 50.0))); [INFO] [stdout] | ^^^^ could not find `math` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/draw.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | static ref CTX: Context = { Context::from_id("game").unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 109 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wasm` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `math` in `engine` [INFO] [stdout] --> src/lib.rs:241:43 [INFO] [stdout] | [INFO] [stdout] 241 | r.impulse(engine::math::Vec2::from((0.0, 50.0))); [INFO] [stdout] | ^^^^ could not find `math` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Image` in `engine` [INFO] [stdout] --> src/lib.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let player_image = engine::Image::from_raw( [INFO] [stdout] | ^^^^^ could not find `Image` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Game` in `engine` [INFO] [stdout] --> src/lib.rs:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | let mut game = engine::Game::new(); [INFO] [stdout] | ^^^^ could not find `Game` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:312:13 [INFO] [stdout] | [INFO] [stdout] 312 | engine::specs::shred::RunNow::setup(&mut mover, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | engine::specs::shred::RunNow::setup(&mut mover2, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:316:13 [INFO] [stdout] | [INFO] [stdout] 316 | engine::specs::shred::RunNow::setup(&mut renderer, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `specs` in `engine` [INFO] [stdout] --> src/lib.rs:318:13 [INFO] [stdout] | [INFO] [stdout] 318 | engine::specs::shred::RunNow::setup(&mut deb, &mut game.world); [INFO] [stdout] | ^^^^^ could not find `specs` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transform` [INFO] [stdout] --> src/lib.rs:375:15 [INFO] [stdout] | [INFO] [stdout] 375 | .with(Transform::default()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RigidBodyBuilder` [INFO] [stdout] --> src/lib.rs:376:15 [INFO] [stdout] | [INFO] [stdout] 376 | .with(RigidBodyBuilder::new().set_mass(10.0).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `RigidBodyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderBuilder` [INFO] [stdout] --> src/lib.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | ColliderBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ColliderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderType` [INFO] [stdout] --> src/lib.rs:379:32 [INFO] [stdout] | [INFO] [stdout] 379 | .collider_type(ColliderType::Rect(14.0, 30.0)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ColliderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collisions` [INFO] [stdout] --> src/lib.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | .with(Collisions::default()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpriteBuilder` [INFO] [stdout] --> src/lib.rs:386:13 [INFO] [stdout] | [INFO] [stdout] 386 | SpriteBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SpriteBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:392:21 [INFO] [stdout] | [INFO] [stdout] 392 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:410:21 [INFO] [stdout] | [INFO] [stdout] 410 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:418:21 [INFO] [stdout] | [INFO] [stdout] 418 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:425:21 [INFO] [stdout] | [INFO] [stdout] 425 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Transform` [INFO] [stdout] --> src/lib.rs:437:15 [INFO] [stdout] | [INFO] [stdout] 437 | .with(Transform::default()) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RigidBodyBuilder` [INFO] [stdout] --> src/lib.rs:438:15 [INFO] [stdout] | [INFO] [stdout] 438 | .with(RigidBodyBuilder::new().set_mass(10.0).build()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `RigidBodyBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderBuilder` [INFO] [stdout] --> src/lib.rs:440:13 [INFO] [stdout] | [INFO] [stdout] 440 | ColliderBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ColliderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderType` [INFO] [stdout] --> src/lib.rs:441:32 [INFO] [stdout] | [INFO] [stdout] 441 | .collider_type(ColliderType::Rect(14.0, 30.0)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ColliderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collisions` [INFO] [stdout] --> src/lib.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | .with(Collisions::default()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpriteBuilder` [INFO] [stdout] --> src/lib.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | SpriteBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `SpriteBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:454:21 [INFO] [stdout] | [INFO] [stdout] 454 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:460:21 [INFO] [stdout] | [INFO] [stdout] 460 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:466:21 [INFO] [stdout] | [INFO] [stdout] 466 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:472:21 [INFO] [stdout] | [INFO] [stdout] 472 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:480:21 [INFO] [stdout] | [INFO] [stdout] 480 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AnimationBuilder` [INFO] [stdout] --> src/lib.rs:487:21 [INFO] [stdout] | [INFO] [stdout] 487 | AnimationBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `AnimationBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransformBuilder` [INFO] [stdout] --> src/lib.rs:517:13 [INFO] [stdout] | [INFO] [stdout] 517 | TransformBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `TransformBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `math` in `engine` [INFO] [stdout] --> src/lib.rs:518:35 [INFO] [stdout] | [INFO] [stdout] 518 | .position(engine::math::Vec2::from((x, y))) [INFO] [stdout] | ^^^^ could not find `math` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderBuilder` [INFO] [stdout] --> src/lib.rs:522:13 [INFO] [stdout] | [INFO] [stdout] 522 | ColliderBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `ColliderBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ColliderType` [INFO] [stdout] --> src/lib.rs:523:32 [INFO] [stdout] | [INFO] [stdout] 523 | .collider_type(ColliderType::Rect(w, h)) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `ColliderType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Collisions` [INFO] [stdout] --> src/lib.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 527 | .with(Collisions::default()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Collisions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sprite` [INFO] [stdout] --> src/lib.rs:528:15 [INFO] [stdout] | [INFO] [stdout] 528 | .with(Sprite::from(vec![engine::Image::rec( [INFO] [stdout] | ^^^^^^ use of undeclared type `Sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Image` in `engine` [INFO] [stdout] --> src/lib.rs:528:41 [INFO] [stdout] | [INFO] [stdout] 528 | .with(Sprite::from(vec![engine::Image::rec( [INFO] [stdout] | ^^^^^ could not find `Image` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/draw.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | impl<'a> System<'a> for DebugCollider { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/draw.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Read<'a, Camera>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ReadStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | ReadStorage<'a, Collider>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/draw.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | impl<'a> System<'a> for SysRender { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/draw.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | Read<'a, Camera>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | ReadStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/draw.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | ReadStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:49:6 [INFO] [stdout] | [INFO] [stdout] 49 | impl Component for Player1 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FlaggedStorage` in this scope [INFO] [stdout] --> src/lib.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | type Storage = FlaggedStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:54:6 [INFO] [stdout] | [INFO] [stdout] 54 | impl Component for Player2 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FlaggedStorage` in this scope [INFO] [stdout] --> src/lib.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | type Storage = FlaggedStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/lib.rs:62:6 [INFO] [stdout] | [INFO] [stdout] 62 | impl Component for Player { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DenseVecStorage` in this scope [INFO] [stdout] --> src/lib.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | type Storage = DenseVecStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/lib.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, Collisions` [INFO] [stdout] ... [INFO] [stdout] 70 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:71:26 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, Transform` [INFO] [stdout] ... [INFO] [stdout] 71 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:72:26 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, RigidBody` [INFO] [stdout] ... [INFO] [stdout] 72 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | WriteStorage<'a, Player>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:74:26 [INFO] [stdout] | [INFO] [stdout] 67 | impl<'a> System<'a> for TestMove { [INFO] [stdout] | - help: you might be missing a type parameter: `, Sprite` [INFO] [stdout] ... [INFO] [stdout] 74 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | ReadStorage<'a, Player1>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let c: &Collisions = c; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let t: &mut Transform = t; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let r: &mut RigidBody = r; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:96:25 [INFO] [stdout] | [INFO] [stdout] 96 | let s: &mut Sprite = s; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `System` in this scope [INFO] [stdout] --> src/lib.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Read` in this scope [INFO] [stdout] --> src/lib.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:184:26 [INFO] [stdout] | [INFO] [stdout] 184 | Read<'a, engine::KeyPress>, [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, Collisions` [INFO] [stdout] ... [INFO] [stdout] 185 | ReadStorage<'a, Collisions>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:186:9 [INFO] [stdout] | [INFO] [stdout] 186 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, Transform` [INFO] [stdout] ... [INFO] [stdout] 186 | WriteStorage<'a, Transform>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 187 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:187:26 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, RigidBody` [INFO] [stdout] ... [INFO] [stdout] 187 | WriteStorage<'a, RigidBody>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | WriteStorage<'a, Player>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WriteStorage` in this scope [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:189:26 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> System<'a> for TestMove2 { [INFO] [stdout] | - help: you might be missing a type parameter: `, Sprite` [INFO] [stdout] ... [INFO] [stdout] 189 | WriteStorage<'a, Sprite>, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadStorage` in this scope [INFO] [stdout] --> src/lib.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | ReadStorage<'a, Player2>, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Collisions` in this scope [INFO] [stdout] --> src/lib.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | let c: &Collisions = c; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Transform` in this scope [INFO] [stdout] --> src/lib.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let t: &mut Transform = t; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RigidBody` in this scope [INFO] [stdout] --> src/lib.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let r: &mut RigidBody = r; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Sprite` in this scope [INFO] [stdout] --> src/lib.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let s: &mut Sprite = s; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Game` in crate `engine` [INFO] [stdout] --> src/lib.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | let mut w: std::cell::RefMut = game_ev_kd.borrow_mut(); [INFO] [stdout] | ^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:326:34 [INFO] [stdout] | [INFO] [stdout] 326 | let kp: &mut engine::KeyPress = w.world.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Game` in crate `engine` [INFO] [stdout] --> src/lib.rs:336:50 [INFO] [stdout] | [INFO] [stdout] 336 | let mut w: std::cell::RefMut = game_ev_ku.borrow_mut(); [INFO] [stdout] | ^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyPress` in crate `engine` [INFO] [stdout] --> src/lib.rs:337:34 [INFO] [stdout] | [INFO] [stdout] 337 | let kp: &mut engine::KeyPress = w.world.get_mut().unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/lib.rs:366:21 [INFO] [stdout] | [INFO] [stdout] 366 | fn init(world: &mut World, player_image: engine::Image) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in crate `engine` [INFO] [stdout] --> src/lib.rs:366:50 [INFO] [stdout] | [INFO] [stdout] 366 | fn init(world: &mut World, player_image: engine::Image) { [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AntiLayer1` in this scope [INFO] [stdout] --> src/lib.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 383 | .with(AntiLayer1) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Layer1` in this scope [INFO] [stdout] --> src/lib.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 48 | struct Player1; [INFO] [stdout] | --------------- similarly named unit struct `Player1` defined here [INFO] [stdout] ... [INFO] [stdout] 384 | .with(Layer1) [INFO] [stdout] | ^^^^^^ help: a unit struct with a similar name exists: `Player1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Color` in crate `engine` [INFO] [stdout] --> src/lib.rs:388:48 [INFO] [stdout] | [INFO] [stdout] 388 | .apply_transparancy_on(engine::Color(0, 0, 0, 0)) [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `AntiLayer1` in this scope [INFO] [stdout] --> src/lib.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | .with(AntiLayer1) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Layer1` in this scope [INFO] [stdout] --> src/lib.rs:446:15 [INFO] [stdout] | [INFO] [stdout] 48 | struct Player1; [INFO] [stdout] | --------------- similarly named unit struct `Player1` defined here [INFO] [stdout] ... [INFO] [stdout] 446 | .with(Layer1) [INFO] [stdout] | ^^^^^^ help: a unit struct with a similar name exists: `Player1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Color` in crate `engine` [INFO] [stdout] --> src/lib.rs:450:48 [INFO] [stdout] | [INFO] [stdout] 450 | .apply_transparancy_on(engine::Color(0, 0, 0, 0)) [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/lib.rs:499:37 [INFO] [stdout] | [INFO] [stdout] 499 | fn create_block_on_grid(world: &mut World, l: i32, r: i32, t: i32, b: i32) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `World` in this scope [INFO] [stdout] --> src/lib.rs:513:29 [INFO] [stdout] | [INFO] [stdout] 513 | fn create_block(world: &mut World, x: f64, y: f64, w: f64, h: f64) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Layer1` in this scope [INFO] [stdout] --> src/lib.rs:526:15 [INFO] [stdout] | [INFO] [stdout] 48 | struct Player1; [INFO] [stdout] | --------------- similarly named unit struct `Player1` defined here [INFO] [stdout] ... [INFO] [stdout] 526 | .with(Layer1) [INFO] [stdout] | ^^^^^^ help: a unit struct with a similar name exists: `Player1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Color` in crate `engine` [INFO] [stdout] --> src/lib.rs:529:21 [INFO] [stdout] | [INFO] [stdout] 529 | engine::Color(176, 96, 35, 255), [INFO] [stdout] | ^^^^^ not found in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/draw.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | static ref CTX: Context = { Context::from_id("game").unwrap() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 109 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "899c8dcae61243d142a78c0c5fde1e16b4dfecbae3ed379f23029339f362223e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "899c8dcae61243d142a78c0c5fde1e16b4dfecbae3ed379f23029339f362223e", kill_on_drop: false }` [INFO] [stdout] 899c8dcae61243d142a78c0c5fde1e16b4dfecbae3ed379f23029339f362223e