[INFO] cloning repository https://github.com/RoryHemmings/Connect-N-Bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RoryHemmings/Connect-N-Bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoryHemmings%2FConnect-N-Bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoryHemmings%2FConnect-N-Bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89ffab60272c7a5b1fa175747eb8676faa63b458 [INFO] building RoryHemmings/Connect-N-Bot against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRoryHemmings%2FConnect-N-Bot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/RoryHemmings/Connect-N-Bot [INFO] finished tweaking git repo https://github.com/RoryHemmings/Connect-N-Bot [INFO] tweaked toml for git repo https://github.com/RoryHemmings/Connect-N-Bot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RoryHemmings/Connect-N-Bot on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/RoryHemmings/Connect-N-Bot 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e04b2f53cc770d3b5d5d03fa6d9a59c8fb6f94a6c417e9a41cc2407e9812492 [INFO] running `Command { std: "docker" "start" "-a" "1e04b2f53cc770d3b5d5d03fa6d9a59c8fb6f94a6c417e9a41cc2407e9812492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e04b2f53cc770d3b5d5d03fa6d9a59c8fb6f94a6c417e9a41cc2407e9812492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e04b2f53cc770d3b5d5d03fa6d9a59c8fb6f94a6c417e9a41cc2407e9812492", kill_on_drop: false }` [INFO] [stdout] 1e04b2f53cc770d3b5d5d03fa6d9a59c8fb6f94a6c417e9a41cc2407e9812492 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 95f23a2d89f488ae066a6c7841bf36dd128cd9df0bc969dc18451bf6244a1dac [INFO] running `Command { std: "docker" "start" "-a" "95f23a2d89f488ae066a6c7841bf36dd128cd9df0bc969dc18451bf6244a1dac", kill_on_drop: false }` [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling miniquad v0.4.8 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling quad-rand v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling glam v0.27.0 [INFO] [stderr] Compiling macroquad_macro v0.1.8 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling flate2 v1.1.0 [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 connect-four v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::display; [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 variable: `col` [INFO] [stdout] --> src/board.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&self, col: u32) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/board.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/board.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/ui.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn draw_board(rows: usize, cols: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/ui.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn draw_board(rows: usize, cols: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Yellow` are never constructed [INFO] [stdout] --> src/board.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make_move` and `get_piece` are never used [INFO] [stdout] --> src/board.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn make_move(&self, col: u32) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "95f23a2d89f488ae066a6c7841bf36dd128cd9df0bc969dc18451bf6244a1dac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95f23a2d89f488ae066a6c7841bf36dd128cd9df0bc969dc18451bf6244a1dac", kill_on_drop: false }` [INFO] [stdout] 95f23a2d89f488ae066a6c7841bf36dd128cd9df0bc969dc18451bf6244a1dac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 41ffd3739ce7cba7bb335add80d746e67f3ca8daec8fe817632a3ee14509ca3c [INFO] running `Command { std: "docker" "start" "-a" "41ffd3739ce7cba7bb335add80d746e67f3ca8daec8fe817632a3ee14509ca3c", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::display; [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 variable: `col` [INFO] [stdout] --> src/board.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&self, col: u32) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/board.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/board.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling connect-four v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/ui.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn draw_board(rows: usize, cols: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/ui.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn draw_board(rows: usize, cols: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Yellow` are never constructed [INFO] [stdout] --> src/board.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make_move` and `get_piece` are never used [INFO] [stdout] --> src/board.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn make_move(&self, col: u32) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::display` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::display; [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 variable: `col` [INFO] [stdout] --> src/board.rs:26:29 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&self, col: u32) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row` [INFO] [stdout] --> src/board.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_row` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `col` [INFO] [stdout] --> src/board.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_col` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rows` [INFO] [stdout] --> src/ui.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn draw_board(rows: usize, cols: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/ui.rs:59:32 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn draw_board(rows: usize, cols: usize) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red` and `Yellow` are never constructed [INFO] [stdout] --> src/board.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Piece { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 6 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 7 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Piece` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `make_move` and `get_piece` are never used [INFO] [stdout] --> src/board.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn make_move(&self, col: u32) {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 27 | [INFO] [stdout] 28 | pub fn get_piece(row: u32, col: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "41ffd3739ce7cba7bb335add80d746e67f3ca8daec8fe817632a3ee14509ca3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41ffd3739ce7cba7bb335add80d746e67f3ca8daec8fe817632a3ee14509ca3c", kill_on_drop: false }` [INFO] [stdout] 41ffd3739ce7cba7bb335add80d746e67f3ca8daec8fe817632a3ee14509ca3c