[INFO] cloning repository https://github.com/porglezomp-misc/rust-tic-tac-toe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/porglezomp-misc/rust-tic-tac-toe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporglezomp-misc%2Frust-tic-tac-toe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporglezomp-misc%2Frust-tic-tac-toe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf909779b665384957cb0ec48fbdec0fdbc07fd [INFO] testing porglezomp-misc/rust-tic-tac-toe against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporglezomp-misc%2Frust-tic-tac-toe" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/porglezomp-misc/rust-tic-tac-toe on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/porglezomp-misc/rust-tic-tac-toe [INFO] finished tweaking git repo https://github.com/porglezomp-misc/rust-tic-tac-toe [INFO] tweaked toml for git repo https://github.com/porglezomp-misc/rust-tic-tac-toe written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/porglezomp-misc/rust-tic-tac-toe already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76c79615b23f80a0f85a6c6779af1a0207621c46af5ea92a797ac53bc9e3a3b8 [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" "76c79615b23f80a0f85a6c6779af1a0207621c46af5ea92a797ac53bc9e3a3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76c79615b23f80a0f85a6c6779af1a0207621c46af5ea92a797ac53bc9e3a3b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c79615b23f80a0f85a6c6779af1a0207621c46af5ea92a797ac53bc9e3a3b8", kill_on_drop: false }` [INFO] [stdout] 76c79615b23f80a0f85a6c6779af1a0207621c46af5ea92a797ac53bc9e3a3b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 367e662be8c51489637b6457cd4bf28f75c7b4be365337abc19ff1f24611f53f [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" "367e662be8c51489637b6457cd4bf28f75c7b4be365337abc19ff1f24611f53f", kill_on_drop: false }` [INFO] [stderr] Compiling tic-tac-toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | write_n!(0); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | try!(write!(f, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | write_n!(1); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | try!(write!(f, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | write_n!(2); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | try!(write!(f, "\n---+---+---\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | write_n!(3); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | try!(write!(f, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | write_n!(4); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(write!(f, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | write_n!(5); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | try!(write!(f, "\n---+---+---\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | write_n!(6); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | try!(write!(f, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | write_n!(7); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | try!(write!(f, "|")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/board.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | try!(match self.squares[$n] { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | write_n!(8); [INFO] [stdout] | ----------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_n` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | try!(stdin.read_line(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | let (connection, _) = try!(server.accept()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | try!(io::stdout().flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | try!(io::stdin().read_line(&mut input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/game.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let connection = try!(TcpStream::connect(input.trim())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | try!(io::stdin().read_line(&mut buffer)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/game.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `range_contains` has been stable since 1.35.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(range_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:105:28 [INFO] [stdout] | [INFO] [stdout] 105 | if (0..3).contains(row) && (0..3).contains(col) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `usize` [INFO] [stdout] | help: consider borrowing here: `&row` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:105:52 [INFO] [stdout] | [INFO] [stdout] 105 | if (0..3).contains(row) && (0..3).contains(col) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `usize` [INFO] [stdout] | help: consider borrowing here: `&col` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | if (0..3).contains(row) && (0..3).contains(col) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `usize` [INFO] [stdout] | help: consider borrowing here: `&row` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/board.rs:115:52 [INFO] [stdout] | [INFO] [stdout] 115 | if (0..3).contains(row) && (0..3).contains(col) { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `usize` [INFO] [stdout] | help: consider borrowing here: `&col` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/game.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tic-tac-toe` due to 6 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "367e662be8c51489637b6457cd4bf28f75c7b4be365337abc19ff1f24611f53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367e662be8c51489637b6457cd4bf28f75c7b4be365337abc19ff1f24611f53f", kill_on_drop: false }` [INFO] [stdout] 367e662be8c51489637b6457cd4bf28f75c7b4be365337abc19ff1f24611f53f