[INFO] cloning repository https://github.com/Boberish/gomoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Boberish/gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoberish%2Fgomoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoberish%2Fgomoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74c3d8c6f6d66ce60d964064ec524e655ad1a3fd [INFO] checking Boberish/gomoku/74c3d8c6f6d66ce60d964064ec524e655ad1a3fd against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBoberish%2Fgomoku" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Boberish/gomoku on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Boberish/gomoku [INFO] finished tweaking git repo https://github.com/Boberish/gomoku [INFO] tweaked toml for git repo https://github.com/Boberish/gomoku written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Boberish/gomoku 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ego-tree v0.6.0 [INFO] [stderr] Downloaded autocfg v0.1.4 [INFO] [stderr] Downloaded libc v0.2.55 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b7a315289b61c39034e83a8b21d8c9b932ca4eae7b3dcb803c00a183f898d26 [INFO] running `Command { std: "docker" "start" "-a" "3b7a315289b61c39034e83a8b21d8c9b932ca4eae7b3dcb803c00a183f898d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b7a315289b61c39034e83a8b21d8c9b932ca4eae7b3dcb803c00a183f898d26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b7a315289b61c39034e83a8b21d8c9b932ca4eae7b3dcb803c00a183f898d26", kill_on_drop: false }` [INFO] [stdout] 3b7a315289b61c39034e83a8b21d8c9b932ca4eae7b3dcb803c00a183f898d26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57398ad40d16dbf0d8da0843d49c73e396240eb385ab2bc5a0f0933a667c5340 [INFO] running `Command { std: "docker" "start" "-a" "57398ad40d16dbf0d8da0843d49c73e396240eb385ab2bc5a0f0933a667c5340", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Checking ego-tree v0.6.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [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 updatedgomoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:307:46 [INFO] [stdout] | [INFO] [stdout] 307 | fn find_good_node(root: &NodeRef) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - fn find_good_node(root: &NodeRef) -> (Vec) { [INFO] [stdout] 307 + fn find_good_node(root: &NodeRef) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/main.rs:307:46 [INFO] [stdout] | [INFO] [stdout] 307 | fn find_good_node(root: &NodeRef) -> (Vec) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 307 - fn find_good_node(root: &NodeRef) -> (Vec) { [INFO] [stdout] 307 + fn find_good_node(root: &NodeRef) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | let won = gamesim(*choice); [INFO] [stdout] | ------- ^^^^^^^ expected `(NodeMut<'_, McNode>, (i8, i8))`, found `(NodeMut<'_, McNode>, &(i8, i8))` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(NodeMut<'_, _>, (_, _))` [INFO] [stdout] found tuple `(NodeMut<'_, _>, &(_, _))` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | fn gamesim(choice: (NodeMut,Coords)) -> i8 { [INFO] [stdout] | ^^^^^^^ -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:415:21 [INFO] [stdout] | [INFO] [stdout] 415 | let won = gamesim(*choice); [INFO] [stdout] | ------- ^^^^^^^ expected `(NodeMut<'_, McNode>, (i8, i8))`, found `(NodeMut<'_, McNode>, &(i8, i8))` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(NodeMut<'_, _>, (_, _))` [INFO] [stdout] found tuple `(NodeMut<'_, _>, &(_, _))` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | fn gamesim(choice: (NodeMut,Coords)) -> i8 { [INFO] [stdout] | ^^^^^^^ -------------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coords` [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | fn winner(&self, coords: &Coords) -> i8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coords` [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | fn winner(&self, coords: &Coords) -> i8 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_coords` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `choice.0` as mutable, as `choice` is not declared as mutable [INFO] [stdout] --> src/main.rs:434:15 [INFO] [stdout] | [INFO] [stdout] 434 | let start = choice.0.value().state; [INFO] [stdout] | ^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 433 | fn gamesim(mut choice: (NodeMut,Coords)) -> i8 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `choice.0` as mutable, as `choice` is not declared as mutable [INFO] [stdout] --> src/main.rs:434:15 [INFO] [stdout] | [INFO] [stdout] 434 | let start = choice.0.value().state; [INFO] [stdout] | ^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be mutable [INFO] [stdout] | [INFO] [stdout] 433 | fn gamesim(mut choice: (NodeMut,Coords)) -> i8 { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `updatedgomoku` (bin "updatedgomoku" test) due to 3 previous errors; 2 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0308, E0596. [INFO] [stdout] [INFO] [stderr] error: could not compile `updatedgomoku` (bin "updatedgomoku") due to 3 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0308, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "57398ad40d16dbf0d8da0843d49c73e396240eb385ab2bc5a0f0933a667c5340", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57398ad40d16dbf0d8da0843d49c73e396240eb385ab2bc5a0f0933a667c5340", kill_on_drop: false }` [INFO] [stdout] 57398ad40d16dbf0d8da0843d49c73e396240eb385ab2bc5a0f0933a667c5340