[INFO] cloning repository https://github.com/Skeletonxf/hnefatafl [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skeletonxf/hnefatafl" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkeletonxf%2Fhnefatafl", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkeletonxf%2Fhnefatafl'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3f9bbf82586f29cae1259c338fc37865e8fd18f [INFO] checking Skeletonxf/hnefatafl against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkeletonxf%2Fhnefatafl" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Skeletonxf/hnefatafl [INFO] finished tweaking git repo https://github.com/Skeletonxf/hnefatafl [INFO] tweaked toml for git repo https://github.com/Skeletonxf/hnefatafl written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Skeletonxf/hnefatafl on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Skeletonxf/hnefatafl 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 464d1ae57f877e38166287e3a43d40d87b2af14b250be2c68969fe264ba2687f [INFO] running `Command { std: "docker" "start" "-a" "464d1ae57f877e38166287e3a43d40d87b2af14b250be2c68969fe264ba2687f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "464d1ae57f877e38166287e3a43d40d87b2af14b250be2c68969fe264ba2687f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "464d1ae57f877e38166287e3a43d40d87b2af14b250be2c68969fe264ba2687f", kill_on_drop: false }` [INFO] [stdout] 464d1ae57f877e38166287e3a43d40d87b2af14b250be2c68969fe264ba2687f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4005604e2599e4aefa6afc521962285570ecde4cffd854ff792f85e70d138e0d [INFO] running `Command { std: "docker" "start" "-a" "4005604e2599e4aefa6afc521962285570ecde4cffd854ff792f85e70d138e0d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking bitflags v2.9.4 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking plain v0.2.3 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking uniffi_core v0.29.4 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking easy-ml v2.0.0 [INFO] [stderr] Checking widestring v1.2.0 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling uniffi_internal_macros v0.29.4 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Checking uniffi_pipeline v0.29.4 [INFO] [stderr] Checking scroll v0.12.0 [INFO] [stderr] Compiling uniffi_meta v0.29.4 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Checking clap v4.5.48 [INFO] [stderr] Checking uniffi_udl v0.29.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking cargo_metadata v0.19.2 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Compiling uniffi_macros v0.29.4 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Checking askama v0.13.1 [INFO] [stderr] Checking uniffi_bindgen v0.29.4 [INFO] [stderr] Checking uniffi_build v0.29.4 [INFO] [stderr] Checking uniffi v0.29.4 [INFO] [stderr] Checking hnefatafl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `new_input` is never used [INFO] [stdout] --> src/bot/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new_input(board: &Board) -> Tensor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_edge` is never used [INFO] [stdout] --> src/state.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn is_edge(&self, position: Position) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `representation`, `tiles`, `size`, and `turn_count` are never used [INFO] [stdout] --> src/state.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 645 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn size(&self) -> (u8, u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | pub fn turn_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_input` is never used [INFO] [stdout] --> src/bot/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new_input(board: &Board) -> Tensor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `STARTING_DEPTH` is never used [INFO] [stdout] --> src/bot/minmax/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | static STARTING_DEPTH: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_max_play` is never used [INFO] [stdout] --> src/bot/minmax/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn min_max_play(game_state: &GameState) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heuristic` is never constructed [INFO] [stdout] --> src/bot/minmax/mod.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | struct Heuristic(i8); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MinMaxPlayer` is never used [INFO] [stdout] --> src/bot/minmax/mod.rs:115:6 [INFO] [stdout] | [INFO] [stdout] 115 | enum MinMaxPlayer { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next` is never used [INFO] [stdout] --> src/bot/minmax/mod.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 122 | impl MinMaxPlayer { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 123 | fn next(self) -> MinMaxPlayer { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_max` is never used [INFO] [stdout] --> src/bot/minmax/mod.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn min_max( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_edge` is never used [INFO] [stdout] --> src/state.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn is_edge(&self, position: Position) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_setup` is never used [INFO] [stdout] --> src/state.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl GameState { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn from_setup( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 645 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 649 | pub fn tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | pub fn size(&self) -> (u8, u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | pub fn turn(&self) -> Player { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 661 | pub fn dead(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | pub fn turn_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 669 | pub fn king_position(&self) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_input` is never used [INFO] [stdout] --> src/bot/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new_input(board: &Board) -> Tensor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_edge` is never used [INFO] [stdout] --> src/state.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn is_edge(&self, position: Position) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `representation` is never used [INFO] [stdout] --> src/state.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 645 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `new_input` is never used [INFO] [stdout] --> src/bot/mod.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new_input(board: &Board) -> Tensor { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_edge` is never used [INFO] [stdout] --> src/state.rs:163:8 [INFO] [stdout] | [INFO] [stdout] 115 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 163 | fn is_edge(&self, position: Position) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_setup` is never used [INFO] [stdout] --> src/state.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 213 | impl GameState { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub fn from_setup( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `representation` is never used [INFO] [stdout] --> src/state.rs:645:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 645 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "4005604e2599e4aefa6afc521962285570ecde4cffd854ff792f85e70d138e0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4005604e2599e4aefa6afc521962285570ecde4cffd854ff792f85e70d138e0d", kill_on_drop: false }` [INFO] [stdout] 4005604e2599e4aefa6afc521962285570ecde4cffd854ff792f85e70d138e0d