[INFO] cloning repository https://github.com/gmelodie/rust-game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gmelodie/rust-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmelodie%2Frust-game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmelodie%2Frust-game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 12fc1ca84784ed1d7abb358747b3bd9822d9542c
[INFO] testing gmelodie/rust-game against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgmelodie%2Frust-game" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gmelodie/rust-game
[INFO] finished tweaking git repo https://github.com/gmelodie/rust-game
[INFO] tweaked toml for git repo https://github.com/gmelodie/rust-game written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gmelodie/rust-game on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gmelodie/rust-game 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quad-rand v0.2.1
[INFO] [stderr]   Downloaded macroquad_macro v0.1.7
[INFO] [stderr]   Downloaded audrey v0.3.0
[INFO] [stderr]   Downloaded dasp_frame v0.11.0
[INFO] [stderr]   Downloaded quad-alsa-sys v0.3.2
[INFO] [stderr]   Downloaded dasp_sample v0.11.0
[INFO] [stderr]   Downloaded audir-sles v0.1.0
[INFO] [stderr]   Downloaded ogg v0.7.1
[INFO] [stderr]   Downloaded hound v3.5.0
[INFO] [stderr]   Downloaded bytemuck v1.13.0
[INFO] [stderr]   Downloaded lewton v0.9.4
[INFO] [stderr]   Downloaded miniz_oxide v0.6.3
[INFO] [stderr]   Downloaded bumpalo v3.12.0
[INFO] [stderr]   Downloaded png v0.17.7
[INFO] [stderr]   Downloaded fontdue v0.7.2
[INFO] [stderr]   Downloaded miniquad v0.3.14
[INFO] [stderr]   Downloaded image v0.24.5
[INFO] [stderr]   Downloaded macroquad v0.3.25
[INFO] [stderr]   Downloaded quad-snd v0.2.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45
[INFO] running `Command { std: "docker" "start" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling quad-alsa-sys v0.3.2
[INFO] [stderr]    Compiling miniz_oxide v0.6.3
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling once_cell v1.17.0
[INFO] [stderr]    Compiling ogg v0.7.1
[INFO] [stderr]    Compiling dasp_sample v0.11.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling hound v3.5.0
[INFO] [stderr]    Compiling quad-snd v0.2.7
[INFO] [stderr]    Compiling miniquad v0.3.14
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling dasp_frame v0.11.0
[INFO] [stderr]    Compiling bytemuck v1.13.0
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling lewton v0.9.4
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling png v0.17.7
[INFO] [stderr]    Compiling quad-rand v0.2.1
[INFO] [stderr]    Compiling glam v0.21.3
[INFO] [stderr]    Compiling macroquad_macro v0.1.7
[INFO] [stderr]    Compiling bumpalo v3.12.0
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling fontdue v0.7.2
[INFO] [stderr]    Compiling image v0.24.5
[INFO] [stderr]    Compiling audrey v0.3.0
[INFO] [stderr]    Compiling macroquad v0.3.25
[INFO] [stderr]    Compiling game-rust v0.1.67 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/input_manager.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut key_state = self.keys_pressed.get_mut(&key).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `window_conf` is never used
[INFO] [stdout]   --> src/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn window_conf() -> Conf {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_pos` is never used
[INFO] [stdout]  --> src/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn random_pos() -> Vec2 {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_direction` is never used
[INFO] [stdout]   --> src/utils.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn random_direction() -> Vec2 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 53.58s
[INFO] running `Command { std: "docker" "inspect" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling game-rust v0.1.67 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> examples/2-bouncing-squares.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::rngs::StdRng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> examples/2-bouncing-squares.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use rand::{Rng, SeedableRng};
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 5 | use macroquad::rand::{Rng, SeedableRng};
[INFO] [stdout]   |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> examples/1-center-gravity.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::rngs::StdRng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> examples/1-center-gravity.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng, SeedableRng};
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 2 | use macroquad::rand::{Rng, SeedableRng};
[INFO] [stdout]   |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> examples/2-bouncing-squares.rs:77:19
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> examples/3-better-input-and-modules/objects.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::rngs::StdRng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> examples/3-better-input-and-modules/objects.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::{Rng, SeedableRng};
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 2 | use macroquad::rand::{Rng, SeedableRng};
[INFO] [stdout]   |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]  --> examples/4-birds-flying/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::rngs::StdRng;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `rand`
[INFO] [stdout]  --> examples/4-birds-flying/utils.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::{Rng, SeedableRng};
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]   |
[INFO] [stdout] 3 | use macroquad::rand::{Rng, SeedableRng};
[INFO] [stdout]   |     +++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-rust` (example "2-bouncing-squares") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/input_manager.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let mut key_state = self.keys_pressed.get_mut(&key).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-rust` (example "1-center-gravity") due to 2 previous errors
[INFO] [stdout] warning: function `window_conf` is never used
[INFO] [stdout]   --> src/main.rs:21:4
[INFO] [stdout]    |
[INFO] [stdout] 21 | fn window_conf() -> Conf {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_pos` is never used
[INFO] [stdout]  --> src/utils.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn random_pos() -> Vec2 {
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `random_direction` is never used
[INFO] [stdout]   --> src/utils.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn random_direction() -> Vec2 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> examples/3-better-input-and-modules/objects.rs:81:19
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/3-better-input-and-modules/input_manager.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut key_state = self.keys_pressed.get_mut(&key).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-rust` (example "3-better-input-and-modules") due to 3 previous errors; 1 warning emitted
[INFO] [stdout] warning: unused import: `screen_width`
[INFO] [stdout]  --> examples/4-birds-flying/objects/birds.rs:5:67
[INFO] [stdout]   |
[INFO] [stdout] 5 |     draw_texture_ex, get_frame_time, load_texture, screen_height, screen_width, Color,
[INFO] [stdout]   |                                                                   ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope
[INFO] [stdout]   --> examples/4-birds-flying/utils.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut rng = rand::thread_rng();
[INFO] [stdout]    |                   ^^^^ use of unresolved module or unlinked crate `rand`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/4-birds-flying/input_manager.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |         let mut key_state = self.keys_pressed.get_mut(&key).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `game-rust` (example "4-birds-flying") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45", kill_on_drop: false }`
[INFO] [stdout] 9da576ed7be647864aa2c9336f095af3d9b9b767b8a816ef36732f34a93bdd45
