[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] checking porglezomp-misc/rust-tic-tac-toe against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporglezomp-misc%2Frust-tic-tac-toe" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/porglezomp-misc/rust-tic-tac-toe on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-5/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61272dd481461f80e47c0a169f0b2f7dce6aba2df7af47fabc66f8422c192306 [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" "61272dd481461f80e47c0a169f0b2f7dce6aba2df7af47fabc66f8422c192306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61272dd481461f80e47c0a169f0b2f7dce6aba2df7af47fabc66f8422c192306", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61272dd481461f80e47c0a169f0b2f7dce6aba2df7af47fabc66f8422c192306", kill_on_drop: false }` [INFO] [stdout] 61272dd481461f80e47c0a169f0b2f7dce6aba2df7af47fabc66f8422c192306 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de4ecee6f3ba09128b15902f45dc1faf7a9bb2312d756d16c87ac007d39dca15 [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" "de4ecee6f3ba09128b15902f45dc1faf7a9bb2312d756d16c87ac007d39dca15", kill_on_drop: false }` [INFO] [stderr] Checking 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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] [stderr] error: could not compile `tic-tac-toe` [INFO] [stdout] error: aborting due to 4 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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 a macro (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:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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 4 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "de4ecee6f3ba09128b15902f45dc1faf7a9bb2312d756d16c87ac007d39dca15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de4ecee6f3ba09128b15902f45dc1faf7a9bb2312d756d16c87ac007d39dca15", kill_on_drop: false }` [INFO] [stdout] de4ecee6f3ba09128b15902f45dc1faf7a9bb2312d756d16c87ac007d39dca15