[INFO] fetching crate quad-gif 0.4.0... [INFO] testing quad-gif-0.4.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate quad-gif 0.4.0 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quad-gif 0.4.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4526c0ff19622ce6237eae193e843bfd30951198d65d3f32f7699a0947e8650 [INFO] running `Command { std: "docker" "start" "-a" "d4526c0ff19622ce6237eae193e843bfd30951198d65d3f32f7699a0947e8650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4526c0ff19622ce6237eae193e843bfd30951198d65d3f32f7699a0947e8650", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4526c0ff19622ce6237eae193e843bfd30951198d65d3f32f7699a0947e8650", kill_on_drop: false }` [INFO] [stdout] d4526c0ff19622ce6237eae193e843bfd30951198d65d3f32f7699a0947e8650 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aceda69384cc1b77bfa00ff23a868469dffa8cdd76e216a54b788e2934bad2c9 [INFO] running `Command { std: "docker" "start" "-a" "aceda69384cc1b77bfa00ff23a868469dffa8cdd76e216a54b788e2934bad2c9", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling cfg-if v1.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 foldhash v0.1.5 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling gif-dispose v3.1.1 [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 quad-gif v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.00s [INFO] running `Command { std: "docker" "inspect" "aceda69384cc1b77bfa00ff23a868469dffa8cdd76e216a54b788e2934bad2c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aceda69384cc1b77bfa00ff23a868469dffa8cdd76e216a54b788e2934bad2c9", kill_on_drop: false }` [INFO] [stdout] aceda69384cc1b77bfa00ff23a868469dffa8cdd76e216a54b788e2934bad2c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 774c81fcbc45ae7f9ffb729e487aee862773dead67fc83b0ff8d8d3f7f8e339a [INFO] running `Command { std: "docker" "start" "-a" "774c81fcbc45ae7f9ffb729e487aee862773dead67fc83b0ff8d8d3f7f8e339a", 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.24s [INFO] running `Command { std: "docker" "inspect" "774c81fcbc45ae7f9ffb729e487aee862773dead67fc83b0ff8d8d3f7f8e339a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774c81fcbc45ae7f9ffb729e487aee862773dead67fc83b0ff8d8d3f7f8e339a", kill_on_drop: false }` [INFO] [stdout] 774c81fcbc45ae7f9ffb729e487aee862773dead67fc83b0ff8d8d3f7f8e339a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7159936d83ed96095ae4c65ba90eae5b486c4086a8e228fe1f38af4164e2e01 [INFO] running `Command { std: "docker" "start" "-a" "b7159936d83ed96095ae4c65ba90eae5b486c4086a8e228fe1f38af4164e2e01", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quad_gif-a7be78c736a797cf) [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-942a8031640c02f1) [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 7 tests [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::toggle_paused (line 146) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::draw_at (line 116) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::draw (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::load (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::from_gif_bytes (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - GifAnimation::tick (line 132) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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::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_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 - 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::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] ---- 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::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] [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.15s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.32s; merged doctests compilation took 0.17s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b7159936d83ed96095ae4c65ba90eae5b486c4086a8e228fe1f38af4164e2e01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7159936d83ed96095ae4c65ba90eae5b486c4086a8e228fe1f38af4164e2e01", kill_on_drop: false }` [INFO] [stdout] b7159936d83ed96095ae4c65ba90eae5b486c4086a8e228fe1f38af4164e2e01