[INFO] updating cached repository https://github.com/afaucher17/gomoku [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] 4d9c73b2a3b137b3d22be1a0e9d84349e2dc81a7 [INFO] testing afaucher17/gomoku against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fafaucher17%2Fgomoku" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/afaucher17/gomoku on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-4/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.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 948700bf0193b0ea86ad9f24841ef3dae0ab15d795371b6b8857e15ba46cd1a8 [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" "948700bf0193b0ea86ad9f24841ef3dae0ab15d795371b6b8857e15ba46cd1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "948700bf0193b0ea86ad9f24841ef3dae0ab15d795371b6b8857e15ba46cd1a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948700bf0193b0ea86ad9f24841ef3dae0ab15d795371b6b8857e15ba46cd1a8", kill_on_drop: false }` [INFO] [stdout] 948700bf0193b0ea86ad9f24841ef3dae0ab15d795371b6b8857e15ba46cd1a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16ad3dd573243b8212ab694df7b37a89ad16da0199d459304cff8e5b2b7467f0 [INFO] running `Command { std: "docker" "start" "-a" "16ad3dd573243b8212ab694df7b37a89ad16da0199d459304cff8e5b2b7467f0", kill_on_drop: false }` [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 lazy_static v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.8 [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 backtrace v0.2.3 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling byteorder v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.3 [INFO] [stderr] Compiling adler32 v0.3.0 [INFO] [stderr] Compiling fnv v1.0.5 [INFO] [stderr] Compiling smallvec v0.1.8 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling inflate v0.1.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling unicode-segmentation v0.1.3 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.5.2 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.7 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling xml-rs v0.3.5 [INFO] [stderr] Compiling phf v0.7.20 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling deflate v0.7.2 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Compiling shared_library v0.1.5 [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 rustc_version v0.1.7 [INFO] [stderr] Compiling gif v0.9.0 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling x11-dl v2.12.0 [INFO] [stderr] Compiling freetype-sys v0.4.0 [INFO] [stderr] Compiling clap v2.19.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling libz-sys v1.0.10 [INFO] [stderr] Compiling backtrace-sys v0.1.5 [INFO] [stderr] Compiling tempfile v2.1.4 [INFO] [stderr] Compiling num-iter v0.1.32 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling wayland-scanner v0.7.6 [INFO] [stderr] Compiling gl_generator v0.5.2 [INFO] [stderr] Compiling phf_generator v0.7.20 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.20 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling png v0.6.2 [INFO] [stderr] Compiling target_build_utils v0.1.2 [INFO] [stderr] Compiling num-bigint v0.1.35 [INFO] [stderr] Compiling cgmath v0.12.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.11 [INFO] [stderr] Compiling serde_json v0.8.4 [INFO] [stderr] Compiling wayland-client v0.7.6 [INFO] [stderr] Compiling glutin v0.7.2 [INFO] [stderr] Compiling glium v0.16.0 [INFO] [stderr] Compiling num-rational v0.1.35 [INFO] [stderr] Compiling image v0.12.1 [INFO] [stderr] Compiling libloading v0.3.1 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.7.6 [INFO] [stderr] Compiling wayland-kbd v0.6.2 [INFO] [stderr] Compiling wayland-window v0.4.3 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: 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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "16ad3dd573243b8212ab694df7b37a89ad16da0199d459304cff8e5b2b7467f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16ad3dd573243b8212ab694df7b37a89ad16da0199d459304cff8e5b2b7467f0", kill_on_drop: false }` [INFO] [stdout] 16ad3dd573243b8212ab694df7b37a89ad16da0199d459304cff8e5b2b7467f0