[INFO] updating cached repository jonathanabennett/tictactoe [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/jonathanabennett/tictactoe [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanabennett/tictactoe" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/jonathanabennett/tictactoe"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/jonathanabennett/tictactoe'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/jonathanabennett/tictactoe" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/jonathanabennett/tictactoe"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/jonathanabennett/tictactoe'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ff4404b082ccda292b1d2b8c3ad7e2a225d80e8f [INFO] sha for GitHub repo jonathanabennett/tictactoe: ff4404b082ccda292b1d2b8c3ad7e2a225d80e8f [INFO] validating manifest of jonathanabennett/tictactoe on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of jonathanabennett/tictactoe on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing jonathanabennett/tictactoe [INFO] finished frobbing jonathanabennett/tictactoe [INFO] frobbed toml for jonathanabennett/tictactoe written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/jonathanabennett/tictactoe/Cargo.toml [INFO] started frobbing jonathanabennett/tictactoe [INFO] finished frobbing jonathanabennett/tictactoe [INFO] frobbed toml for jonathanabennett/tictactoe written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/jonathanabennett/tictactoe/Cargo.toml [INFO] crate jonathanabennett/tictactoe already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking jonathanabennett/tictactoe against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-1/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/jonathanabennett/tictactoe:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 723165bb5b4ce60ba8b492c30c3245ce12f55740f62614dd17b7d851a86304ca [INFO] running `"docker" "start" "-a" "723165bb5b4ce60ba8b492c30c3245ce12f55740f62614dd17b7d851a86304ca"` [INFO] [stderr] Checking tictactoe v0.2.0 (/opt/crater/workdir) [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/main.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut output: [char; 9]; [INFO] [stderr] | ^^^^^^ help: consider prefixing 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: consider prefixing 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 [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused variable: `output` [INFO] [stderr] --> src/main.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let mut output: [char; 9]; [INFO] [stderr] | ^^^^^^ help: consider prefixing 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: consider prefixing 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 [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" "723165bb5b4ce60ba8b492c30c3245ce12f55740f62614dd17b7d851a86304ca"` [INFO] running `"docker" "rm" "-f" "723165bb5b4ce60ba8b492c30c3245ce12f55740f62614dd17b7d851a86304ca"` [INFO] [stdout] 723165bb5b4ce60ba8b492c30c3245ce12f55740f62614dd17b7d851a86304ca