[INFO] cloning repository https://github.com/RileyRedpath/cursed_c4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RileyRedpath/cursed_c4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRileyRedpath%2Fcursed_c4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRileyRedpath%2Fcursed_c4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c0584634a48e3ac535045861cd5c1630c897fba [INFO] checking RileyRedpath/cursed_c4 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRileyRedpath%2Fcursed_c4" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RileyRedpath/cursed_c4 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RileyRedpath/cursed_c4 [INFO] removed path dependency c4 from git repo https://github.com/RileyRedpath/cursed_c4 [INFO] finished tweaking git repo https://github.com/RileyRedpath/cursed_c4 [INFO] tweaked toml for git repo https://github.com/RileyRedpath/cursed_c4 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/RileyRedpath/cursed_c4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (c4) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (c4) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.99.0 [INFO] [stderr] Downloaded c4 v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac704eaf8a4890d7ff58ef78034fcc049ff445a6b7aa2a23535805bcda429cbf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ac704eaf8a4890d7ff58ef78034fcc049ff445a6b7aa2a23535805bcda429cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac704eaf8a4890d7ff58ef78034fcc049ff445a6b7aa2a23535805bcda429cbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac704eaf8a4890d7ff58ef78034fcc049ff445a6b7aa2a23535805bcda429cbf", kill_on_drop: false }` [INFO] [stdout] ac704eaf8a4890d7ff58ef78034fcc049ff445a6b7aa2a23535805bcda429cbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d458a5956d17d471801c312db6741682bbd2ceb232d1dbf79f8a76569268e55 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6d458a5956d17d471801c312db6741682bbd2ceb232d1dbf79f8a76569268e55", kill_on_drop: false }` [INFO] [stderr] warning: dependency (c4) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking c4 v0.1.0 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking cursed_c4 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `c4::c4` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use c4::c4::*; [INFO] [stdout] | ^^ could not find `c4` in `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `c4::mcts` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use c4::mcts::*; [INFO] [stdout] | ^^^^ could not find `mcts` in `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `c4::c4` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use c4::c4::*; [INFO] [stdout] | ^^ could not find `c4` in `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `c4::mcts` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use c4::mcts::*; [INFO] [stdout] | ^^^^ could not find `mcts` in `c4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Board` [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut board = Board::new(vec![Player::Empty; 42], 0, 7, 6); [INFO] [stdout] | ^^^^^ use of undeclared type `Board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let mut board = Board::new(vec![Player::Empty; 42], 0, 7, 6); [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Player::Empty [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Player::P1 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Player::P2 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Player::P2 => mcts(&board, p), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Player::P1 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Player::P2 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | Player::P1 => printw(" X "), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | Player::P2 => printw(" Y "), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | Player::Empty => printw(" 0 "), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/main.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | fn game_loop() -> Player { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn game_step(board: Board) -> State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 32 | fn game_step(board: State) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mcts` in this scope [INFO] [stdout] --> src/main.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Player::P2 => mcts(&board, p), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Board(Board), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 62 | Board(State), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Winner(Player), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(board: &Board) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(board: &State) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Board` [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut board = Board::new(vec![Player::Empty; 42], 0, 7, 6); [INFO] [stdout] | ^^^^^ use of undeclared type `Board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let mut board = Board::new(vec![Player::Empty; 42], 0, 7, 6); [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Player::Empty [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Player::P1 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | Player::P2 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Player::P2 => mcts(&board, p), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Player::P1 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Player::P2 [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | Player::P1 => printw(" X "), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | Player::P2 => printw(" Y "), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Player` [INFO] [stdout] --> src/main.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | Player::Empty => printw(" 0 "), [INFO] [stdout] | ^^^^^^ use of undeclared type `Player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/main.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | fn game_loop() -> Player { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | fn game_step(board: Board) -> State { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 32 | fn game_step(board: State) -> State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `mcts` in this scope [INFO] [stdout] --> src/main.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | Player::P2 => mcts(&board, p), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | Board(Board), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 62 | Board(State), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Player` in this scope [INFO] [stdout] --> src/main.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | Winner(Player), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Board` in this scope [INFO] [stdout] --> src/main.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(board: &Board) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `State::Board`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 78 | fn draw(board: &State) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | printw(&format!("The winner is {:?}", winner)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | None => printw("col full!"), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | printw("invalid"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | printw(&format!("{:?}'s turn:\n\n", p)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | Player::P1 => printw(" X "), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | Player::P2 => printw(" Y "), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | Player::Empty => printw(" 0 "), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | printw("\n\n"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | printw(&format!("The winner is {:?}", winner)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | None => printw("col full!"), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | printw("invalid"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | printw(&format!("{:?}'s turn:\n\n", p)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:90:31 [INFO] [stdout] | [INFO] [stdout] 90 | Player::P1 => printw(" X "), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | Player::P2 => printw(" Y "), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:92:34 [INFO] [stdout] | [INFO] [stdout] 92 | Player::Empty => printw(" 0 "), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ncurses::printw`: printw can segfault when printing string that contains % sign. Use addstr instead [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | printw("\n\n"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cursed_c4` [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] [stdout] error: aborting due to 19 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6d458a5956d17d471801c312db6741682bbd2ceb232d1dbf79f8a76569268e55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d458a5956d17d471801c312db6741682bbd2ceb232d1dbf79f8a76569268e55", kill_on_drop: false }` [INFO] [stdout] 6d458a5956d17d471801c312db6741682bbd2ceb232d1dbf79f8a76569268e55