[INFO] cloning repository DenSev/rust-chess [INFO] running `"git" "clone" "--bare" "git://github.com/DenSev/rust-chess.git" "work/cache/sources/gh/DenSev/rust-chess"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/DenSev/rust-chess'... [INFO] running `"git" "clone" "work/cache/sources/gh/DenSev/rust-chess" "work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/DenSev/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/gh/DenSev/rust-chess'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/DenSev/rust-chess" "work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/DenSev/rust-chess"` [INFO] [stderr] Cloning into 'work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of DenSev/rust-chess on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-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-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/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-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/gh/DenSev/rust-chess/Cargo.toml [INFO] crate DenSev/rust-chess already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing DenSev/rust-chess against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-2/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/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" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 1bdd5948797b5b0f736f0b6cb14200e075be7b703dabf20e3657483360f096f9 [INFO] running `"docker" "start" "-a" "1bdd5948797b5b0f736f0b6cb14200e075be7b703dabf20e3657483360f096f9"` [INFO] [stderr] Compiling 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 `std::collections::HashMap::::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[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 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: 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" "1bdd5948797b5b0f736f0b6cb14200e075be7b703dabf20e3657483360f096f9"` [INFO] running `"docker" "rm" "-f" "1bdd5948797b5b0f736f0b6cb14200e075be7b703dabf20e3657483360f096f9"` [INFO] [stdout] 1bdd5948797b5b0f736f0b6cb14200e075be7b703dabf20e3657483360f096f9