[INFO] cloning repository https://github.com/mratsim/rustygo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mratsim/rustygo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmratsim%2Frustygo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmratsim%2Frustygo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e854f826c2cb2062b78de769f203cc072df38dd9 [INFO] checking mratsim/rustygo against master#7c4ac0603e9ee5295bc802c90575391288a69a8a for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmratsim%2Frustygo" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mratsim/rustygo on toolchain 7c4ac0603e9ee5295bc802c90575391288a69a8a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mratsim/rustygo [INFO] finished tweaking git repo https://github.com/mratsim/rustygo [INFO] tweaked toml for git repo https://github.com/mratsim/rustygo written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mratsim/rustygo 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" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking mratsim/rustygo against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmratsim%2Frustygo" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mratsim/rustygo on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mratsim/rustygo [INFO] finished tweaking git repo https://github.com/mratsim/rustygo [INFO] tweaked toml for git repo https://github.com/mratsim/rustygo written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mratsim/rustygo 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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fnv v1.0.2 [INFO] [stderr] Downloaded libc v0.2.4 [INFO] [stderr] Downloaded itertools v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f980eae0258c9cf5fc9ff79f775c7e5ad53b01e81130887f0baffaa9d5f3abbe [INFO] running `Command { std: "docker" "start" "-a" "f980eae0258c9cf5fc9ff79f775c7e5ad53b01e81130887f0baffaa9d5f3abbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f980eae0258c9cf5fc9ff79f775c7e5ad53b01e81130887f0baffaa9d5f3abbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f980eae0258c9cf5fc9ff79f775c7e5ad53b01e81130887f0baffaa9d5f3abbe", kill_on_drop: false }` [INFO] [stdout] f980eae0258c9cf5fc9ff79f775c7e5ad53b01e81130887f0baffaa9d5f3abbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 331e27cfcc16f068c58cbdbd9aa4d6a0825ba7c067ab553fc7656aa016884e7a [INFO] running `Command { std: "docker" "start" "-a" "331e27cfcc16f068c58cbdbd9aa4d6a0825ba7c067ab553fc7656aa016884e7a", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.5 [INFO] [stderr] Checking libc v0.2.4 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Checking fnv v1.0.2 [INFO] [stderr] Checking itertools v0.4.6 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Checking rand v0.3.12 [INFO] [stderr] Checking rusty_go v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `MCTS_tree` should have an upper camel case name [INFO] [stdout] --> src/main.rs:511:8 [INFO] [stdout] | [INFO] [stdout] 511 | struct MCTS_tree{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MctsTree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/main.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MCTS_tree` should have an upper camel case name [INFO] [stdout] --> src/main.rs:511:8 [INFO] [stdout] | [INFO] [stdout] 511 | struct MCTS_tree{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `MctsTree` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/main.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:732:1 [INFO] [stdout] | [INFO] [stdout] 732 | / lazy_static! { [INFO] [stdout] 733 | | static ref SEED_HASHER: CrossHash = CrossHash::new(); [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:732:1 [INFO] [stdout] | [INFO] [stdout] 732 | / lazy_static! { [INFO] [stdout] 733 | | static ref SEED_HASHER: CrossHash = CrossHash::new(); [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:732:1 [INFO] [stdout] | [INFO] [stdout] 732 | / lazy_static! { [INFO] [stdout] 733 | | static ref SEED_HASHER: CrossHash = CrossHash::new(); [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/main.rs:732:1 [INFO] [stdout] | [INFO] [stdout] 732 | / lazy_static! { [INFO] [stdout] 733 | | static ref SEED_HASHER: CrossHash = CrossHash::new(); [INFO] [stdout] 734 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{stdin, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/main.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | use std::io::{stdin, BufRead}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | let mut tree = MCTS_tree { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCORE_TO_BEAT` is never used [INFO] [stdout] --> src/main.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const SCORE_TO_BEAT: i16 = 361; //Number of Intersections (used for half-step counting) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board_hash`, `untried_moves`, and `prev_nodes` are never read [INFO] [stdout] --> src/main.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 511 | struct MCTS_tree{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 514 | board_hash: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | untried_moves: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 519 | children: Vec, // TODO: optim: VecDeque ? [INFO] [stdout] 520 | prev_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCTS_tree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:525:8 [INFO] [stdout] | [INFO] [stdout] 524 | impl MCTS_tree { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 525 | fn new() -> MCTS_tree{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/main.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | ... .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 484 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 483 | let mut c: Vec = IntoIterator::into_iter(self.neighbors(coord as u16)) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:659:13 [INFO] [stdout] | [INFO] [stdout] 659 | let mut tree = MCTS_tree { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCORE_TO_BEAT` is never used [INFO] [stdout] --> src/main.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | const SCORE_TO_BEAT: i16 = 361; //Number of Intersections (used for half-step counting) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `board_hash`, `untried_moves`, and `prev_nodes` are never read [INFO] [stdout] --> src/main.rs:514:5 [INFO] [stdout] | [INFO] [stdout] 511 | struct MCTS_tree{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 514 | board_hash: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | untried_moves: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 519 | children: Vec, // TODO: optim: VecDeque ? [INFO] [stdout] 520 | prev_nodes: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCTS_tree` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:525:8 [INFO] [stdout] | [INFO] [stdout] 524 | impl MCTS_tree { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 525 | fn new() -> MCTS_tree{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> src/main.rs:484:36 [INFO] [stdout] | [INFO] [stdout] 484 | ... .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 484 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 483 | let mut c: Vec = IntoIterator::into_iter(self.neighbors(coord as u16)) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "331e27cfcc16f068c58cbdbd9aa4d6a0825ba7c067ab553fc7656aa016884e7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "331e27cfcc16f068c58cbdbd9aa4d6a0825ba7c067ab553fc7656aa016884e7a", kill_on_drop: false }` [INFO] [stdout] 331e27cfcc16f068c58cbdbd9aa4d6a0825ba7c067ab553fc7656aa016884e7a