[INFO] fetching crate motor 0.2.13... [INFO] testing motor-0.2.13 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate motor 0.2.13 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate motor 0.2.13 [INFO] finished tweaking crates.io crate motor 0.2.13 [INFO] tweaked toml for crates.io crate motor 0.2.13 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate motor 0.2.13 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate motor 0.2.13 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c860b5be214f5f4f7b17db4b782b7342dcba5f5804c82dc95eea9e1f5fff8a49 [INFO] running `Command { std: "docker" "start" "-a" "c860b5be214f5f4f7b17db4b782b7342dcba5f5804c82dc95eea9e1f5fff8a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c860b5be214f5f4f7b17db4b782b7342dcba5f5804c82dc95eea9e1f5fff8a49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c860b5be214f5f4f7b17db4b782b7342dcba5f5804c82dc95eea9e1f5fff8a49", kill_on_drop: false }` [INFO] [stdout] c860b5be214f5f4f7b17db4b782b7342dcba5f5804c82dc95eea9e1f5fff8a49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84394c3d8ed5a54211952d7acd4653d9909a05fc726b563480db739d0ce6425d [INFO] running `Command { std: "docker" "start" "-a" "84394c3d8ed5a54211952d7acd4653d9909a05fc726b563480db739d0ce6425d", 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 bytemuck v1.23.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling terminfo v0.9.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling getrandom v0.3.3 [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 thiserror-impl v2.0.12 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling thiserror v2.0.12 [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 27.74s [INFO] running `Command { std: "docker" "inspect" "84394c3d8ed5a54211952d7acd4653d9909a05fc726b563480db739d0ce6425d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84394c3d8ed5a54211952d7acd4653d9909a05fc726b563480db739d0ce6425d", kill_on_drop: false }` [INFO] [stdout] 84394c3d8ed5a54211952d7acd4653d9909a05fc726b563480db739d0ce6425d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa31e6a5f238511a3a738a488b132229c16f05c8d11ffbcbff2921270893b418 [INFO] running `Command { std: "docker" "start" "-a" "fa31e6a5f238511a3a738a488b132229c16f05c8d11ffbcbff2921270893b418", 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.40s [INFO] running `Command { std: "docker" "inspect" "fa31e6a5f238511a3a738a488b132229c16f05c8d11ffbcbff2921270893b418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa31e6a5f238511a3a738a488b132229c16f05c8d11ffbcbff2921270893b418", kill_on_drop: false }` [INFO] [stdout] fa31e6a5f238511a3a738a488b132229c16f05c8d11ffbcbff2921270893b418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3842ca5dc2bfcd77bbebb8fddb7c3004332223a20104beb254b07e385ef6321b [INFO] running `Command { std: "docker" "start" "-a" "3842ca5dc2bfcd77bbebb8fddb7c3004332223a20104beb254b07e385ef6321b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/motor-9c14218edb788a54) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests motor [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 - Texture::load (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - new_entity (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - Module::Controls (line 191) ... FAILED [INFO] [stdout] test src/lib.rs - Vector2D (line 65) ... FAILED [INFO] [stdout] test src/lib.rs - Module::Position (line 168) ... 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::Sprite (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - Texture (line 79) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 - 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 - 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 - 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 - 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::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] [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.20s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.32s; merged doctests compilation took 0.12s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "3842ca5dc2bfcd77bbebb8fddb7c3004332223a20104beb254b07e385ef6321b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3842ca5dc2bfcd77bbebb8fddb7c3004332223a20104beb254b07e385ef6321b", kill_on_drop: false }` [INFO] [stdout] 3842ca5dc2bfcd77bbebb8fddb7c3004332223a20104beb254b07e385ef6321b