[INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/ericye16/rusty-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericye16/rusty-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dda5667cea5006f90d7782d60ec13d08a39353bb [INFO] testing ericye16/rusty-tic-tac-toe against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericye16%2Frusty-tic-tac-toe" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ericye16/rusty-tic-tac-toe [INFO] finished tweaking git repo https://github.com/ericye16/rusty-tic-tac-toe [INFO] tweaked toml for git repo https://github.com/ericye16/rusty-tic-tac-toe written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ericye16/rusty-tic-tac-toe on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ericye16/rusty-tic-tac-toe 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f21cd88b8c6b3654af2b53192248894c6dc95663a1a00a32aad509580ce74136 [INFO] running `Command { std: "docker" "start" "-a" "f21cd88b8c6b3654af2b53192248894c6dc95663a1a00a32aad509580ce74136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f21cd88b8c6b3654af2b53192248894c6dc95663a1a00a32aad509580ce74136", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f21cd88b8c6b3654af2b53192248894c6dc95663a1a00a32aad509580ce74136", kill_on_drop: false }` [INFO] [stdout] f21cd88b8c6b3654af2b53192248894c6dc95663a1a00a32aad509580ce74136 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc2df57e62a1f7d6b7c61e07331a52c934093098b68bc1e4c108ba25f0c6c5e3 [INFO] running `Command { std: "docker" "start" "-a" "fc2df57e62a1f7d6b7c61e07331a52c934093098b68bc1e4c108ba25f0c6c5e3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rusty-tic-tac-toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `O` is never constructed [INFO] [stdout] --> src/game.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 4 | enum CellState { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 7 | O, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `CellState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `PlayerStatus` is never used [INFO] [stdout] --> src/game.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum PlayerStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `check_winner` is never used [INFO] [stdout] --> src/game.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 40 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn check_winner(&self) -> PlayerStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 80 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 80 + while let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 80 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 80 + if let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 106 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 106 + while let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 106 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 106 + if let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | for cell in self.state.get(get_index(r, r)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 131 - for cell in self.state.get(get_index(r, r)) { [INFO] [stdout] 131 + while let Some(cell) = self.state.get(get_index(r, r)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 131 - for cell in self.state.get(get_index(r, r)) { [INFO] [stdout] 131 + if let Some(cell) = self.state.get(get_index(r, r)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 155 - for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] 155 + while let Some(cell) = self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 155 - for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] 155 + if let Some(cell) = self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "fc2df57e62a1f7d6b7c61e07331a52c934093098b68bc1e4c108ba25f0c6c5e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2df57e62a1f7d6b7c61e07331a52c934093098b68bc1e4c108ba25f0c6c5e3", kill_on_drop: false }` [INFO] [stdout] fc2df57e62a1f7d6b7c61e07331a52c934093098b68bc1e4c108ba25f0c6c5e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca348f99de787c27e7ae3ff6579742ecfa6d57b70b2880732068005df72f1087 [INFO] running `Command { std: "docker" "start" "-a" "ca348f99de787c27e7ae3ff6579742ecfa6d57b70b2880732068005df72f1087", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rusty-tic-tac-toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `E` [INFO] [stdout] --> src/game.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let E = Empty; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 80 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 80 + while let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 80 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 80 + if let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 106 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 106 + while let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 106 - for cell in self.state.get(get_index(r, c)) { [INFO] [stdout] 106 + if let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | for cell in self.state.get(get_index(r, r)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 131 - for cell in self.state.get(get_index(r, r)) { [INFO] [stdout] 131 + while let Some(cell) = self.state.get(get_index(r, r)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 131 - for cell in self.state.get(get_index(r, r)) { [INFO] [stdout] 131 + if let Some(cell) = self.state.get(get_index(r, r)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/game.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 155 - for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] 155 + while let Some(cell) = self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 155 - for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] 155 + if let Some(cell) = self.state.get(get_index(r, 3 - r)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/game.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | let E = Empty; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/game.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | let E = Empty; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/game.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let E = Empty; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `E` should have a snake case name [INFO] [stdout] --> src/game.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | let E = Empty; [INFO] [stdout] | ^ help: convert the identifier to snake case: `e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "ca348f99de787c27e7ae3ff6579742ecfa6d57b70b2880732068005df72f1087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca348f99de787c27e7ae3ff6579742ecfa6d57b70b2880732068005df72f1087", kill_on_drop: false }` [INFO] [stdout] ca348f99de787c27e7ae3ff6579742ecfa6d57b70b2880732068005df72f1087 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d34e2290fc3076f2b871bc1e1de199ec7c3e5e6a15a6d00351bdc8f78b08a107 [INFO] running `Command { std: "docker" "start" "-a" "d34e2290fc3076f2b871bc1e1de199ec7c3e5e6a15a6d00351bdc8f78b08a107", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused variable: `E` [INFO] [stderr] --> src/game.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | let E = Empty; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_E` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/game.rs:80:21 [INFO] [stderr] | [INFO] [stderr] 80 | for cell in self.state.get(get_index(r, c)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 80 - for cell in self.state.get(get_index(r, c)) { [INFO] [stderr] 80 + while let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 80 - for cell in self.state.get(get_index(r, c)) { [INFO] [stderr] 80 + if let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/game.rs:106:21 [INFO] [stderr] | [INFO] [stderr] 106 | for cell in self.state.get(get_index(r, c)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 106 - for cell in self.state.get(get_index(r, c)) { [INFO] [stderr] 106 + while let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 106 - for cell in self.state.get(get_index(r, c)) { [INFO] [stderr] 106 + if let Some(cell) = self.state.get(get_index(r, c)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/game.rs:131:19 [INFO] [stderr] | [INFO] [stderr] 131 | for cell in self.state.get(get_index(r, r)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 131 - for cell in self.state.get(get_index(r, r)) { [INFO] [stderr] 131 + while let Some(cell) = self.state.get(get_index(r, r)) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 131 - for cell in self.state.get(get_index(r, r)) { [INFO] [stderr] 131 + if let Some(cell) = self.state.get(get_index(r, r)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stderr] --> src/game.rs:155:19 [INFO] [stderr] | [INFO] [stderr] 155 | for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: to check pattern in a loop use `while let` [INFO] [stderr] | [INFO] [stderr] 155 - for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stderr] 155 + while let Some(cell) = self.state.get(get_index(r, 3 - r)) { [INFO] [stderr] | [INFO] [stderr] help: consider using `if let` to clear intent [INFO] [stderr] | [INFO] [stderr] 155 - for cell in self.state.get(get_index(r, 3 - r)) { [INFO] [stderr] 155 + if let Some(cell) = self.state.get(get_index(r, 3 - r)) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable `E` should have a snake case name [INFO] [stderr] --> src/game.rs:196:9 [INFO] [stderr] | [INFO] [stderr] 196 | let E = Empty; [INFO] [stderr] | ^ help: convert the identifier to snake case: `e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `E` should have a snake case name [INFO] [stderr] --> src/game.rs:207:9 [INFO] [stderr] | [INFO] [stderr] 207 | let E = Empty; [INFO] [stderr] | ^ help: convert the identifier to snake case: `e` [INFO] [stderr] [INFO] [stderr] warning: variable `E` should have a snake case name [INFO] [stderr] --> src/game.rs:218:9 [INFO] [stderr] | [INFO] [stderr] 218 | let E = Empty; [INFO] [stderr] | ^ help: convert the identifier to snake case: `e` [INFO] [stderr] [INFO] [stderr] warning: variable `E` should have a snake case name [INFO] [stderr] --> src/game.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | let E = Empty; [INFO] [stderr] | ^ help: convert the identifier to snake case: `e` [INFO] [stderr] [INFO] [stderr] warning: `rusty-tic-tac-toe` (bin "rusty-tic-tac-toe" test) generated 9 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty_tic_tac_toe-654d6e2f52925066) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test game::tests::loser1 ... ok [INFO] [stdout] test game::tests::winner1 ... ok [INFO] [stdout] test game::tests::indeterminate1 ... ok [INFO] [stdout] test game::tests::draw ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d34e2290fc3076f2b871bc1e1de199ec7c3e5e6a15a6d00351bdc8f78b08a107", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34e2290fc3076f2b871bc1e1de199ec7c3e5e6a15a6d00351bdc8f78b08a107", kill_on_drop: false }` [INFO] [stdout] d34e2290fc3076f2b871bc1e1de199ec7c3e5e6a15a6d00351bdc8f78b08a107