[INFO] cloning repository https://github.com/cauebs/gomoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cauebs/gomoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fgomoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fgomoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8d6acfe32d9dabefe831e3056c0460fb7d4bd6a [INFO] checking cauebs/gomoku/f8d6acfe32d9dabefe831e3056c0460fb7d4bd6a against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fgomoku" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cauebs/gomoku on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cauebs/gomoku [INFO] finished tweaking git repo https://github.com/cauebs/gomoku [INFO] tweaked toml for git repo https://github.com/cauebs/gomoku written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/cauebs/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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fca33cc444ab5051cc8ef42c0b07797219c6f4b0577e07c4b438964658bab2ab [INFO] running `Command { std: "docker" "start" "-a" "fca33cc444ab5051cc8ef42c0b07797219c6f4b0577e07c4b438964658bab2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fca33cc444ab5051cc8ef42c0b07797219c6f4b0577e07c4b438964658bab2ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fca33cc444ab5051cc8ef42c0b07797219c6f4b0577e07c4b438964658bab2ab", kill_on_drop: false }` [INFO] [stdout] fca33cc444ab5051cc8ef42c0b07797219c6f4b0577e07c4b438964658bab2ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 514b1febe97c63348d2fbf19dff0df32faaca70ee9bdca0c56e03a569d29c8c0 [INFO] running `Command { std: "docker" "start" "-a" "514b1febe97c63348d2fbf19dff0df32faaca70ee9bdca0c56e03a569d29c8c0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking gomoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/ai.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/ai.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/ai.rs:66:26 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_move` [INFO] [stdout] --> src/ai.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 66 | fn decide(&mut self, board: &Board, last_move: Option<(usize, usize)>) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_move` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `static_value`, `alpha`, `beta`, and `children` are never read [INFO] [stdout] --> src/ai.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct DecisionTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | state: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | static_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | children: HashMap<(usize, usize), Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecisionTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ai.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl DecisionTree { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 28 | fn new(state: Board, heuristic_value: f64, alpha: f64, beta: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `static_evaluator`, `decision_tree`, and `recursion_limit` are never read [INFO] [stdout] --> src/ai.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SmartBot [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | static_evaluator: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | decision_tree: DecisionTree, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | recursion_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SmartBot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinates_from_str` is never used [INFO] [stdout] --> src/coordinates.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn coordinates_from_str(s: &str) -> Result<(usize, usize), failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `static_value`, `alpha`, `beta`, and `children` are never read [INFO] [stdout] --> src/ai.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct DecisionTree { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 8 | state: Board, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | static_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 10 | alpha: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | beta: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | children: HashMap<(usize, usize), Box>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DecisionTree` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ai.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl DecisionTree { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 28 | fn new(state: Board, heuristic_value: f64, alpha: f64, beta: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `static_evaluator`, `decision_tree`, and `recursion_limit` are never read [INFO] [stdout] --> src/ai.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SmartBot [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | static_evaluator: F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | decision_tree: DecisionTree, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | recursion_limit: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SmartBot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `coordinates_from_str` is never used [INFO] [stdout] --> src/coordinates.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn coordinates_from_str(s: &str) -> Result<(usize, usize), failure::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `play_turns` is never used [INFO] [stdout] --> src/game.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Game { [INFO] [stdout] | ----------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn play_turns(&mut self, turns: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/players.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl TestBot { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 56 | pub fn new(mut moves: Vec<(usize, usize)>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.8 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "514b1febe97c63348d2fbf19dff0df32faaca70ee9bdca0c56e03a569d29c8c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514b1febe97c63348d2fbf19dff0df32faaca70ee9bdca0c56e03a569d29c8c0", kill_on_drop: false }` [INFO] [stdout] 514b1febe97c63348d2fbf19dff0df32faaca70ee9bdca0c56e03a569d29c8c0