[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#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmratsim%2Frustygo" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mratsim/rustygo on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fnv v1.0.2 [INFO] [stderr] Downloaded rand v0.3.12 [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b8b5148136388d58c6da79a2d1783774d4a7858f2f2eb9e3875039c9a3f15023 [INFO] running `Command { std: "docker" "start" "-a" "b8b5148136388d58c6da79a2d1783774d4a7858f2f2eb9e3875039c9a3f15023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b8b5148136388d58c6da79a2d1783774d4a7858f2f2eb9e3875039c9a3f15023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8b5148136388d58c6da79a2d1783774d4a7858f2f2eb9e3875039c9a3f15023", kill_on_drop: false }` [INFO] [stdout] b8b5148136388d58c6da79a2d1783774d4a7858f2f2eb9e3875039c9a3f15023 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75215cef3f603843007ed8cd534b62b49a76338afbc6bd81d0636aa9a7d6a587 [INFO] running `Command { std: "docker" "start" "-a" "75215cef3f603843007ed8cd534b62b49a76338afbc6bd81d0636aa9a7d6a587", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 itertools v0.4.6 [INFO] [stderr] Checking fnv v1.0.2 [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: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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: 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 `Once::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 `Once::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: 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 - .into_iter() [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 = self.neighbors(coord as u16) [INFO] [stdout] 483 + let mut c: Vec = IntoIterator::into_iter(self.neighbors(coord as u16)) [INFO] [stdout] | [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 - .into_iter() [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 = self.neighbors(coord as u16) [INFO] [stdout] 483 + let mut c: Vec = IntoIterator::into_iter(self.neighbors(coord as u16)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.78s [INFO] running `Command { std: "docker" "inspect" "75215cef3f603843007ed8cd534b62b49a76338afbc6bd81d0636aa9a7d6a587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75215cef3f603843007ed8cd534b62b49a76338afbc6bd81d0636aa9a7d6a587", kill_on_drop: false }` [INFO] [stdout] 75215cef3f603843007ed8cd534b62b49a76338afbc6bd81d0636aa9a7d6a587