[INFO] updating cached repository DenSev/rust-chess [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/DenSev/rust-chess [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/DenSev/rust-chess" "work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/DenSev/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/DenSev/rust-chess'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/DenSev/rust-chess" "work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/DenSev/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/DenSev/rust-chess'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4a3b7afe8b86d7e15b60e7afe7a3179ce93ce29d [INFO] sha for GitHub repo DenSev/rust-chess: 4a3b7afe8b86d7e15b60e7afe7a3179ce93ce29d [INFO] validating manifest of DenSev/rust-chess on toolchain master#f66e4697ae286985ddefc53c3a047614568458bb [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of DenSev/rust-chess on toolchain try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing DenSev/rust-chess [INFO] finished frobbing DenSev/rust-chess [INFO] frobbed toml for DenSev/rust-chess written to work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/DenSev/rust-chess/Cargo.toml [INFO] started frobbing DenSev/rust-chess [INFO] finished frobbing DenSev/rust-chess [INFO] frobbed toml for DenSev/rust-chess written to work/ex/pr-58592/sources/try#c3b22200e6f5b70eb1f99ae6944d989ae17a458a/gh/DenSev/rust-chess/Cargo.toml [INFO] crate DenSev/rust-chess has a lockfile. skipping [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c3b22200e6f5b70eb1f99ae6944d989ae17a458a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking DenSev/rust-chess against master#f66e4697ae286985ddefc53c3a047614568458bb for pr-58592 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58592/worker-6/master#f66e4697ae286985ddefc53c3a047614568458bb:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58592/sources/master#f66e4697ae286985ddefc53c3a047614568458bb/gh/DenSev/rust-chess:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+f66e4697ae286985ddefc53c3a047614568458bb-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e696e32dfe91655af9126a63c059d40e5a6a78e3ac105bf41851338838e32a26 [INFO] running `"docker" "start" "-a" "e696e32dfe91655af9126a63c059d40e5a6a78e3ac105bf41851338838e32a26"` [INFO] [stderr] Checking rust-chess v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0277]: the trait bound `Pos: std::hash::Hash` is not satisfied [INFO] [stderr] --> src/lib.rs:248:47 [INFO] [stderr] | [INFO] [stderr] 248 | let mut pieces: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Pos` [INFO] [stderr] | [INFO] [stderr] = note: required by `>::new` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `insert` found for type `std::collections::HashMap` in the current scope [INFO] [stderr] --> src/lib.rs:255:28 [INFO] [stderr] | [INFO] [stderr] 255 | pieces.insert(Pos { x: j, y: i }, cell_at); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Pos : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `iter` found for type `std::collections::HashMap` in the current scope [INFO] [stderr] --> src/lib.rs:276:36 [INFO] [stderr] | [INFO] [stderr] 276 | for (pos, piece) in pieces.iter() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `iter` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Pos : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:279:35 [INFO] [stderr] | [INFO] [stderr] 279 | if positions.contains(opposing_king_pos) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `Pos` [INFO] [stderr] | help: consider borrowing here: `&opposing_king_pos` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&_` [INFO] [stderr] found type `Pos` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:298:34 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn check_board(&self) -> Option { [INFO] [stderr] | ----------- ^^^^^^^^^^^^^ expected enum `std::option::Option`, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error[E0277]: the trait bound `Pos: std::hash::Hash` is not satisfied [INFO] [stderr] --> src/lib.rs:248:47 [INFO] [stderr] | [INFO] [stderr] 248 | let mut pieces: HashMap = HashMap::new(); [INFO] [stderr] | ^^^^^^^^^^^^ the trait `std::hash::Hash` is not implemented for `Pos` [INFO] [stderr] | [INFO] [stderr] = note: required by `>::new` [INFO] [stderr] [INFO] [stderr] error: Could not compile `rust-chess`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0599]: no method named `insert` found for type `std::collections::HashMap` in the current scope [INFO] [stderr] --> src/lib.rs:255:28 [INFO] [stderr] | [INFO] [stderr] 255 | pieces.insert(Pos { x: j, y: i }, cell_at); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Pos : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `iter` found for type `std::collections::HashMap` in the current scope [INFO] [stderr] --> src/lib.rs:276:36 [INFO] [stderr] | [INFO] [stderr] 276 | for (pos, piece) in pieces.iter() { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the method `iter` exists but the following trait bounds were not satisfied: [INFO] [stderr] `Pos : std::hash::Hash` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:279:35 [INFO] [stderr] | [INFO] [stderr] 279 | if positions.contains(opposing_king_pos) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected reference, found struct `Pos` [INFO] [stderr] | help: consider borrowing here: `&opposing_king_pos` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&_` [INFO] [stderr] found type `Pos` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:298:34 [INFO] [stderr] | [INFO] [stderr] 298 | pub fn check_board(&self) -> Option { [INFO] [stderr] | ----------- ^^^^^^^^^^^^^ expected enum `std::option::Option`, found () [INFO] [stderr] | | [INFO] [stderr] | this function's body doesn't return [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `()` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0308, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `rust-chess`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e696e32dfe91655af9126a63c059d40e5a6a78e3ac105bf41851338838e32a26"` [INFO] running `"docker" "rm" "-f" "e696e32dfe91655af9126a63c059d40e5a6a78e3ac105bf41851338838e32a26"` [INFO] [stdout] e696e32dfe91655af9126a63c059d40e5a6a78e3ac105bf41851338838e32a26