[INFO] cloning repository https://github.com/PlacidFireball/poker_proj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PlacidFireball/poker_proj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlacidFireball%2Fpoker_proj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlacidFireball%2Fpoker_proj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2863c5b79e37f1177b2c1298d43f6c1b6cb7842f [INFO] checking PlacidFireball/poker_proj against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlacidFireball%2Fpoker_proj" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PlacidFireball/poker_proj on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PlacidFireball/poker_proj [INFO] finished tweaking git repo https://github.com/PlacidFireball/poker_proj [INFO] tweaked toml for git repo https://github.com/PlacidFireball/poker_proj written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/PlacidFireball/poker_proj already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9497a7c88f166431dbaeb176436bcf010d145aaa12658b31822676eaa7ab9f7d [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" "9497a7c88f166431dbaeb176436bcf010d145aaa12658b31822676eaa7ab9f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9497a7c88f166431dbaeb176436bcf010d145aaa12658b31822676eaa7ab9f7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9497a7c88f166431dbaeb176436bcf010d145aaa12658b31822676eaa7ab9f7d", kill_on_drop: false }` [INFO] [stdout] 9497a7c88f166431dbaeb176436bcf010d145aaa12658b31822676eaa7ab9f7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 909c17b43a95eee14da2e8b26e0456c8347cc46c5fb02987f8f95fef350ebb99 [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" "909c17b43a95eee14da2e8b26e0456c8347cc46c5fb02987f8f95fef350ebb99", kill_on_drop: false }` [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking poker_proj v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `hand` in this scope [INFO] [stdout] --> src/hand.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | hand.sort(); // sort the hand by rank [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::card::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::card::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `hand` in this scope [INFO] [stdout] --> src/hand.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | hand.sort(); // sort the hand by rank [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::card::*` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::card::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `card::Face` [INFO] [stdout] --> src/card.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | return if self.face < other.face { [INFO] [stdout] | --------- ^ ---------- card::Face [INFO] [stdout] | | [INFO] [stdout] | card::Face [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialOrd` might be missing for `card::Face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `<` cannot be applied to type `card::Face` [INFO] [stdout] --> src/card.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | return if self.face < other.face { [INFO] [stdout] | --------- ^ ---------- card::Face [INFO] [stdout] | | [INFO] [stdout] | card::Face [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialOrd` might be missing for `card::Face` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u8` [INFO] [stdout] --> src/hand.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | counts[rank_arr[i]] += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u8]>` is not implemented for `u8` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poker_proj` [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[E0277]: the type `[u8]` cannot be indexed by `u8` [INFO] [stdout] --> src/hand.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | counts[rank_arr[i]] += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize` [INFO] [stdout] | [INFO] [stdout] = help: the trait `SliceIndex<[u8]>` is not implemented for `u8` [INFO] [stdout] = note: required because of the requirements on the impl of `Index` for `[u8]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "909c17b43a95eee14da2e8b26e0456c8347cc46c5fb02987f8f95fef350ebb99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "909c17b43a95eee14da2e8b26e0456c8347cc46c5fb02987f8f95fef350ebb99", kill_on_drop: false }` [INFO] [stdout] 909c17b43a95eee14da2e8b26e0456c8347cc46c5fb02987f8f95fef350ebb99