[INFO] cloning repository https://github.com/afaucher17/gomoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/afaucher17/gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaucher17%2Fgomoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaucher17%2Fgomoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d9c73b2a3b137b3d22be1a0e9d84349e2dc81a7 [INFO] checking afaucher17/gomoku against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaucher17%2Fgomoku" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaucher17/gomoku on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/afaucher17/gomoku [INFO] finished tweaking git repo https://github.com/afaucher17/gomoku [INFO] tweaked toml for git repo https://github.com/afaucher17/gomoku written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/afaucher17/gomoku already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bebe68d64dee6587cdba1a9510727080ea46b2b90785820dad9f4ab3a4e10ce8 [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" "bebe68d64dee6587cdba1a9510727080ea46b2b90785820dad9f4ab3a4e10ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bebe68d64dee6587cdba1a9510727080ea46b2b90785820dad9f4ab3a4e10ce8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bebe68d64dee6587cdba1a9510727080ea46b2b90785820dad9f4ab3a4e10ce8", kill_on_drop: false }` [INFO] [stdout] bebe68d64dee6587cdba1a9510727080ea46b2b90785820dad9f4ab3a4e10ce8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8c1b42d017637a97030ef25dfbd192c218feb17fa6d2a10c93879dd237efced0 [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" "8c1b42d017637a97030ef25dfbd192c218feb17fa6d2a10c93879dd237efced0", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.19 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling serde v0.8.22 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking adler32 v0.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking smallvec v0.1.8 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking unicode-segmentation v0.1.3 [INFO] [stderr] Checking vec_map v0.6.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking deflate v0.7.2 [INFO] [stderr] Checking gif v0.9.0 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking shared_library v0.1.5 [INFO] [stderr] Checking num_cpus v1.2.1 [INFO] [stderr] Checking term_size v0.2.1 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking clap v2.19.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling libz-sys v1.0.10 [INFO] [stderr] Checking png v0.6.2 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Checking deque v0.3.1 [INFO] [stderr] Checking num-bigint v0.1.35 [INFO] [stderr] Checking cgmath v0.12.0 [INFO] [stderr] Checking rayon v0.6.0 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Checking num-rational v0.1.35 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Checking jpeg-decoder v0.1.11 [INFO] [stderr] Checking image v0.12.1 [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-window v0.4.3 [INFO] [stderr] Checking wayland-kbd v0.6.2 [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 beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta 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 (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] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(slice_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta 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 (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] [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[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] [stderr] error: could not compile `gomoku` [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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" "8c1b42d017637a97030ef25dfbd192c218feb17fa6d2a10c93879dd237efced0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c1b42d017637a97030ef25dfbd192c218feb17fa6d2a10c93879dd237efced0", kill_on_drop: false }` [INFO] [stdout] 8c1b42d017637a97030ef25dfbd192c218feb17fa6d2a10c93879dd237efced0