[INFO] cloning repository https://github.com/DenSev/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DenSev/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenSev%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenSev%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a3b7afe8b86d7e15b60e7afe7a3179ce93ce29d [INFO] checking DenSev/rust-chess against try#bb9dbf1d07454a99066eabaabd5819851281494b for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDenSev%2Frust-chess" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DenSev/rust-chess on toolchain bb9dbf1d07454a99066eabaabd5819851281494b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DenSev/rust-chess [INFO] finished tweaking git repo https://github.com/DenSev/rust-chess [INFO] tweaked toml for git repo https://github.com/DenSev/rust-chess written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/DenSev/rust-chess already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 552accb6dbc6f9065292f2d64c40f427426284fe26342d7fed11cc65529e2c2a [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" "552accb6dbc6f9065292f2d64c40f427426284fe26342d7fed11cc65529e2c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "552accb6dbc6f9065292f2d64c40f427426284fe26342d7fed11cc65529e2c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552accb6dbc6f9065292f2d64c40f427426284fe26342d7fed11cc65529e2c2a", kill_on_drop: false }` [INFO] [stdout] 552accb6dbc6f9065292f2d64c40f427426284fe26342d7fed11cc65529e2c2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+bb9dbf1d07454a99066eabaabd5819851281494b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f2f9988db9435965bb8d8bfdfdf4f9cb9a64ae986c2f2ffbb9d5bb7548c75f [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" "e0f2f9988db9435965bb8d8bfdfdf4f9cb9a64ae986c2f2ffbb9d5bb7548c75f", kill_on_drop: false }` [INFO] [stderr] Checking rust-chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `insert` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/lib.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | pieces.insert(Pos { x: j, y: i }, cell_at); [INFO] [stdout] | ^^^^^^ method not found in `HashMap` [INFO] [stdout] ... [INFO] [stdout] 328 | pub struct Pos { [INFO] [stdout] | -------------- doesn't satisfy `Pos: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Pos: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | if positions.contains(opposing_king_pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Pos` [INFO] [stdout] | help: consider borrowing here: `&opposing_king_pos` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:298:34 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn check_board(&self) -> Option { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-chess` [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[E0599]: no method named `insert` found for struct `HashMap` in the current scope [INFO] [stdout] --> src/lib.rs:255:28 [INFO] [stdout] | [INFO] [stdout] 255 | pieces.insert(Pos { x: j, y: i }, cell_at); [INFO] [stdout] | ^^^^^^ method not found in `HashMap` [INFO] [stdout] ... [INFO] [stdout] 328 | pub struct Pos { [INFO] [stdout] | -------------- doesn't satisfy `Pos: Hash` [INFO] [stdout] | [INFO] [stdout] = note: the method `insert` exists but the following trait bounds were not satisfied: [INFO] [stdout] `Pos: Hash` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:279:35 [INFO] [stdout] | [INFO] [stdout] 279 | if positions.contains(opposing_king_pos) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `Pos` [INFO] [stdout] | help: consider borrowing here: `&opposing_king_pos` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `Pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:298:34 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn check_board(&self) -> Option { [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ expected enum `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e0f2f9988db9435965bb8d8bfdfdf4f9cb9a64ae986c2f2ffbb9d5bb7548c75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f2f9988db9435965bb8d8bfdfdf4f9cb9a64ae986c2f2ffbb9d5bb7548c75f", kill_on_drop: false }` [INFO] [stdout] e0f2f9988db9435965bb8d8bfdfdf4f9cb9a64ae986c2f2ffbb9d5bb7548c75f