[INFO] cloning repository https://github.com/CreativeWolfies/sharmat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CreativeWolfies/sharmat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fsharmat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fsharmat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c139a0adffee32fa6541b284d71934156a57099b [INFO] checking CreativeWolfies/sharmat against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCreativeWolfies%2Fsharmat" "/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/CreativeWolfies/sharmat on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CreativeWolfies/sharmat [INFO] finished tweaking git repo https://github.com/CreativeWolfies/sharmat [INFO] tweaked toml for git repo https://github.com/CreativeWolfies/sharmat written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/CreativeWolfies/sharmat already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5a3246e02afd6e1dbb9287c5c06450836d6a6ff12eb28a6ceca067fcfc9c3ea [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" "d5a3246e02afd6e1dbb9287c5c06450836d6a6ff12eb28a6ceca067fcfc9c3ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5a3246e02afd6e1dbb9287c5c06450836d6a6ff12eb28a6ceca067fcfc9c3ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5a3246e02afd6e1dbb9287c5c06450836d6a6ff12eb28a6ceca067fcfc9c3ea", kill_on_drop: false }` [INFO] [stdout] d5a3246e02afd6e1dbb9287c5c06450836d6a6ff12eb28a6ceca067fcfc9c3ea [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac8479bd6e282042e99bff9855c0601281c017f5626bae561dc4d9f63a019e7c [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" "ac8479bd6e282042e99bff9855c0601281c017f5626bae561dc4d9f63a019e7c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.23 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling libloading v0.6.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling pin-project-internal v0.4.24 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Checking float-cmp v0.5.3 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking xmlparser v0.10.0 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking iced_core v0.2.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking unicode-script v0.3.0 [INFO] [stderr] Checking sw-composite v0.5.10 [INFO] [stderr] Checking ttf-parser v0.2.2 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking rctree v0.3.3 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Compiling glam v0.8.7 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking svg_fmt v0.2.1 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking data-url v0.1.0 [INFO] [stderr] Compiling cmake v0.1.44 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking hibitset v0.6.3 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking iced_style v0.1.0 [INFO] [stderr] Checking roxmltree v0.7.3 [INFO] [stderr] Checking rgb v0.8.25 [INFO] [stderr] Compiling wayland-sys v0.27.0 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Checking simplecss v0.2.0 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking kurbo v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling servo-freetype-sys v4.0.5 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling harfbuzz-sys v0.3.4 [INFO] [stderr] Compiling wayland-scanner v0.27.0 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking sid v0.6.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking nix v0.17.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking lyon_geom v0.15.3 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling xcb v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking xcursor v0.3.2 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking raqote v0.6.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking lyon_path v0.15.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-client v0.27.0 [INFO] [stderr] Compiling wayland-protocols v0.27.0 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking lyon_algorithms v0.15.1 [INFO] [stderr] Checking lyon_tessellation v0.15.9 [INFO] [stderr] Checking font-kit v0.4.0 [INFO] [stderr] Checking harfbuzz_rs v1.2.0 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking usvg v0.8.0 [INFO] [stderr] Checking lyon v0.15.9 [INFO] [stderr] Checking wayland-commons v0.27.0 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Checking resvg v0.8.0 [INFO] [stderr] Checking wayland-cursor v0.27.0 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking guillotiere v0.4.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking clipboard_x11 v0.1.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking wgpu-native v0.4.3 [INFO] [stderr] Checking pin-project v0.4.24 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking smithay-client-toolkit v0.11.0 [INFO] [stderr] Checking smithay-clipboard v0.5.2 [INFO] [stderr] Checking clipboard_wayland v0.1.1 [INFO] [stderr] Checking window_clipboard v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking iced_futures v0.1.2 [INFO] [stderr] Checking iced_native v0.2.2 [INFO] [stderr] Checking iced_winit v0.1.0 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking wgpu_glyph v0.7.0 [INFO] [stderr] Checking iced_wgpu v0.2.3 [INFO] [stderr] Checking iced v0.1.1 [INFO] [stderr] Checking sharmat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sharmat::game::*` [INFO] [stdout] --> tests/movement.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sharmat::game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharmat::piece::*` [INFO] [stdout] --> tests/movement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sharmat::piece::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharmat::rule::*` [INFO] [stdout] --> tests/movement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sharmat::rule::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharmat::game::*` [INFO] [stdout] --> tests/movement.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sharmat::game::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharmat::piece::*` [INFO] [stdout] --> tests/movement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sharmat::piece::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sharmat::rule::*` [INFO] [stdout] --> tests/movement.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sharmat::rule::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | let _player = Player::new(true /* UNKNOWN */); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | board.set(0, 0, Some(2)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | board.set(20, 20, Some(2)).unwrap_err(), [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | board.set(0, 0, Some(2)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | board.set(x, y, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | board.set(20, 20, Some(2)).unwrap_err(), [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boards` found for struct `sharmat::game::GameBuilder` in the current scope [INFO] [stdout] --> tests/game.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | let _game = GameBuilder::new().boards(vec![board, board2]).build(); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boards` found for struct `sharmat::game::GameBuilder` in the current scope [INFO] [stdout] --> tests/game.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | .boards(vec![board2, board3]) [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boards` found for struct `Game` in the current scope [INFO] [stdout] --> tests/game.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(game.boards(), &vec![board]); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boards` found for struct `Game` in the current scope [INFO] [stdout] --> tests/game.rs:57:22 [INFO] [stdout] | [INFO] [stdout] 57 | assert_eq!(*game.boards(), vec![board, board2]); [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | board.set(x, y, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boards` found for struct `sharmat::game::GameBuilder` in the current scope [INFO] [stdout] --> tests/game.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | .boards(vec![board.clone(), board2.clone()]) [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `boards` found for struct `sharmat::game::GameBuilder` in the current scope [INFO] [stdout] --> tests/game.rs:77:10 [INFO] [stdout] | [INFO] [stdout] 77 | .boards(vec![board2.clone(), board3.clone()]) [INFO] [stdout] | ^^^^^^ help: there is an associated function with a similar name: `board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> tests/game.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | assert_eq!(*game.pieces(), vec![piece]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec [INFO] [stdout] | Vec [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> tests/game.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(*game.pieces(), vec![piece, piece2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec [INFO] [stdout] | Vec [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> tests/game.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | assert_eq!(*game.pieces(), vec![piece, piece2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec [INFO] [stdout] | Vec [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec` [INFO] [stdout] --> tests/game.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(*game.pieces(), vec![piece, piece2, piece3]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec [INFO] [stdout] | Vec [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<&sharmat::piece::Piece>` [INFO] [stdout] --> tests/game.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(game.search_piece(piece.id()), Some(&piece)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option<&sharmat::piece::Piece> [INFO] [stdout] | Option<&sharmat::piece::Piece> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Option<&sharmat::piece::Piece>` [INFO] [stdout] --> tests/game.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(game.search_piece("random"), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Option<&sharmat::piece::Piece> [INFO] [stdout] | Option<_> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec<&sharmat::piece::Piece>` [INFO] [stdout] --> tests/game.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | assert_eq!(game.search_piece_alias("test"), vec![&piece, &piece2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec<&sharmat::piece::Piece> [INFO] [stdout] | Vec<&sharmat::piece::Piece> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `Vec<&sharmat::piece::Piece>` [INFO] [stdout] --> tests/game.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(game.search_piece_alias("hmm"), Vec::<&Piece>::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | Vec<&sharmat::piece::Piece> [INFO] [stdout] | Vec<&sharmat::piece::Piece> [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0369, E0599. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0369`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(board.get(x, y).unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(usize, PlayerColor)>` [INFO] [stdout] found enum `Option<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sharmat` [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] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | assert_eq!(board.get(x, y).unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(usize, PlayerColor)>` [INFO] [stdout] found enum `Option<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | board.set(0, 0, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | board.set(0, 0, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(board.get(3, 3).unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(usize, PlayerColor)>` [INFO] [stdout] found enum `Option<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq!(board.get(3, 3).unwrap(), Some(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<(usize, PlayerColor)>` [INFO] [stdout] found enum `Option<{integer}>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | board.set(0, 0, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:88:26 [INFO] [stdout] | [INFO] [stdout] 88 | board.set(0, 0, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | board.set(0, 0, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:107:26 [INFO] [stdout] | [INFO] [stdout] 107 | board.set(0, 0, Some(1)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | board.set(0, 3, Some(2)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | board.set(0, 3, Some(2)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | board.set(3, 0, Some(3)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/board.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | board.set(3, 0, Some(3)); [INFO] [stdout] | ^ expected tuple, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, PlayerColor)` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/movement.rs:88:30 [INFO] [stdout] | [INFO] [stdout] 88 | let player = Player::new(true); [INFO] [stdout] | ^^^^ expected enum `PlayerColor`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac8479bd6e282042e99bff9855c0601281c017f5626bae561dc4d9f63a019e7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8479bd6e282042e99bff9855c0601281c017f5626bae561dc4d9f63a019e7c", kill_on_drop: false }` [INFO] [stdout] ac8479bd6e282042e99bff9855c0601281c017f5626bae561dc4d9f63a019e7c