[INFO] fetching crate mquad 0.1.1... [INFO] testing mquad-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mquad 0.1.1 into /workspace/builds/worker-74/source [INFO] validating manifest of crates.io crate mquad 0.1.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mquad 0.1.1 [INFO] finished tweaking crates.io crate mquad 0.1.1 [INFO] tweaked toml for crates.io crate mquad 0.1.1 written to /workspace/builds/worker-74/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9854916cae30615927ed11fde28b9e769a7e51a15869add1f0ddd5ee9359541 [INFO] running `Command { std: "docker" "start" "-a" "f9854916cae30615927ed11fde28b9e769a7e51a15869add1f0ddd5ee9359541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9854916cae30615927ed11fde28b9e769a7e51a15869add1f0ddd5ee9359541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9854916cae30615927ed11fde28b9e769a7e51a15869add1f0ddd5ee9359541", kill_on_drop: false }` [INFO] [stdout] f9854916cae30615927ed11fde28b9e769a7e51a15869add1f0ddd5ee9359541 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee485a1461a8fbedee23efe6eda23e3ba6fee5198b8a93b0476a545be80f74df [INFO] running `Command { std: "docker" "start" "-a" "ee485a1461a8fbedee23efe6eda23e3ba6fee5198b8a93b0476a545be80f74df", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling quad-alsa-sys v0.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling sapp-linux v0.1.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling quad-snd v0.2.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling bytemuck v1.9.1 [INFO] [stderr] Compiling glam v0.14.0 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling dasp_frame v0.11.0 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling fontdue v0.5.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling miniquad v0.3.0-alpha.46 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling audrey v0.3.0 [INFO] [stderr] Compiling mquad v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `enabled` [INFO] [stdout] --> src/ui/widgets/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Window` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/widgets/window.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 57.05s [INFO] running `Command { std: "docker" "inspect" "ee485a1461a8fbedee23efe6eda23e3ba6fee5198b8a93b0476a545be80f74df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee485a1461a8fbedee23efe6eda23e3ba6fee5198b8a93b0476a545be80f74df", kill_on_drop: false }` [INFO] [stdout] ee485a1461a8fbedee23efe6eda23e3ba6fee5198b8a93b0476a545be80f74df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3aa51172fae53048876091f6ff8a3a4b9b0fca3843188b3bcf247e5d012aa211 [INFO] running `Command { std: "docker" "start" "-a" "3aa51172fae53048876091f6ff8a3a4b9b0fca3843188b3bcf247e5d012aa211", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nanoserde-derive v0.1.18 [INFO] [stderr] Compiling macroquad v0.3.10 [INFO] [stdout] warning: field is never read: `enabled` [INFO] [stdout] --> src/ui/widgets/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Window` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/widgets/window.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling macroquad-profiler v0.1.1 [INFO] [stderr] Compiling macroquad-particles v0.1.1 [INFO] [stderr] Compiling macroquad-platformer v0.1.2 [INFO] [stderr] Compiling nanoserde v0.1.29 [INFO] [stderr] Compiling macroquad-tiled v0.1.1 [INFO] [stderr] Compiling mquad v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `enabled` [INFO] [stdout] --> src/ui/widgets/window.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Window` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/widgets/window.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.34s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/mquad-4f07a6054ff5ceb9) [INFO] running `Command { std: "docker" "inspect" "3aa51172fae53048876091f6ff8a3a4b9b0fca3843188b3bcf247e5d012aa211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aa51172fae53048876091f6ff8a3a4b9b0fca3843188b3bcf247e5d012aa211", kill_on_drop: false }` [INFO] [stdout] 3aa51172fae53048876091f6ff8a3a4b9b0fca3843188b3bcf247e5d012aa211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6e3c0e07e6e5e2807c65067d41ad8d1608b9b44bbc67d3f9d964cde4e144bf10 [INFO] running `Command { std: "docker" "start" "-a" "6e3c0e07e6e5e2807c65067d41ad8d1608b9b44bbc67d3f9d964cde4e144bf10", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `enabled` [INFO] [stderr] --> src/ui/widgets/window.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | enabled: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Window` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/widgets/window.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `mquad` (lib) generated 1 warning [INFO] [stderr] warning: `mquad` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mquad-4f07a6054ff5ceb9) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test color::color_from_bytes ... ok [INFO] [stdout] test material::shaders::preprocessor_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests mquad [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/text.rs - text::load_ttf_font_from_bytes (line 245) ... ignored [INFO] [stdout] test src/ui.rs - ui (line 6) ... ignored [INFO] [stdout] test src/window.rs - window::set_panic_handler (line 76) ... ignored [INFO] [stdout] test src/texture.rs - texture::Texture2D::from_rgba8 (line 515) ... FAILED [INFO] [stdout] test src/texture.rs - texture::Image::from_file_with_format (line 55) ... FAILED [INFO] [stdout] test src/texture.rs - texture::Texture2D::from_file_with_format (line 469) ... FAILED [INFO] [stdout] test src/texture.rs - texture::Texture2D::set_filter (line 560) ... FAILED [INFO] [stdout] test src/texture.rs - texture::Image::empty (line 36) ... FAILED [INFO] [stdout] test src/experimental/collections.rs - experimental::collections::storage (line 8) ... FAILED [INFO] [stdout] test src/texture.rs - texture::Texture2D::empty (line 450) ... FAILED [INFO] [stdout] test src/lib.rs - (line 21) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/texture.rs - texture::Texture2D::from_rgba8 (line 515) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:516:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:517:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[macroquad::main("test")] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture2D` [INFO] [stdout] --> src/texture.rs:521:15 [INFO] [stdout] | [INFO] [stdout] 7 | let texture = Texture2D::from_rgba8(2, 2, &bytes); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::Texture2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/texture.rs:518:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/texture.rs - texture::Image::from_file_with_format (line 55) stdout ---- [INFO] [stdout] error: couldn't read src/../examples/rust.png: No such file or directory (os error 2) [INFO] [stdout] --> src/texture.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 5 | include_bytes!("../examples/rust.png"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ImageFormat` [INFO] [stdout] --> src/texture.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 6 | Some(ImageFormat::Png), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ImageFormat` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/texture.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 4 | let icon = Image::from_file_with_format( [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/texture.rs - texture::Texture2D::from_file_with_format (line 469) stdout ---- [INFO] [stdout] error: couldn't read src/../examples/rust.png: No such file or directory (os error 2) [INFO] [stdout] --> src/texture.rs:474:5 [INFO] [stdout] | [INFO] [stdout] 6 | include_bytes!("../examples/rust.png"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:470:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:471:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[macroquad::main("test")] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture2D` [INFO] [stdout] --> src/texture.rs:473:15 [INFO] [stdout] | [INFO] [stdout] 5 | let texture = Texture2D::from_file_with_format( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::Texture2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/texture.rs:472:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/texture.rs - texture::Texture2D::set_filter (line 560) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:562:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[macroquad::main("test")] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilterMode` [INFO] [stdout] --> src/texture.rs:565:20 [INFO] [stdout] | [INFO] [stdout] 6 | texture.set_filter(FilterMode::Linear); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FilterMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture2D` [INFO] [stdout] --> src/texture.rs:564:15 [INFO] [stdout] | [INFO] [stdout] 5 | let texture = Texture2D::empty(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::Texture2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/texture.rs:563:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/texture.rs - texture::Image::empty (line 36) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Image` [INFO] [stdout] --> src/texture.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 4 | let image = Image::empty(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/experimental/collections.rs - experimental::collections::storage (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/experimental/collections.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use macroquad::experimental::collections::storage; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/experimental/collections.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 8 | let boundaries: i32 = storage::get::().0; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `storage` [INFO] [stdout] --> src/experimental/collections.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 12 | storage::store(WorldBoundaries(23)); [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `storage` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/texture.rs - texture::Texture2D::empty (line 450) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:451:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/texture.rs:452:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[macroquad::main("test")] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Texture2D` [INFO] [stdout] --> src/texture.rs:454:15 [INFO] [stdout] | [INFO] [stdout] 5 | let texture = Texture2D::empty(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::Texture2D; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/texture.rs:453:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 2 | use macroquad::prelude::*; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `macroquad` [INFO] [stdout] --> src/lib.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[macroquad::main("BasicShapes")] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `macroquad` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `clear_background` in this scope [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 7 | clear_background(RED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::clear_background; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RED` in this scope [INFO] [stdout] --> src/lib.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 7 | clear_background(RED); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::RED; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_line` in this scope [INFO] [stdout] --> src/lib.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 9 | draw_line(40.0, 40.0, 100.0, 200.0, 15.0, BLUE); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::draw_line; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BLUE` in this scope [INFO] [stdout] --> src/lib.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 9 | draw_line(40.0, 40.0, 100.0, 200.0, 15.0, BLUE); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::BLUE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_rectangle` in this scope [INFO] [stdout] --> src/lib.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 10 | draw_rectangle(screen_width() / 2.0 - 60.0, 100.0, 120.0, 60.0, GREEN); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::draw_rectangle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/lib.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 10 | draw_rectangle(screen_width() / 2.0 - 60.0, 100.0, 120.0, 60.0, GREEN); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `GREEN` in this scope [INFO] [stdout] --> src/lib.rs:30:73 [INFO] [stdout] | [INFO] [stdout] 10 | draw_rectangle(screen_width() / 2.0 - 60.0, 100.0, 120.0, 60.0, GREEN); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::GREEN; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_circle` in this scope [INFO] [stdout] --> src/lib.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 11 | draw_circle(screen_width() - 30.0, screen_height() - 30.0, 15.0, YELLOW); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::draw_circle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_width` in this scope [INFO] [stdout] --> src/lib.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 11 | draw_circle(screen_width() - 30.0, screen_height() - 30.0, 15.0, YELLOW); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::screen_width; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `screen_height` in this scope [INFO] [stdout] --> src/lib.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 11 | draw_circle(screen_width() - 30.0, screen_height() - 30.0, 15.0, YELLOW); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::screen_height; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `YELLOW` in this scope [INFO] [stdout] --> src/lib.rs:31:74 [INFO] [stdout] | [INFO] [stdout] 11 | draw_circle(screen_width() - 30.0, screen_height() - 30.0, 15.0, YELLOW); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::YELLOW; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `draw_text` in this scope [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 12 | draw_text("HELLO", 20.0, 20.0, 20.0, DARKGRAY); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::draw_text; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DARKGRAY` in this scope [INFO] [stdout] --> src/lib.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 12 | draw_text("HELLO", 20.0, 20.0, 20.0, DARKGRAY); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::DARKGRAY; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `next_frame` in this scope [INFO] [stdout] --> src/lib.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 14 | next_frame().await [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use mquad::prelude::next_frame; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 5 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0752. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/experimental/collections.rs - experimental::collections::storage (line 8) [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] src/texture.rs - texture::Image::empty (line 36) [INFO] [stdout] src/texture.rs - texture::Image::from_file_with_format (line 55) [INFO] [stdout] src/texture.rs - texture::Texture2D::empty (line 450) [INFO] [stdout] src/texture.rs - texture::Texture2D::from_file_with_format (line 469) [INFO] [stdout] src/texture.rs - texture::Texture2D::from_rgba8 (line 515) [INFO] [stdout] src/texture.rs - texture::Texture2D::set_filter (line 560) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 3 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6e3c0e07e6e5e2807c65067d41ad8d1608b9b44bbc67d3f9d964cde4e144bf10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3c0e07e6e5e2807c65067d41ad8d1608b9b44bbc67d3f9d964cde4e144bf10", kill_on_drop: false }` [INFO] [stdout] 6e3c0e07e6e5e2807c65067d41ad8d1608b9b44bbc67d3f9d964cde4e144bf10