[INFO] cloning repository https://github.com/matt-36/rust-sdl2-minigame
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matt-36/rust-sdl2-minigame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-36%2Frust-sdl2-minigame", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-36%2Frust-sdl2-minigame'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1a3f8b2326632f38917a1a53601ff760dbf7afe6
[INFO] checking matt-36/rust-sdl2-minigame against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-36%2Frust-sdl2-minigame" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/matt-36/rust-sdl2-minigame
[INFO] finished tweaking git repo https://github.com/matt-36/rust-sdl2-minigame
[INFO] tweaked toml for git repo https://github.com/matt-36/rust-sdl2-minigame written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/matt-36/rust-sdl2-minigame on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/matt-36/rust-sdl2-minigame 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a353d0d693aa503fa025cdea81d5dae0c3b1102ff0203d6fbdaabef5be8555b
[INFO] running `Command { std: "docker" "start" "-a" "9a353d0d693aa503fa025cdea81d5dae0c3b1102ff0203d6fbdaabef5be8555b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a353d0d693aa503fa025cdea81d5dae0c3b1102ff0203d6fbdaabef5be8555b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a353d0d693aa503fa025cdea81d5dae0c3b1102ff0203d6fbdaabef5be8555b", kill_on_drop: false }`
[INFO] [stdout] 9a353d0d693aa503fa025cdea81d5dae0c3b1102ff0203d6fbdaabef5be8555b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9b9c9061b5a8456b61831525da7b33f7e5c1a96766434f4f2556697ae2a6d095
[INFO] running `Command { std: "docker" "start" "-a" "9b9c9061b5a8456b61831525da7b33f7e5c1a96766434f4f2556697ae2a6d095", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling proc-macro2 v1.0.30
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling sdl2 v0.35.1
[INFO] [stderr]    Compiling serde_json v1.0.69
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking itoa v0.4.8
[INFO] [stderr]    Compiling sdl2-sys v0.35.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking test1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/rgame/room.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     render::{Canvas, WindowCanvas},
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/types/collision.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     render::{Texture, WindowCanvas},
[INFO] [stdout]   |                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/types/entity.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     render::{BlendMode, Texture, WindowCanvas},
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::menu::Menu`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::menu::Menu;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/rgame/room.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |     render::{Canvas, WindowCanvas},
[INFO] [stdout]   |                      ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/types/collision.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 |     render::{Texture, WindowCanvas},
[INFO] [stdout]   |                       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WindowCanvas`
[INFO] [stdout]  --> src/types/entity.rs:8:34
[INFO] [stdout]   |
[INFO] [stdout] 8 |     render::{BlendMode, Texture, WindowCanvas},
[INFO] [stdout]   |                                  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::menu::Menu`
[INFO] [stdout]   --> src/main.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use crate::menu::Menu;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/rgame/menu.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn render(&self, canvas: &mut WindowCanvas) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rgame/room.rs:91:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 let mut chests = Vec::new();
[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: unused variable: `chests`
[INFO] [stdout]   --> src/rgame/room.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |             RoomType::Chest(chests) => {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/rgame/room.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             RenderType::Minimap { options } => {}
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `options: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scaled_rect`
[INFO] [stdout]    --> src/types/entity.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 let scaled_rect = crate::minimap_scaled_rect!(self.dest, options);
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scaled_rect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `menu`
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let menu = menu::Menu::new();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_menu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buttons` is never read
[INFO] [stdout]  --> src/rgame/menu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Menu {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 4 |     buttons: Vec<Rect>
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Chest` is never constructed
[INFO] [stdout]  --> src/types/misc.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Chest {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `items` is never read
[INFO] [stdout]  --> src/types/misc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Chest {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 2 |     items: Vec<Item>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test1` (bin "test1" test) due to 1 previous error; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `canvas`
[INFO] [stdout]   --> src/rgame/menu.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn render(&self, canvas: &mut WindowCanvas) {
[INFO] [stdout]    |                          ^^^^^^ help: if this is intentional, prefix it with an underscore: `_canvas`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/rgame/room.rs:91:21
[INFO] [stdout]    |
[INFO] [stdout] 91 |                 let mut chests = Vec::new();
[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: unused variable: `chests`
[INFO] [stdout]   --> src/rgame/room.rs:90:29
[INFO] [stdout]    |
[INFO] [stdout] 90 |             RoomType::Chest(chests) => {
[INFO] [stdout]    |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_chests`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/rgame/room.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             RenderType::Minimap { options } => {}
[INFO] [stdout]     |                                   ^^^^^^^ help: try ignoring the field: `options: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `scaled_rect`
[INFO] [stdout]    --> src/types/entity.rs:226:21
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 let scaled_rect = crate::minimap_scaled_rect!(self.dest, options);
[INFO] [stdout]     |                     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scaled_rect`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `menu`
[INFO] [stdout]   --> src/main.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |     let menu = menu::Menu::new();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_menu`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `buttons` is never read
[INFO] [stdout]  --> src/rgame/menu.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Menu {
[INFO] [stdout]   |            ---- field in this struct
[INFO] [stdout] 4 |     buttons: Vec<Rect>
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: struct `Chest` is never constructed
[INFO] [stdout]  --> src/types/misc.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Chest {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it
[INFO] [stdout]   = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `items` is never read
[INFO] [stdout]  --> src/types/misc.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub struct Chest {
[INFO] [stdout]   |            ----- field in this struct
[INFO] [stdout] 2 |     items: Vec<Item>
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `test1` (bin "test1") due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9b9c9061b5a8456b61831525da7b33f7e5c1a96766434f4f2556697ae2a6d095", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b9c9061b5a8456b61831525da7b33f7e5c1a96766434f4f2556697ae2a6d095", kill_on_drop: false }`
[INFO] [stdout] 9b9c9061b5a8456b61831525da7b33f7e5c1a96766434f4f2556697ae2a6d095
