[INFO] updating cached repository https://github.com/jonathanabennett/tictactoe [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ff4404b082ccda292b1d2b8c3ad7e2a225d80e8f [INFO] checking jonathanabennett/tictactoe against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonathanabennett%2Ftictactoe" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jonathanabennett/tictactoe on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jonathanabennett/tictactoe [INFO] finished tweaking git repo https://github.com/jonathanabennett/tictactoe [INFO] tweaked toml for git repo https://github.com/jonathanabennett/tictactoe written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jonathanabennett/tictactoe already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 1e8641f432817d031f674e086df42cf4e4097b4a1cc663def560971386ca378e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "1e8641f432817d031f674e086df42cf4e4097b4a1cc663def560971386ca378e"` [INFO] [stderr] Checking tictactoe v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/main.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let mut output: [char; 9]; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cell` [INFO] [stderr] --> src/main.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | for cell in cells { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stderr] [INFO] [stderr] error[E0382]: borrow of moved value: `cells` [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 23 | let mut cells: [CellType; 9] = [CellType::Empty(0), CellType::Empty(1), CellType::Empty(2), [INFO] [stderr] | --------- move occurs because `cells` has type `[CellType; 9]`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 30 | print_board(&cells); [INFO] [stderr] | ^^^^^^ value borrowed here after move [INFO] [stderr] ... [INFO] [stderr] 35 | victor = check_victory(cells); [INFO] [stderr] | ----- value moved here, in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error[E0382]: borrow of moved value: `player` [INFO] [stderr] --> src/main.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 26 | let mut player = CellType::Player1; [INFO] [stderr] | ---------- move occurs because `player` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 32 | change_cell(&mut cells, player); [INFO] [stderr] | ------ value moved here [INFO] [stderr] ... [INFO] [stderr] 36 | if player == CellType::Player1 { [INFO] [stderr] | ^^^^^^ value borrowed here after move [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `player` [INFO] [stderr] --> src/main.rs:72:31 [INFO] [stderr] | [INFO] [stderr] 56 | fn change_cell(cells: &mut [CellType; 9], player: CellType) { [INFO] [stderr] | ------ move occurs because `player` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 72 | cells[cell] = player; [INFO] [stderr] | ^^^^^^ value moved here, in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | cells[0] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | cells[0] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | cells[0] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | cells[1] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | cells[2] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | cells[3] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | cells[6] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | cells[8] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0382, E0508. [INFO] [stderr] For more information about an error, try `rustc --explain E0382`. [INFO] [stderr] error: could not compile `tictactoe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/main.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | let mut output: [char; 9]; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cell` [INFO] [stderr] --> src/main.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | for cell in cells { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cell` [INFO] [stderr] [INFO] [stderr] error[E0382]: borrow of moved value: `cells` [INFO] [stderr] --> src/main.rs:30:21 [INFO] [stderr] | [INFO] [stderr] 23 | let mut cells: [CellType; 9] = [CellType::Empty(0), CellType::Empty(1), CellType::Empty(2), [INFO] [stderr] | --------- move occurs because `cells` has type `[CellType; 9]`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 30 | print_board(&cells); [INFO] [stderr] | ^^^^^^ value borrowed here after move [INFO] [stderr] ... [INFO] [stderr] 35 | victor = check_victory(cells); [INFO] [stderr] | ----- value moved here, in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error[E0382]: borrow of moved value: `player` [INFO] [stderr] --> src/main.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 26 | let mut player = CellType::Player1; [INFO] [stderr] | ---------- move occurs because `player` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 32 | change_cell(&mut cells, player); [INFO] [stderr] | ------ value moved here [INFO] [stderr] ... [INFO] [stderr] 36 | if player == CellType::Player1 { [INFO] [stderr] | ^^^^^^ value borrowed here after move [INFO] [stderr] [INFO] [stderr] error[E0382]: use of moved value: `player` [INFO] [stderr] --> src/main.rs:72:31 [INFO] [stderr] | [INFO] [stderr] 56 | fn change_cell(cells: &mut [CellType; 9], player: CellType) { [INFO] [stderr] | ------ move occurs because `player` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] ... [INFO] [stderr] 72 | cells[cell] = player; [INFO] [stderr] | ^^^^^^ value moved here, in previous iteration of loop [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | cells[0] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | cells[0] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | cells[0] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | cells[1] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | cells[2] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | cells[3] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | cells[6] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error[E0508]: cannot move out of type `[CellType; 9]`, a non-copy array [INFO] [stderr] --> src/main.rs:99:9 [INFO] [stderr] | [INFO] [stderr] 99 | cells[8] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | cannot move out of here [INFO] [stderr] | move occurs because `cells[_]` has type `CellType`, which does not implement the `Copy` trait [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0382, E0508. [INFO] [stderr] For more information about an error, try `rustc --explain E0382`. [INFO] [stderr] error: could not compile `tictactoe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1e8641f432817d031f674e086df42cf4e4097b4a1cc663def560971386ca378e"` [INFO] running `"docker" "rm" "-f" "1e8641f432817d031f674e086df42cf4e4097b4a1cc663def560971386ca378e"` [INFO] [stdout] 1e8641f432817d031f674e086df42cf4e4097b4a1cc663def560971386ca378e