[INFO] fetching crate quad-gif 0.5.0... [INFO] testing quad-gif-0.5.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate quad-gif 0.5.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate quad-gif 0.5.0 [INFO] finished tweaking crates.io crate quad-gif 0.5.0 [INFO] tweaked toml for crates.io crate quad-gif 0.5.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate quad-gif 0.5.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quad-gif 0.5.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded objc-rs v0.2.8 [INFO] [stderr] Downloaded macroquad_macro v0.1.8 [INFO] [stderr] Downloaded quad-rand v0.2.3 [INFO] [stderr] Downloaded gif-dispose v3.1.1 [INFO] [stderr] Downloaded clap_lex v0.7.7 [INFO] [stderr] Downloaded clap v4.5.57 [INFO] [stderr] Downloaded ttf-parser v0.21.1 [INFO] [stderr] Downloaded fontdue v0.9.3 [INFO] [stderr] Downloaded miniquad v0.4.8 [INFO] [stderr] Downloaded clap_builder v4.5.57 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded gif v0.11.4 [INFO] [stderr] Downloaded macroquad v0.4.14 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95edb582b74503a228201566a91de96526a2528e4bc59642306fda5dfe8c3699 [INFO] running `Command { std: "docker" "start" "-a" "95edb582b74503a228201566a91de96526a2528e4bc59642306fda5dfe8c3699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95edb582b74503a228201566a91de96526a2528e4bc59642306fda5dfe8c3699", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95edb582b74503a228201566a91de96526a2528e4bc59642306fda5dfe8c3699", kill_on_drop: false }` [INFO] [stdout] 95edb582b74503a228201566a91de96526a2528e4bc59642306fda5dfe8c3699 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3d92d9ebc88d6ac9f30bf28346f984563a80c9e6a0fabaf2dcca9bad3148ff2 [INFO] running `Command { std: "docker" "start" "-a" "f3d92d9ebc88d6ac9f30bf28346f984563a80c9e6a0fabaf2dcca9bad3148ff2", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.8 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling libc v0.2.181 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling clap_builder v4.5.57 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling gif-dispose v3.1.1 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling fontdue v0.9.3 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling macroquad v0.4.14 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling clap v4.5.57 [INFO] [stderr] Compiling quad-gif v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.85s [INFO] running `Command { std: "docker" "inspect" "f3d92d9ebc88d6ac9f30bf28346f984563a80c9e6a0fabaf2dcca9bad3148ff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3d92d9ebc88d6ac9f30bf28346f984563a80c9e6a0fabaf2dcca9bad3148ff2", kill_on_drop: false }` [INFO] [stdout] f3d92d9ebc88d6ac9f30bf28346f984563a80c9e6a0fabaf2dcca9bad3148ff2 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df82c3622659351b36f9fefc77a631e176f22ef2258c307fa48b781ec15e2ecc [INFO] running `Command { std: "docker" "start" "-a" "df82c3622659351b36f9fefc77a631e176f22ef2258c307fa48b781ec15e2ecc", kill_on_drop: false }` [INFO] [stderr] Compiling quad-gif v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "df82c3622659351b36f9fefc77a631e176f22ef2258c307fa48b781ec15e2ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df82c3622659351b36f9fefc77a631e176f22ef2258c307fa48b781ec15e2ecc", kill_on_drop: false }` [INFO] [stdout] df82c3622659351b36f9fefc77a631e176f22ef2258c307fa48b781ec15e2ecc [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8b1824f77e2263491184308d96dd142605fe8cb065d13ebf7492176bdeb171ed [INFO] running `Command { std: "docker" "start" "-a" "8b1824f77e2263491184308d96dd142605fe8cb065d13ebf7492176bdeb171ed", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quad_gif-a3980991c3ec046e) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/quad_gif-b40adb0bb7683633) [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 quad_gif [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - GifAnimation::draw (line 136) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::toggle_paused (line 175) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::load (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::from_gif_bytes (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::load_with_filter_mode (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::draw_at (line 145) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::tick (line 161) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::from_gif_bytes_with_filter_mode (line 91) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - GifAnimation::draw (line 136) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | gif_animation.draw(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GifAnimation::toggle_paused (line 175) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope [INFO] [stdout] --> src/lib.rs:176:1 [INFO] [stdout] | [INFO] [stdout] 176 | gif_animation.toggle_paused(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GifAnimation::load (line 56) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `GifAnimation` in this scope [INFO] [stdout] --> src/lib.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | let mut gif_animation = GifAnimation::load("filename.gif").await; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GifAnimation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 56 + use quad_gif::GifAnimation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:57:60 [INFO] [stdout] | [INFO] [stdout] 56 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_56_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 57 | let mut gif_animation = GifAnimation::load("filename.gif").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 - GifAnimation::from_gif_bytes (line 78) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | let bytes: [u8] = ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 79 - let bytes: [u8] = ... [INFO] [stdout] 79 + let bytes: [u8] = .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 79 - let bytes: [u8] = ... [INFO] [stdout] 79 + let bytes: [u8] = ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | let mut gif_animation = GifAnimation::from_gif_bytes(&bytes); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `GifAnimation` in this scope [INFO] [stdout] --> src/lib.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let mut gif_animation = GifAnimation::from_gif_bytes(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GifAnimation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 78 + use quad_gif::GifAnimation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bytes` in this scope [INFO] [stdout] --> src/lib.rs:80:55 [INFO] [stdout] | [INFO] [stdout] 80 | let mut gif_animation = GifAnimation::from_gif_bytes(&bytes); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | let bytes: [u8] = ... [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 79 | let bytes: &[u8] = ... [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GifAnimation::load_with_filter_mode (line 68) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `GifAnimation` in this scope [INFO] [stdout] --> src/lib.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let mut gif_animation = GifAnimation::load_with_filter_mode("filename.gif", FilterMode::Nearest).await; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GifAnimation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 68 + use quad_gif::GifAnimation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `FilterMode` in this scope [INFO] [stdout] --> src/lib.rs:69:77 [INFO] [stdout] | [INFO] [stdout] 69 | let mut gif_animation = GifAnimation::load_with_filter_mode("filename.gif", FilterMode::Nearest).await; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `FilterMode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 68 + use macroquad::prelude::FilterMode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:69:98 [INFO] [stdout] | [INFO] [stdout] 68 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_68_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] 69 | let mut gif_animation = GifAnimation::load_with_filter_mode("filename.gif", FilterMode::Nearest).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 - GifAnimation::draw_at (line 145) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope [INFO] [stdout] --> src/lib.rs:146:1 [INFO] [stdout] | [INFO] [stdout] 146 | gif_animation.draw_at(42.0, 47.0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GifAnimation::tick (line 161) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope [INFO] [stdout] --> src/lib.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | gif_animation.tick(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - GifAnimation::from_gif_bytes_with_filter_mode (line 91) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | let bytes: [u8] = ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 92 - let bytes: [u8] = ... [INFO] [stdout] 92 + let bytes: [u8] = .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 92 - let bytes: [u8] = ... [INFO] [stdout] 92 + let bytes: [u8] = ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected expression, found `let` statement [INFO] [stdout] --> src/lib.rs:93:1 [INFO] [stdout] | [INFO] [stdout] 93 | let mut gif_animation = GifAnimation::from_gif_bytes(&bytes); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: only supported directly in conditions of `if` and `while` expressions [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `GifAnimation` in this scope [INFO] [stdout] --> src/lib.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let mut gif_animation = GifAnimation::from_gif_bytes(&bytes); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GifAnimation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 91 + use quad_gif::GifAnimation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bytes` in this scope [INFO] [stdout] --> src/lib.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | let mut gif_animation = GifAnimation::from_gif_bytes(&bytes); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | let bytes: [u8] = ... [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 92 | let bytes: &[u8] = ... [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0254]: the name `quad_gif` is defined multiple times [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate r#quad_gif; [INFO] [stdout] | ------------------------ previous import of the extern crate `quad_gif` here [INFO] [stdout] 8 | use macroquad::prelude::*; [INFO] [stdout] 9 | use quad_gif; [INFO] [stdout] | ^^^^^^^^ `quad_gif` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `quad_gif` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0254`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/lib.rs - GifAnimation::draw (line 136) [INFO] [stdout] src/lib.rs - GifAnimation::draw_at (line 145) [INFO] [stdout] src/lib.rs - GifAnimation::from_gif_bytes (line 78) [INFO] [stdout] src/lib.rs - GifAnimation::from_gif_bytes_with_filter_mode (line 91) [INFO] [stdout] src/lib.rs - GifAnimation::load (line 56) [INFO] [stdout] src/lib.rs - GifAnimation::load_with_filter_mode (line 68) [INFO] [stdout] src/lib.rs - GifAnimation::tick (line 161) [INFO] [stdout] src/lib.rs - GifAnimation::toggle_paused (line 175) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.63s; merged doctests compilation took 0.26s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8b1824f77e2263491184308d96dd142605fe8cb065d13ebf7492176bdeb171ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1824f77e2263491184308d96dd142605fe8cb065d13ebf7492176bdeb171ed", kill_on_drop: false }` [INFO] [stdout] 8b1824f77e2263491184308d96dd142605fe8cb065d13ebf7492176bdeb171ed