[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf909779b665384957cb0ec48fbdec0fdbc07fd [INFO] testing porglezomp-misc/rust-tic-tac-toe against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fporglezomp-misc%2Frust-tic-tac-toe" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/porglezomp-misc/rust-tic-tac-toe on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-3/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ebeaf1aa2c653717f947d0a836736ae2111e8d8fbb2e36f02434a224f290259 [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" "7ebeaf1aa2c653717f947d0a836736ae2111e8d8fbb2e36f02434a224f290259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ebeaf1aa2c653717f947d0a836736ae2111e8d8fbb2e36f02434a224f290259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ebeaf1aa2c653717f947d0a836736ae2111e8d8fbb2e36f02434a224f290259", kill_on_drop: false }` [INFO] [stdout] 7ebeaf1aa2c653717f947d0a836736ae2111e8d8fbb2e36f02434a224f290259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301caad513e473b5077edb34a6c810c8d9f9e2c5a458845b88a8f4c5ae1f9e50 [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" "301caad513e473b5077edb34a6c810c8d9f9e2c5a458845b88a8f4c5ae1f9e50", kill_on_drop: false }` [INFO] [stderr] Compiling tic-tac-toe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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: could not compile `tic-tac-toe`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "301caad513e473b5077edb34a6c810c8d9f9e2c5a458845b88a8f4c5ae1f9e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301caad513e473b5077edb34a6c810c8d9f9e2c5a458845b88a8f4c5ae1f9e50", kill_on_drop: false }` [INFO] [stdout] 301caad513e473b5077edb34a6c810c8d9f9e2c5a458845b88a8f4c5ae1f9e50