[INFO] cloning repository https://github.com/girvel/shannon_ai [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/girvel/shannon_ai" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgirvel%2Fshannon_ai", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgirvel%2Fshannon_ai'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd5af4e952cfa2b611fd442e7be1191e7b7a97c7 [INFO] checking girvel/shannon_ai against try#3c75d5844aa65b4aa19243ac44ceda49fe4e61ca for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgirvel%2Fshannon_ai" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/girvel/shannon_ai [INFO] finished tweaking git repo https://github.com/girvel/shannon_ai [INFO] tweaked toml for git repo https://github.com/girvel/shannon_ai written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/girvel/shannon_ai on toolchain 3c75d5844aa65b4aa19243ac44ceda49fe4e61ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/girvel/shannon_ai already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08746acf4462c17f5792f4901f935f0509c2b88e97ff7f4f3a249a15b8d31d98 [INFO] running `Command { std: "docker" "start" "-a" "08746acf4462c17f5792f4901f935f0509c2b88e97ff7f4f3a249a15b8d31d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08746acf4462c17f5792f4901f935f0509c2b88e97ff7f4f3a249a15b8d31d98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08746acf4462c17f5792f4901f935f0509c2b88e97ff7f4f3a249a15b8d31d98", kill_on_drop: false }` [INFO] [stdout] 08746acf4462c17f5792f4901f935f0509c2b88e97ff7f4f3a249a15b8d31d98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+3c75d5844aa65b4aa19243ac44ceda49fe4e61ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb00d9ec7ac2240d8868a2ce3f48e6b4e9fab13e10cc0486fcc1c04202f36456 [INFO] running `Command { std: "docker" "start" "-a" "fb00d9ec7ac2240d8868a2ce3f48e6b4e9fab13e10cc0486fcc1c04202f36456", kill_on_drop: false }` [INFO] [stderr] Checking shannon_ai v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | let piece = position.board[self.from]; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | position.board[self.from] = pieces::NONE; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | let (_, y) = coordinates_from_index(self.from); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | position.board[self.to] = self.promotion; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `promotion` on type `&Move` [INFO] [stdout] --> src/main.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 130 | position.board[self.to] = self.promotion; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | position.board[self.to] = piece; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:135:46 [INFO] [stdout] | [INFO] [stdout] 135 | if piece == pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:135:56 [INFO] [stdout] | [INFO] [stdout] 135 | if piece == pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | position.board[self.to + 1] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | position.board[self.to - 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | else if piece == -pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:139:62 [INFO] [stdout] | [INFO] [stdout] 139 | else if piece == -pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | position.board[self.to + 1] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | position.board[self.to - 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 143 | else if piece == pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:143:63 [INFO] [stdout] | [INFO] [stdout] 143 | else if piece == pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | position.board[self.to - 2] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | position.board[self.to + 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | else if piece == -pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:147:64 [INFO] [stdout] | [INFO] [stdout] 147 | else if piece == -pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | position.board[self.to - 2] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | position.board[self.to + 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:124:41 [INFO] [stdout] | [INFO] [stdout] 124 | let piece = position.board[self.from]; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:125:29 [INFO] [stdout] | [INFO] [stdout] 125 | position.board[self.from] = pieces::NONE; [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | let (_, y) = coordinates_from_index(self.from); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:130:33 [INFO] [stdout] | [INFO] [stdout] 130 | position.board[self.to] = self.promotion; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `promotion` on type `&Move` [INFO] [stdout] --> src/main.rs:130:44 [INFO] [stdout] | [INFO] [stdout] 130 | position.board[self.to] = self.promotion; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:133:33 [INFO] [stdout] | [INFO] [stdout] 133 | position.board[self.to] = piece; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:135:46 [INFO] [stdout] | [INFO] [stdout] 135 | if piece == pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:135:56 [INFO] [stdout] | [INFO] [stdout] 135 | if piece == pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:136:37 [INFO] [stdout] | [INFO] [stdout] 136 | position.board[self.to + 1] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:137:37 [INFO] [stdout] | [INFO] [stdout] 137 | position.board[self.to - 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | else if piece == -pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:139:62 [INFO] [stdout] | [INFO] [stdout] 139 | else if piece == -pieces::KING && self.to - self.from == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:140:37 [INFO] [stdout] | [INFO] [stdout] 140 | position.board[self.to + 1] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:141:37 [INFO] [stdout] | [INFO] [stdout] 141 | position.board[self.to - 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:143:51 [INFO] [stdout] | [INFO] [stdout] 143 | else if piece == pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:143:63 [INFO] [stdout] | [INFO] [stdout] 143 | else if piece == pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:144:37 [INFO] [stdout] | [INFO] [stdout] 144 | position.board[self.to - 2] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:145:37 [INFO] [stdout] | [INFO] [stdout] 145 | position.board[self.to + 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `from` on type `&Move` [INFO] [stdout] --> src/main.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 147 | else if piece == -pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:147:64 [INFO] [stdout] | [INFO] [stdout] 147 | else if piece == -pieces::KING && self.from - self.to == 2 { [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:148:37 [INFO] [stdout] | [INFO] [stdout] 148 | position.board[self.to - 2] = pieces::NONE; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `to` on type `&Move` [INFO] [stdout] --> src/main.rs:149:37 [INFO] [stdout] | [INFO] [stdout] 149 | position.board[self.to + 1] = pieces::ROOK; [INFO] [stdout] | ^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `0`, `1`, `2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0609`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shannon_ai` (bin "shannon_ai") due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `shannon_ai` (bin "shannon_ai" test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "fb00d9ec7ac2240d8868a2ce3f48e6b4e9fab13e10cc0486fcc1c04202f36456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb00d9ec7ac2240d8868a2ce3f48e6b4e9fab13e10cc0486fcc1c04202f36456", kill_on_drop: false }` [INFO] [stdout] fb00d9ec7ac2240d8868a2ce3f48e6b4e9fab13e10cc0486fcc1c04202f36456