[INFO] cloning repository https://github.com/Thomas2511/Gomoku
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Thomas2511/Gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomas2511%2FGomoku", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomas2511%2FGomoku'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 4d9c73b2a3b137b3d22be1a0e9d84349e2dc81a7
[INFO] checking Thomas2511/Gomoku against 1.55.0 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThomas2511%2FGomoku" "/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/Thomas2511/Gomoku on toolchain 1.55.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Thomas2511/Gomoku
[INFO] finished tweaking git repo https://github.com/Thomas2511/Gomoku
[INFO] tweaked toml for git repo https://github.com/Thomas2511/Gomoku written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/Thomas2511/Gomoku already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 874f26cdd69e5a0b87baaa0356fdf73250945342aa815e760445c5c8dee2515c
[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" "874f26cdd69e5a0b87baaa0356fdf73250945342aa815e760445c5c8dee2515c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "874f26cdd69e5a0b87baaa0356fdf73250945342aa815e760445c5c8dee2515c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "874f26cdd69e5a0b87baaa0356fdf73250945342aa815e760445c5c8dee2515c", kill_on_drop: false }`
[INFO] [stdout] 874f26cdd69e5a0b87baaa0356fdf73250945342aa815e760445c5c8dee2515c
[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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c5638bad1d82b505450ecc1c29e756c1d35c8ab1137d80893c134ca21bbd32e
[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" "2c5638bad1d82b505450ecc1c29e756c1d35c8ab1137d80893c134ca21bbd32e", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v0.8.22
[INFO] [stderr]    Compiling gcc v0.3.41
[INFO] [stderr]     Checking smallvec v0.1.8
[INFO] [stderr]     Checking vec_map v0.6.0
[INFO] [stderr]     Checking unicode-segmentation v0.1.3
[INFO] [stderr]     Checking strsim v0.5.2
[INFO] [stderr]     Checking itertools v0.4.19
[INFO] [stderr]     Checking term_size v0.2.1
[INFO] [stderr]     Checking time v0.1.36
[INFO] [stderr]    Compiling freetype-sys v0.4.0
[INFO] [stderr]     Checking deflate v0.7.2
[INFO] [stderr]     Checking cgmath v0.12.0
[INFO] [stderr]     Checking num-bigint v0.1.35
[INFO] [stderr]    Compiling wayland-client v0.7.6
[INFO] [stderr]    Compiling tempfile v2.1.4
[INFO] [stderr]    Compiling glutin v0.7.2
[INFO] [stderr]     Checking x11-dl v2.12.0
[INFO] [stderr]    Compiling glium v0.16.0
[INFO] [stderr]    Compiling target_build_utils v0.1.2
[INFO] [stderr]     Checking jpeg-decoder v0.1.11
[INFO] [stderr]     Checking clap v2.19.3
[INFO] [stderr]     Checking png v0.6.2
[INFO] [stderr]     Checking num-rational v0.1.35
[INFO] [stderr]    Compiling libz-sys v1.0.10
[INFO] [stderr]    Compiling backtrace-sys v0.1.5
[INFO] [stderr]     Checking image v0.12.1
[INFO] [stderr]     Checking backtrace v0.2.3
[INFO] [stderr]    Compiling serde_json v0.8.4
[INFO] [stderr]    Compiling libloading v0.3.1
[INFO] [stderr]     Checking dlib v0.3.1
[INFO] [stderr]     Checking wayland-sys v0.7.6
[INFO] [stderr]     Checking wayland-kbd v0.6.2
[INFO] [stderr]     Checking wayland-window v0.4.3
[INFO] [stderr]     Checking winit v0.5.7
[INFO] [stderr]     Checking glium_text v0.11.0
[INFO] [stderr]     Checking gomoku v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_patterns)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
[INFO] [stdout]   |
[INFO] [stdout]   = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(range_contains)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/board/board.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fun: Box<Fn(usize) -> (usize, usize)>,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> (usize, usize)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(slice_patterns)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the attribute
[INFO] [stdout]   |
[INFO] [stdout]   = help: the feature `slice_patterns` has been stable since 1.42.0 and no longer requires an attribute to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> src/lib.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![feature(range_contains)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/board/board.rs:44:18
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fun: Box<Fn(usize) -> (usize, usize)>,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(usize) -> (usize, usize)`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see issue #80165 <https://github.com/rust-lang/rust/issues/80165>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:215:38
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 if !(0..19).contains(x) || !(0..19).contains(y) {
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      expected reference, found `usize`
[INFO] [stdout]     |                                      help: consider borrowing here: `&x`
[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/board.rs:215:62
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 if !(0..19).contains(x) || !(0..19).contains(y) {
[INFO] [stdout]     |                                                              ^
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              expected reference, found `usize`
[INFO] [stdout]     |                                                              help: consider borrowing here: `&y`
[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/board.rs:280:29
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if (0..19).contains(x + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:284:29
[INFO] [stdout]     |
[INFO] [stdout] 284 |         if (0..19).contains(x + 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:284:56
[INFO] [stdout]     |
[INFO] [stdout] 284 |         if (0..19).contains(x + 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:288:29
[INFO] [stdout]     |
[INFO] [stdout] 288 |         if (0..19).contains(y + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(y + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:292:29
[INFO] [stdout]     |
[INFO] [stdout] 292 |         if (0..19).contains(x - 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:292:56
[INFO] [stdout]     |
[INFO] [stdout] 292 |         if (0..19).contains(x - 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:296:29
[INFO] [stdout]     |
[INFO] [stdout] 296 |         if (0..19).contains(x - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:300:29
[INFO] [stdout]     |
[INFO] [stdout] 300 |         if (0..19).contains(x - 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:300:56
[INFO] [stdout]     |
[INFO] [stdout] 300 |         if (0..19).contains(x - 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:304:29
[INFO] [stdout]     |
[INFO] [stdout] 304 |         if (0..19).contains(y - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(y - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:308:29
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if (0..19).contains(x + 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:308:56
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if (0..19).contains(x + 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 1 warning 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 `gomoku` due to 17 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:215:38
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 if !(0..19).contains(x) || !(0..19).contains(y) {
[INFO] [stdout]     |                                      ^
[INFO] [stdout]     |                                      |
[INFO] [stdout]     |                                      expected reference, found `usize`
[INFO] [stdout]     |                                      help: consider borrowing here: `&x`
[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/board.rs:215:62
[INFO] [stdout]     |
[INFO] [stdout] 215 |                 if !(0..19).contains(x) || !(0..19).contains(y) {
[INFO] [stdout]     |                                                              ^
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              expected reference, found `usize`
[INFO] [stdout]     |                                                              help: consider borrowing here: `&y`
[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/board.rs:280:29
[INFO] [stdout]     |
[INFO] [stdout] 280 |         if (0..19).contains(x + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:284:29
[INFO] [stdout]     |
[INFO] [stdout] 284 |         if (0..19).contains(x + 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:284:56
[INFO] [stdout]     |
[INFO] [stdout] 284 |         if (0..19).contains(x + 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:288:29
[INFO] [stdout]     |
[INFO] [stdout] 288 |         if (0..19).contains(y + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(y + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:292:29
[INFO] [stdout]     |
[INFO] [stdout] 292 |         if (0..19).contains(x - 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:292:56
[INFO] [stdout]     |
[INFO] [stdout] 292 |         if (0..19).contains(x - 1) && (0..19).contains(y + 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:296:29
[INFO] [stdout]     |
[INFO] [stdout] 296 |         if (0..19).contains(x - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:300:29
[INFO] [stdout]     |
[INFO] [stdout] 300 |         if (0..19).contains(x - 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:300:56
[INFO] [stdout]     |
[INFO] [stdout] 300 |         if (0..19).contains(x - 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:304:29
[INFO] [stdout]     |
[INFO] [stdout] 304 |         if (0..19).contains(y - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(y - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:308:29
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if (0..19).contains(x + 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                             ^^^^^
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected reference, found `i32`
[INFO] [stdout]     |                             help: consider borrowing here: `&(x + 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/board/board.rs:308:56
[INFO] [stdout]     |
[INFO] [stdout] 308 |         if (0..19).contains(x + 1) && (0..19).contains(y - 1)
[INFO] [stdout]     |                                                        ^^^^^
[INFO] [stdout]     |                                                        |
[INFO] [stdout]     |                                                        expected reference, found `i32`
[INFO] [stdout]     |                                                        help: consider borrowing here: `&(y - 1)`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                     found type `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors; 1 warning 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: build failed
[INFO] running `Command { std: "docker" "inspect" "2c5638bad1d82b505450ecc1c29e756c1d35c8ab1137d80893c134ca21bbd32e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c5638bad1d82b505450ecc1c29e756c1d35c8ab1137d80893c134ca21bbd32e", kill_on_drop: false }`
[INFO] [stdout] 2c5638bad1d82b505450ecc1c29e756c1d35c8ab1137d80893c134ca21bbd32e
