[INFO] cloning repository https://github.com/mikkolundgren/ray-poker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikkolundgren/ray-poker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikkolundgren%2Fray-poker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikkolundgren%2Fray-poker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0723f5e69b7f7598388ea0314994bb52846be11 [INFO] checking mikkolundgren/ray-poker against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikkolundgren%2Fray-poker" "/workspace/builds/worker-90/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-90/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikkolundgren/ray-poker on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mikkolundgren/ray-poker [INFO] finished tweaking git repo https://github.com/mikkolundgren/ray-poker [INFO] tweaked toml for git repo https://github.com/mikkolundgren/ray-poker written to /workspace/builds/worker-90/source/Cargo.toml [INFO] crate git repo https://github.com/mikkolundgren/ray-poker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 851ce014e6f77a025eb6d4ed4c37d96db70f82d6b45aa886810ab2d6010181dc [INFO] running `Command { std: "docker" "start" "-a" "851ce014e6f77a025eb6d4ed4c37d96db70f82d6b45aa886810ab2d6010181dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "851ce014e6f77a025eb6d4ed4c37d96db70f82d6b45aa886810ab2d6010181dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851ce014e6f77a025eb6d4ed4c37d96db70f82d6b45aa886810ab2d6010181dc", kill_on_drop: false }` [INFO] [stdout] 851ce014e6f77a025eb6d4ed4c37d96db70f82d6b45aa886810ab2d6010181dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 99f76c73e1af3f4ae5d935879e3c86e930f3c58f22624d1078369e698798059b [INFO] running `Command { std: "docker" "start" "-a" "99f76c73e1af3f4ae5d935879e3c86e930f3c58f22624d1078369e698798059b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.47 [INFO] [stderr] Checking rand v0.4.5 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking ray_poker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | (is_straight(_hand) && is_flush(_hand)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - (is_straight(_hand) && is_flush(_hand)) [INFO] [stdout] 170 + is_straight(_hand) && is_flush(_hand) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/main.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | (is_straight(_hand) && is_flush(_hand)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - (is_straight(_hand) && is_flush(_hand)) [INFO] [stdout] 170 + is_straight(_hand) && is_flush(_hand) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_pair` [INFO] [stdout] --> src/main.rs:143:4 [INFO] [stdout] | [INFO] [stdout] 143 | fn is_pair(_hand: &Vec) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | &new_hand.push(c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 227 | let _ = &new_hand.push(c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/main.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | &new_hand.push(c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 227 | let _ = &new_hand.push(c); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "99f76c73e1af3f4ae5d935879e3c86e930f3c58f22624d1078369e698798059b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99f76c73e1af3f4ae5d935879e3c86e930f3c58f22624d1078369e698798059b", kill_on_drop: false }` [INFO] [stdout] 99f76c73e1af3f4ae5d935879e3c86e930f3c58f22624d1078369e698798059b