[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] testing afaucher17/gomoku against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaucher17%2Fgomoku" "/workspace/builds/worker-110/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-110/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaucher17/gomoku on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-110/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.5 [INFO] [stderr] Downloaded clap v2.19.3 [INFO] [stderr] Downloaded strsim v0.5.2 [INFO] [stderr] Downloaded unicode-segmentation v0.1.3 [INFO] [stderr] Downloaded glium v0.16.0 [INFO] [stderr] Downloaded smallvec v0.1.8 [INFO] [stderr] Downloaded glium_text v0.11.0 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded term_size v0.2.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6cdbc04efa34d4201a5041b0cec429b25a04bd36bb2a614b5d7f0f84847ec063 [INFO] running `Command { std: "docker" "start" "-a" "6cdbc04efa34d4201a5041b0cec429b25a04bd36bb2a614b5d7f0f84847ec063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6cdbc04efa34d4201a5041b0cec429b25a04bd36bb2a614b5d7f0f84847ec063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cdbc04efa34d4201a5041b0cec429b25a04bd36bb2a614b5d7f0f84847ec063", kill_on_drop: false }` [INFO] [stdout] 6cdbc04efa34d4201a5041b0cec429b25a04bd36bb2a614b5d7f0f84847ec063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-110/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf99dbc0d239003b32cdb8477c8555569fcfcd3d2e6e3da4f5c04d4461b02ad [INFO] running `Command { std: "docker" "start" "-a" "cdf99dbc0d239003b32cdb8477c8555569fcfcd3d2e6e3da4f5c04d4461b02ad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.19 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling phf_shared v0.7.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling serde v0.8.22 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.41 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling khronos_api v1.0.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling adler32 v0.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling unicode-segmentation v0.1.3 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling num_cpus v1.2.1 [INFO] [stderr] Compiling term_size v0.2.1 [INFO] [stderr] Compiling time v0.1.36 [INFO] [stderr] Compiling shared_library v0.1.5 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling deflate v0.7.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling libz-sys v1.0.10 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling clap v2.19.3 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling image v0.12.1 [INFO] [stderr] Compiling wayland-sys v0.7.6 [INFO] [stderr] Compiling wayland-window v0.4.3 [INFO] [stderr] Compiling wayland-kbd v0.6.2 [INFO] [stderr] Compiling winit v0.5.7 [INFO] [stderr] Compiling glium_text v0.11.0 [INFO] [stderr] Compiling 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 (usize, usize)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - pub fun: Box (usize, usize)>, [INFO] [stdout] 44 + pub fun: Box (usize, usize)>, [INFO] [stdout] | [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cdf99dbc0d239003b32cdb8477c8555569fcfcd3d2e6e3da4f5c04d4461b02ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf99dbc0d239003b32cdb8477c8555569fcfcd3d2e6e3da4f5c04d4461b02ad", kill_on_drop: false }` [INFO] [stdout] cdf99dbc0d239003b32cdb8477c8555569fcfcd3d2e6e3da4f5c04d4461b02ad