[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPlacidFireball%2Fpoker_proj" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PlacidFireball/poker_proj on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6740403961d969a42a7ce575c5ca7cc8da3286eb79208879ecd603d7509d87a0 [INFO] running `Command { std: "docker" "start" "-a" "6740403961d969a42a7ce575c5ca7cc8da3286eb79208879ecd603d7509d87a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6740403961d969a42a7ce575c5ca7cc8da3286eb79208879ecd603d7509d87a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6740403961d969a42a7ce575c5ca7cc8da3286eb79208879ecd603d7509d87a0", kill_on_drop: false }` [INFO] [stdout] 6740403961d969a42a7ce575c5ca7cc8da3286eb79208879ecd603d7509d87a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42ca2e8e5877ef18bc320cc0230d575ae3bd9624c37f6a1bde1c9600a5f93a7a [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" "42ca2e8e5877ef18bc320cc0230d575ae3bd9624c37f6a1bde1c9600a5f93a7a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_os v0.1.3 [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" "42ca2e8e5877ef18bc320cc0230d575ae3bd9624c37f6a1bde1c9600a5f93a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ca2e8e5877ef18bc320cc0230d575ae3bd9624c37f6a1bde1c9600a5f93a7a", kill_on_drop: false }` [INFO] [stdout] 42ca2e8e5877ef18bc320cc0230d575ae3bd9624c37f6a1bde1c9600a5f93a7a