[INFO] fetching crate quad-gif 0.4.0...
[INFO] testing quad-gif-0.4.0 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate quad-gif 0.4.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate quad-gif 0.4.0
[INFO] finished tweaking crates.io crate quad-gif 0.4.0
[INFO] tweaked toml for crates.io crate quad-gif 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate quad-gif 0.4.0 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate quad-gif 0.4.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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 45828617f6a00542a517fb691604b7092b2764d14847b811dcc7717a16955574
[INFO] running `Command { std: "docker" "start" "-a" "45828617f6a00542a517fb691604b7092b2764d14847b811dcc7717a16955574", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "45828617f6a00542a517fb691604b7092b2764d14847b811dcc7717a16955574", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45828617f6a00542a517fb691604b7092b2764d14847b811dcc7717a16955574", kill_on_drop: false }`
[INFO] [stdout] 45828617f6a00542a517fb691604b7092b2764d14847b811dcc7717a16955574
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a23a16b45b8045ae55d234db532434b4c9a195a875ebb84889be9c6261240a8c
[INFO] running `Command { std: "docker" "start" "-a" "a23a16b45b8045ae55d234db532434b4c9a195a875ebb84889be9c6261240a8c", kill_on_drop: false }`
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling bytemuck v1.23.0
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling miniquad v0.4.8
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling ttf-parser v0.21.1
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling macroquad_macro v0.1.8
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling imgref v1.11.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.8
[INFO] [stderr]    Compiling fdeflate v0.3.7
[INFO] [stderr]    Compiling glam v0.27.0
[INFO] [stderr]    Compiling quad-rand v0.2.3
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling flate2 v1.1.1
[INFO] [stderr]    Compiling hashbrown v0.15.3
[INFO] [stderr]    Compiling gif-dispose v3.1.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling image v0.24.9
[INFO] [stderr]    Compiling fontdue v0.9.3
[INFO] [stderr]    Compiling macroquad v0.4.14
[INFO] [stderr]    Compiling quad-gif v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.36s
[INFO] running `Command { std: "docker" "inspect" "a23a16b45b8045ae55d234db532434b4c9a195a875ebb84889be9c6261240a8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a23a16b45b8045ae55d234db532434b4c9a195a875ebb84889be9c6261240a8c", kill_on_drop: false }`
[INFO] [stdout] a23a16b45b8045ae55d234db532434b4c9a195a875ebb84889be9c6261240a8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 993aab43259d794ca27c280f9f33e7af0cfa7fb8ca7c944c1ec6045d1a849153
[INFO] running `Command { std: "docker" "start" "-a" "993aab43259d794ca27c280f9f33e7af0cfa7fb8ca7c944c1ec6045d1a849153", kill_on_drop: false }`
[INFO] [stderr]    Compiling quad-gif v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s
[INFO] running `Command { std: "docker" "inspect" "993aab43259d794ca27c280f9f33e7af0cfa7fb8ca7c944c1ec6045d1a849153", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "993aab43259d794ca27c280f9f33e7af0cfa7fb8ca7c944c1ec6045d1a849153", kill_on_drop: false }`
[INFO] [stdout] 993aab43259d794ca27c280f9f33e7af0cfa7fb8ca7c944c1ec6045d1a849153
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0e6235b2abc5011e1ca5bd7a73c8a987d6791af59d00042a7912d7d8edb367be
[INFO] running `Command { std: "docker" "start" "-a" "0e6235b2abc5011e1ca5bd7a73c8a987d6791af59d00042a7912d7d8edb367be", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quad_gif-b95410d71f154f4e)
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/quad_gif-f2e4146a70f559bf)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests quad_gif
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test src/lib.rs - GifAnimation::toggle_paused (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - GifAnimation::draw (line 107) ... FAILED
[INFO] [stdout] test src/lib.rs - GifAnimation::tick (line 132) ... FAILED
[INFO] [stdout] test src/lib.rs - GifAnimation::draw_at (line 116) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 6) ... FAILED
[INFO] [stdout] test src/lib.rs - GifAnimation::from_gif_bytes (line 66) ... FAILED
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/lib.rs - GifAnimation::load (line 56) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - GifAnimation::toggle_paused (line 146) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope
[INFO] [stdout]  --> src/lib.rs:147:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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::draw (line 107) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope
[INFO] [stdout]  --> src/lib.rs:108:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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::tick (line 132) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope
[INFO] [stdout]  --> src/lib.rs:133:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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::draw_at (line 116) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `gif_animation` in this scope
[INFO] [stdout]  --> src/lib.rs:117:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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 - (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] 3 | extern crate r#quad_gif;
[INFO] [stdout]   | ------------------------ previous import of the extern crate `quad_gif` here
[INFO] [stdout] 4 | use macroquad::prelude::*;
[INFO] [stdout] 5 | 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] ---- src/lib.rs - GifAnimation::from_gif_bytes (line 66) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:67:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | let bytes: [u8] = ...
[INFO] [stdout]   |                   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 - let bytes: [u8] = ...
[INFO] [stdout] 3 + let bytes: [u8] = ..
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 - let bytes: [u8] = ...
[INFO] [stdout] 3 + let bytes: [u8] = ..=
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `let` statement
[INFO] [stdout]  --> src/lib.rs:68:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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]: failed to resolve: use of undeclared type `GifAnimation`
[INFO] [stdout]  --> src/lib.rs:68:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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] 2 + use quad_gif::GifAnimation;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `bytes` in this scope
[INFO] [stdout]  --> src/lib.rs:68:55
[INFO] [stdout]   |
[INFO] [stdout] 4 | 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:67:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 3 | 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 (line 56) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GifAnimation`
[INFO] [stdout]  --> src/lib.rs:57:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_56_0() {
[INFO] [stdout]   |                                      ---------------------------------- this is not `async`
[INFO] [stdout] 3 | 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 6)
[INFO] [stdout]     src/lib.rs - GifAnimation::draw (line 107)
[INFO] [stdout]     src/lib.rs - GifAnimation::draw_at (line 116)
[INFO] [stdout]     src/lib.rs - GifAnimation::from_gif_bytes (line 66)
[INFO] [stdout]     src/lib.rs - GifAnimation::load (line 56)
[INFO] [stdout]     src/lib.rs - GifAnimation::tick (line 132)
[INFO] [stdout]     src/lib.rs - GifAnimation::toggle_paused (line 146)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0e6235b2abc5011e1ca5bd7a73c8a987d6791af59d00042a7912d7d8edb367be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e6235b2abc5011e1ca5bd7a73c8a987d6791af59d00042a7912d7d8edb367be", kill_on_drop: false }`
[INFO] [stdout] 0e6235b2abc5011e1ca5bd7a73c8a987d6791af59d00042a7912d7d8edb367be
