[INFO] cloning repository https://github.com/LordAfterEight/Motor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordAfterEight/Motor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordAfterEight%2FMotor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordAfterEight%2FMotor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab39ccef02a9ad3b589585b0365f9e9b5f505004 [INFO] testing LordAfterEight/Motor against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordAfterEight%2FMotor" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LordAfterEight/Motor [INFO] finished tweaking git repo https://github.com/LordAfterEight/Motor [INFO] tweaked toml for git repo https://github.com/LordAfterEight/Motor written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LordAfterEight/Motor on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LordAfterEight/Motor already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v8.0.0 [INFO] [stderr] Downloaded clearscreen v4.0.2 [INFO] [stderr] Downloaded rapier2d v0.26.1 [INFO] [stderr] Downloaded robust v1.2.0 [INFO] [stderr] Downloaded spade v2.14.0 [INFO] [stderr] Downloaded parry2d v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b17002a087246809bb0a39d3fc876e12a9f7528d02d8cc9bc0f9b4c2efa6256 [INFO] running `Command { std: "docker" "start" "-a" "7b17002a087246809bb0a39d3fc876e12a9f7528d02d8cc9bc0f9b4c2efa6256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b17002a087246809bb0a39d3fc876e12a9f7528d02d8cc9bc0f9b4c2efa6256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b17002a087246809bb0a39d3fc876e12a9f7528d02d8cc9bc0f9b4c2efa6256", kill_on_drop: false }` [INFO] [stdout] 7b17002a087246809bb0a39d3fc876e12a9f7528d02d8cc9bc0f9b4c2efa6256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68627f91fb7e095618ab854b825f4ab23bd54198561be547ec8721ed2fdf0a41 [INFO] running `Command { std: "docker" "start" "-a" "68627f91fb7e095618ab854b825f4ab23bd54198561be547ec8721ed2fdf0a41", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling terminfo v0.9.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling spade v2.14.0 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling clearscreen v4.0.2 [INFO] [stderr] Compiling nalgebra v0.33.2 [INFO] [stderr] Compiling parry2d v0.21.1 [INFO] [stderr] Compiling rapier2d v0.26.1 [INFO] [stderr] Compiling motor v0.2.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.99s [INFO] running `Command { std: "docker" "inspect" "68627f91fb7e095618ab854b825f4ab23bd54198561be547ec8721ed2fdf0a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68627f91fb7e095618ab854b825f4ab23bd54198561be547ec8721ed2fdf0a41", kill_on_drop: false }` [INFO] [stdout] 68627f91fb7e095618ab854b825f4ab23bd54198561be547ec8721ed2fdf0a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aa1f2fa71d26e97562b163231a89ab373f83ed6f339af5a01c9df4ea7167f9c [INFO] running `Command { std: "docker" "start" "-a" "5aa1f2fa71d26e97562b163231a89ab373f83ed6f339af5a01c9df4ea7167f9c", kill_on_drop: false }` [INFO] [stderr] Compiling motor v0.2.13 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [INFO] running `Command { std: "docker" "inspect" "5aa1f2fa71d26e97562b163231a89ab373f83ed6f339af5a01c9df4ea7167f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aa1f2fa71d26e97562b163231a89ab373f83ed6f339af5a01c9df4ea7167f9c", kill_on_drop: false }` [INFO] [stdout] 5aa1f2fa71d26e97562b163231a89ab373f83ed6f339af5a01c9df4ea7167f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 414d73e6f558148cc08bc5e91f6df6a683b69f957a3a19e700e48506b8dcdcfb [INFO] running `Command { std: "docker" "start" "-a" "414d73e6f558148cc08bc5e91f6df6a683b69f957a3a19e700e48506b8dcdcfb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/motor-82d32b3721925fb9) [INFO] [stderr] Doc-tests motor [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - Module::Position (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - new_entity (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - Vector2D (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - Input (line 127) ... FAILED [INFO] [stdout] test src/lib.rs - Entity::add_value (line 239) ... FAILED [INFO] [stdout] test src/lib.rs - Module::Controls (line 191) ... FAILED [INFO] [stdout] test src/lib.rs - Module::Sprite (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - Texture (line 79) ... FAILED [INFO] [stdout] test src/lib.rs - Texture::load (line 93) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Module::Position (line 168) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/lib.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 7 | let position = Module::Sprite(Vector2D::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - new_entity (line 12) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:18:65 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Vector2D (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/lib.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 7 | let position = Module::Position(Vector2D::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Input (line 127) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `motor::Controls` [INFO] [stdout] --> src/lib.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 5 | use motor::Controls; [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `Controls` in the root [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant instead [INFO] [stdout] | [INFO] [stdout] 5 | use motor::Module::Controls; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/lib.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 7 | let controls = Module::Controls(Input::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> src/lib.rs:131:33 [INFO] [stdout] | [INFO] [stdout] 7 | let controls = Module::Controls(Input::default()); [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Entity::add_value (line 239) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/lib.rs:241:58 [INFO] [stdout] | [INFO] [stdout] 5 | use motor::{Input, Vector2D, Texture, Module, new_entity} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 6 | [INFO] [stdout] 7 | let position = Module::Position(Vector2D::default()); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `control` in this scope [INFO] [stdout] --> src/lib.rs:247:46 [INFO] [stdout] | [INFO] [stdout] 11 | let player = new_entity!("Player", position, control, sprite); [INFO] [stdout] | ^^^^^^^ help: a local variable with a similar name exists: `controls` [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:245:65 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Module::Controls (line 191) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/lib.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sprite = Module::Sprite(Input::default()); [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Module::Sprite (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/lib.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 7 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:184:64 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_180_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Texture (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Module` [INFO] [stdout] --> src/lib.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 7 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^^ use of undeclared type `Module` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Module; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture` [INFO] [stdout] --> src/lib.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 7 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Texture` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use macroquad::ui::widgets::Texture; [INFO] [stdout] | [INFO] [stdout] 2 + use motor::Texture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:83:63 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_79_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let sprite = Module::Sprite(Texture::load("Path/To/File.png").await); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Texture::load (line 93) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:97:49 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_93_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 7 | let texture = Texture::load("Path/To/File.png").await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Entity::add_value (line 239) [INFO] [stdout] src/lib.rs - Input (line 127) [INFO] [stdout] src/lib.rs - Module::Controls (line 191) [INFO] [stdout] src/lib.rs - Module::Position (line 168) [INFO] [stdout] src/lib.rs - Module::Sprite (line 180) [INFO] [stdout] src/lib.rs - Texture (line 79) [INFO] [stdout] src/lib.rs - Texture::load (line 93) [INFO] [stdout] src/lib.rs - Vector2D (line 65) [INFO] [stdout] src/lib.rs - new_entity (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.51s; merged doctests compilation took 0.20s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "414d73e6f558148cc08bc5e91f6df6a683b69f957a3a19e700e48506b8dcdcfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "414d73e6f558148cc08bc5e91f6df6a683b69f957a3a19e700e48506b8dcdcfb", kill_on_drop: false }` [INFO] [stdout] 414d73e6f558148cc08bc5e91f6df6a683b69f957a3a19e700e48506b8dcdcfb