[INFO] cloning repository https://github.com/halvorlinder/Connect-4-AI
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/halvorlinder/Connect-4-AI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvorlinder%2FConnect-4-AI", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvorlinder%2FConnect-4-AI'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e1591649d0474d734bf6787559cd9d8db70883c8
[INFO] documenting halvorlinder/Connect-4-AI against 1.98.0-beta.1 for beta-rustdoc-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvorlinder%2FConnect-4-AI" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/halvorlinder/Connect-4-AI
[INFO] finished tweaking git repo https://github.com/halvorlinder/Connect-4-AI
[INFO] tweaked toml for git repo https://github.com/halvorlinder/Connect-4-AI written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/halvorlinder/Connect-4-AI on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/halvorlinder/Connect-4-AI already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] documenting halvorlinder/Connect-4-AI against 1.98.0-beta.1 for beta-rustdoc-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhalvorlinder%2FConnect-4-AI" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/halvorlinder/Connect-4-AI
[INFO] finished tweaking git repo https://github.com/halvorlinder/Connect-4-AI
[INFO] tweaked toml for git repo https://github.com/halvorlinder/Connect-4-AI written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/halvorlinder/Connect-4-AI on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/halvorlinder/Connect-4-AI already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded matrixmultiply v0.1.15
[INFO] [stderr]   Downloaded rawpointer v0.1.0
[INFO] [stderr]   Downloaded rulinalg v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0
[INFO] running `Command { std: "docker" "start" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling proc-macro2 v1.0.49
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling matrixmultiply v0.1.15
[INFO] [stderr]    Compiling rustversion v1.0.11
[INFO] [stderr]     Checking rawpointer v0.1.0
[INFO] [stderr]     Checking strum v0.24.1
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking rulinalg v0.4.2
[INFO] [stderr]    Compiling strum_macros v0.24.3
[INFO] [stderr]  Documenting four-in-a-row v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/game_logic.rs:27:17
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 (Player::P1) => "\u{001b}[31mP1\u{001b}[0m",
[INFO] [stdout]    |                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 27 -                 (Player::P1) => "\u{001b}[31mP1\u{001b}[0m",
[INFO] [stdout] 27 +                 Player::P1 => "\u{001b}[31mP1\u{001b}[0m",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]   --> src/game_logic.rs:28:17
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 (Player::P2) => "\u{001b}[33mP2\u{001b}[0m",
[INFO] [stdout]    |                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 28 -                 (Player::P2) => "\u{001b}[33mP2\u{001b}[0m",
[INFO] [stdout] 28 +                 Player::P2 => "\u{001b}[33mP2\u{001b}[0m",
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around closure body
[INFO] [stdout]    --> src/game_logic.rs:141:28
[INFO] [stdout]     |
[INFO] [stdout] 141 |     (0..gs.cols).map(|mov| ( legal_in_col(gs.clone(), mov) )).flatten().collect()
[INFO] [stdout]     |                            ^^                             ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 141 -     (0..gs.cols).map(|mov| ( legal_in_col(gs.clone(), mov) )).flatten().collect()
[INFO] [stdout] 141 +     (0..gs.cols).map(|mov| legal_in_col(gs.clone(), mov)).flatten().collect()
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/game.rs:85:38
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let agent : Box<dyn Agent> = (match agent_type {
[INFO] [stdout]    |                                      ^
[INFO] [stdout] ...
[INFO] [stdout] 89 |         });
[INFO] [stdout]    |          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 ~         let agent : Box<dyn Agent> = match agent_type {
[INFO] [stdout] 86 |             Agents::Human => Box::new(Human::new()),
[INFO] [stdout] 87 |             Agents::RandomMover => Box::new(RandomMover::new()),
[INFO] [stdout] 88 |             Agents::MinMaxAgent => Box::new(MinMaxAgent::new()),
[INFO] [stdout] 89 ~         };
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s
[INFO] [stderr]    Generated /opt/rustwide/target/doc/four_in_a_row/index.html
[INFO] running `Command { std: "docker" "inspect" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0", kill_on_drop: false }`
[INFO] [stdout] b7ad2b6499149183d4d9a86e9110f02aee4a24af08ff7a0a7fd7761c44de95a0
