[INFO] cloning repository https://github.com/de-passage/tic-tac-toe.rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/de-passage/tic-tac-toe.rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5e34ac55f9b7368a2b88ce5495e22bc5f375f34 [INFO] checking de-passage/tic-tac-toe.rust against master#bd71213cf0a765705e7d72a099151bd4eb465ccb for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-passage/tic-tac-toe.rust on toolchain bd71213cf0a765705e7d72a099151bd4eb465ccb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] finished tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] tweaked toml for git repo https://github.com/de-passage/tic-tac-toe.rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/de-passage/tic-tac-toe.rust 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" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad4b8e02303e5f2127a739a0cfb9a1cee20f2918e4a2aa9f8d9383934077dea9 [INFO] running `Command { std: "docker" "start" "-a" "ad4b8e02303e5f2127a739a0cfb9a1cee20f2918e4a2aa9f8d9383934077dea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad4b8e02303e5f2127a739a0cfb9a1cee20f2918e4a2aa9f8d9383934077dea9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad4b8e02303e5f2127a739a0cfb9a1cee20f2918e4a2aa9f8d9383934077dea9", kill_on_drop: false }` [INFO] [stdout] ad4b8e02303e5f2127a739a0cfb9a1cee20f2918e4a2aa9f8d9383934077dea9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+bd71213cf0a765705e7d72a099151bd4eb465ccb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e51d8421afdcfd99a62f4fd68cb33fce64325112d0af91dd723c8bd351abdb4 [INFO] running `Command { std: "docker" "start" "-a" "9e51d8421afdcfd99a62f4fd68cb33fce64325112d0af91dd723c8bd351abdb4", kill_on_drop: false }` [INFO] [stderr] Checking tic-tac-toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | player: &Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | player: &dyn Player, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn play(&mut self, player: &Player) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn play(&mut self, player: &dyn Player) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:52:104 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn available_moves(&self) -> std::iter::Filter>, &Fn(&(usize, &PlayerID)) -> bool> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn available_moves(&self) -> std::iter::Filter>, &dyn Fn(&(usize, &PlayerID)) -> bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let full = |locater: Box (usize, usize)>| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 | let full = |locater: Box (usize, usize)>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let any = |f: &Fn(usize) -> bool| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | let any = |f: &dyn Fn(usize) -> bool| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:137:14 [INFO] [stdout] | [INFO] [stdout] 137 | player: &Player, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 137 | player: &dyn Player, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn play(&mut self, player: &Player) -> Result<(), String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn play(&mut self, player: &dyn Player) -> Result<(), String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:52:104 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn available_moves(&self) -> std::iter::Filter>, &Fn(&(usize, &PlayerID)) -> bool> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | pub fn available_moves(&self) -> std::iter::Filter>, &dyn Fn(&(usize, &PlayerID)) -> bool> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let player: &Player = if current_player == 1 { &Human(1) } else { &Computer(2) }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | let player: &dyn Player = if current_player == 1 { &Human(1) } else { &Computer(2) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let full = |locater: Box (usize, usize)>| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 | let full = |locater: Box (usize, usize)>| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/game_logic.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | let any = |f: &Fn(usize) -> bool| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 159 | let any = |f: &dyn Fn(usize) -> bool| { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | let b = Board([1, 2, 1, 2, 0, 2, 1, 2, 1]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:183:10 [INFO] [stdout] | [INFO] [stdout] 183 | let b = Board([1, 1, 0, 1, 1, 0, 0, 1, 0]); // the algorithm doesnt actually care that the game is in a valid state [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:193:10 [INFO] [stdout] | [INFO] [stdout] 193 | let b = Board([1, 0, 0, 2, 1, 0, 0, 0, 2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:204:10 [INFO] [stdout] | [INFO] [stdout] 204 | let b = Board([1, 2, 2, 2, 1, 0, 1, 1, 0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:207:10 [INFO] [stdout] | [INFO] [stdout] 207 | let b = Board([1, 0, 0, 0, 0, 2, 0, 0, 2]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:210:10 [INFO] [stdout] | [INFO] [stdout] 210 | let b = Board([1, 2, 0, 1, 0, 2, 0, 0, 0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:216:14 [INFO] [stdout] | [INFO] [stdout] 216 | let mut b = Board([1, 1, 0, 2, 0, 0, 2, 0, 0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 223 | let mut b = Board([1, 1, 0, 2, 1, 0, 2, 0, 0]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: cannot initialize a tuple struct which contains private fields [INFO] [stdout] --> src/main.rs:230:14 [INFO] [stdout] | [INFO] [stdout] 230 | let mut b = Board([0, 0, 0, 2, 0, 1, 2, 0, 1]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: constructor is not visible here due to private fields [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board([PlayerID; 9]); [INFO] [stdout] | ^^^^^^^^^^^^^ private field [INFO] [stdout] help: consider making the field publicly accessible [INFO] [stdout] --> src/game_logic.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Board(pub [PlayerID; 9]); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let player: &Player = if current_player == 1 { &Human(1) } else { &Computer(2) }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | let player: &dyn Player = if current_player == 1 { &Human(1) } else { &Computer(2) }; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tic-tac-toe` (bin "tic-tac-toe" test) due to 10 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e51d8421afdcfd99a62f4fd68cb33fce64325112d0af91dd723c8bd351abdb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e51d8421afdcfd99a62f4fd68cb33fce64325112d0af91dd723c8bd351abdb4", kill_on_drop: false }` [INFO] [stdout] 9e51d8421afdcfd99a62f4fd68cb33fce64325112d0af91dd723c8bd351abdb4 [INFO] checking de-passage/tic-tac-toe.rust against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-passage/tic-tac-toe.rust on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] finished tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] tweaked toml for git repo https://github.com/de-passage/tic-tac-toe.rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/de-passage/tic-tac-toe.rust 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking de-passage/tic-tac-toe.rust against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-passage/tic-tac-toe.rust on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] finished tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] tweaked toml for git repo https://github.com/de-passage/tic-tac-toe.rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/de-passage/tic-tac-toe.rust 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking de-passage/tic-tac-toe.rust against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-passage/tic-tac-toe.rust on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] finished tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] tweaked toml for git repo https://github.com/de-passage/tic-tac-toe.rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/de-passage/tic-tac-toe.rust 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking de-passage/tic-tac-toe.rust against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-passage/tic-tac-toe.rust on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] finished tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] tweaked toml for git repo https://github.com/de-passage/tic-tac-toe.rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/de-passage/tic-tac-toe.rust 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking de-passage/tic-tac-toe.rust against try#c0f799aeda763fc507814da0dc46c2dde7ca9133 for pr-123864 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fde-passage%2Ftic-tac-toe.rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/de-passage/tic-tac-toe.rust on toolchain c0f799aeda763fc507814da0dc46c2dde7ca9133 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] finished tweaking git repo https://github.com/de-passage/tic-tac-toe.rust [INFO] tweaked toml for git repo https://github.com/de-passage/tic-tac-toe.rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/de-passage/tic-tac-toe.rust 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" "+c0f799aeda763fc507814da0dc46c2dde7ca9133" "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] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace.