[INFO] fetching crate motor 0.2.13... [INFO] testing motor-0.2.13 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate motor 0.2.13 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate motor 0.2.13 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clearscreen v4.0.2 [INFO] [stderr] Downloaded rapier2d v0.26.1 [INFO] [stderr] Downloaded parry2d v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5c8e876540dca5a16e6098f577697426148c94d334f915a34973bf67a67d773 [INFO] running `Command { std: "docker" "start" "-a" "c5c8e876540dca5a16e6098f577697426148c94d334f915a34973bf67a67d773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5c8e876540dca5a16e6098f577697426148c94d334f915a34973bf67a67d773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c8e876540dca5a16e6098f577697426148c94d334f915a34973bf67a67d773", kill_on_drop: false }` [INFO] [stdout] c5c8e876540dca5a16e6098f577697426148c94d334f915a34973bf67a67d773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bd77f2ff6a2bc4f0ee1d0d949e290a5e57c94b5832232aa156c446e93efe6ed [INFO] running `Command { std: "docker" "start" "-a" "0bd77f2ff6a2bc4f0ee1d0d949e290a5e57c94b5832232aa156c446e93efe6ed", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling robust v1.2.0 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling ordered-float v5.0.0 [INFO] [stderr] Compiling env_home v0.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling downcast-rs v2.0.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling which v8.0.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling terminfo v0.9.0 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling spade v2.14.0 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling rand_core v0.9.3 [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 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 40.88s [INFO] running `Command { std: "docker" "inspect" "0bd77f2ff6a2bc4f0ee1d0d949e290a5e57c94b5832232aa156c446e93efe6ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bd77f2ff6a2bc4f0ee1d0d949e290a5e57c94b5832232aa156c446e93efe6ed", kill_on_drop: false }` [INFO] [stdout] 0bd77f2ff6a2bc4f0ee1d0d949e290a5e57c94b5832232aa156c446e93efe6ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d45cdcc4e121f023a9d4b4c9ea8482568a200c13b8db583956c89d1fa54afb2 [INFO] running `Command { std: "docker" "start" "-a" "0d45cdcc4e121f023a9d4b4c9ea8482568a200c13b8db583956c89d1fa54afb2", 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.68s [INFO] running `Command { std: "docker" "inspect" "0d45cdcc4e121f023a9d4b4c9ea8482568a200c13b8db583956c89d1fa54afb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d45cdcc4e121f023a9d4b4c9ea8482568a200c13b8db583956c89d1fa54afb2", kill_on_drop: false }` [INFO] [stdout] 0d45cdcc4e121f023a9d4b4c9ea8482568a200c13b8db583956c89d1fa54afb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52e1d368c3aa36d74d229f9ffd1e1f44ddb51eec88d9bd669bbb3bcd865cf4d9 [INFO] running `Command { std: "docker" "start" "-a" "52e1d368c3aa36d74d229f9ffd1e1f44ddb51eec88d9bd669bbb3bcd865cf4d9", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/motor-82d32b3721925fb9) [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] [stderr] Doc-tests motor [INFO] [stdout] [INFO] [stdout] running 9 tests [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 - Texture::load (line 93) ... FAILED [INFO] [stdout] test src/lib.rs - Vector2D (line 65) ... 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 - new_entity (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - Module::Position (line 168) ... FAILED [INFO] [stdout] test src/lib.rs - Module::Controls (line 191) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 - 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 - 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::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 - 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::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 - 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] [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.60s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.85s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "52e1d368c3aa36d74d229f9ffd1e1f44ddb51eec88d9bd669bbb3bcd865cf4d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e1d368c3aa36d74d229f9ffd1e1f44ddb51eec88d9bd669bbb3bcd865cf4d9", kill_on_drop: false }` [INFO] [stdout] 52e1d368c3aa36d74d229f9ffd1e1f44ddb51eec88d9bd669bbb3bcd865cf4d9