[INFO] cloning repository https://github.com/soakins/noughts_and_crosses [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/soakins/noughts_and_crosses" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoakins%2Fnoughts_and_crosses", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoakins%2Fnoughts_and_crosses'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56b24e3ec05a491de33473c75ea0cd7dd59c6501 [INFO] checking soakins/noughts_and_crosses against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoakins%2Fnoughts_and_crosses" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/soakins/noughts_and_crosses on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/soakins/noughts_and_crosses [INFO] finished tweaking git repo https://github.com/soakins/noughts_and_crosses [INFO] tweaked toml for git repo https://github.com/soakins/noughts_and_crosses written to /workspace/builds/worker-29/source/Cargo.toml [INFO] crate git repo https://github.com/soakins/noughts_and_crosses already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c84637c99685f0e9c18a1bd01fc23f98f682ba884c9e5cb9e2e523100e1718f [INFO] running `Command { std: "docker" "start" "-a" "2c84637c99685f0e9c18a1bd01fc23f98f682ba884c9e5cb9e2e523100e1718f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c84637c99685f0e9c18a1bd01fc23f98f682ba884c9e5cb9e2e523100e1718f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c84637c99685f0e9c18a1bd01fc23f98f682ba884c9e5cb9e2e523100e1718f", kill_on_drop: false }` [INFO] [stdout] 2c84637c99685f0e9c18a1bd01fc23f98f682ba884c9e5cb9e2e523100e1718f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32bd0ad4693da84fc60550f6803636e78924a7e297e894dfeb25b47c8f0cdba6 [INFO] running `Command { std: "docker" "start" "-a" "32bd0ad4693da84fc60550f6803636e78924a7e297e894dfeb25b47c8f0cdba6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking noughts_and_crosses v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: variant `Top_Left_Bottom_Right` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Top_Left_Bottom_Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopLeftBottomRight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Top_Right_Bottom_Left` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Top_Right_Bottom_Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopRightBottomLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/square_contents.rs (1 fix) [INFO] [stderr] Fixed src/player_names_and_turns_organiser.rs (2 fixes) [INFO] [stderr] Fixed src/winning_line_coords_for_squares.rs (2 fixes) [INFO] [stdout] warning: variant `Top_Left_Bottom_Right` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Top_Left_Bottom_Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopLeftBottomRight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Top_Right_Bottom_Left` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Top_Right_Bottom_Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopRightBottomLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_games_won` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn increment_games_won(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_round` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn next_round(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.13s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking noughts_and_crosses v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: variant `Top_Left_Bottom_Right` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Top_Left_Bottom_Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopLeftBottomRight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Top_Right_Bottom_Left` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Top_Right_Bottom_Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopRightBottomLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SquareContents` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | SquareContents::X, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SquareContents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SquareContents` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | SquareContents::O, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SquareContents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SquareContents` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | SquareContents::O, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SquareContents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SquareContents` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | SquareContents::X, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SquareContents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SquareContents` [INFO] [stdout] --> src/square_contents.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | let a = SquareContents::O; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SquareContents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SquareContents` [INFO] [stdout] --> src/square_contents.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | let b = SquareContents::O; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `SquareContents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayerNames` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let mut pn = PlayerNames::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 131 | use crate::player_names_and_turns_organiser::PlayerNames; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlayerNames` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:154:22 [INFO] [stdout] | [INFO] [stdout] 154 | let mut pn = PlayerNames::new( [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 131 | use crate::player_names_and_turns_organiser::PlayerNames; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WinningLineCoords` [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | let mut wlc = WinningLineCoords::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::WinningLineCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | let mut set: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | set.push(ScreenCoords { x: 1, y: 1 }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | set.push(ScreenCoords { x: 2, y: 2 }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let mut set2: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | set2.push(ScreenCoords { x: 6, y: 3 }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:41:19 [INFO] [stdout] | [INFO] [stdout] 41 | set2.push(ScreenCoords { x: 100, y: 41 }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ScreenCoords` in this scope [INFO] [stdout] --> src/winning_line_coords_for_squares.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | set2.push(ScreenCoords { x: 8, y: 4 }); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 34 | use crate::winning_line_coords_for_squares::ScreenCoords; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Top_Left_Bottom_Right` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | Top_Left_Bottom_Right, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopLeftBottomRight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Top_Right_Bottom_Left` should have an upper camel case name [INFO] [stdout] --> src/winning_lines.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | Top_Right_Bottom_Left, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TopRightBottomLeft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increment_games_won` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | fn increment_games_won(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_round` [INFO] [stdout] --> src/player_names_and_turns_organiser.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn next_round(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `noughts_and_crosses` due to 17 previous errors; 2 warnings emitted [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "32bd0ad4693da84fc60550f6803636e78924a7e297e894dfeb25b47c8f0cdba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32bd0ad4693da84fc60550f6803636e78924a7e297e894dfeb25b47c8f0cdba6", kill_on_drop: false }` [INFO] [stdout] 32bd0ad4693da84fc60550f6803636e78924a7e297e894dfeb25b47c8f0cdba6