[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] 6f360eed9ab903241d3015509d49bed8c7043acb [INFO] checking Skeletonxf/hnefatafl against 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 for pr-133502-29 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkeletonxf%2Fhnefatafl" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Skeletonxf/hnefatafl on toolchain 012c0bd4d516934012c9a1ecb26e9eb283d2ed75 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "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" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uniffi v0.29.5 [INFO] [stderr] Downloaded uniffi_internal_macros v0.29.5 [INFO] [stderr] Downloaded uniffi_macros v0.29.5 [INFO] [stderr] Downloaded uniffi_pipeline v0.29.5 [INFO] [stderr] Downloaded uniffi_meta v0.29.5 [INFO] [stderr] Downloaded uniffi_build v0.29.5 [INFO] [stderr] Downloaded askama_derive v0.13.1 [INFO] [stderr] Downloaded scroll_derive v0.12.1 [INFO] [stderr] Downloaded weedle2 v5.0.0 [INFO] [stderr] Downloaded uniffi_udl v0.29.5 [INFO] [stderr] Downloaded scroll v0.12.0 [INFO] [stderr] Downloaded uniffi_core v0.29.5 [INFO] [stderr] Downloaded rustyline v9.1.2 [INFO] [stderr] Downloaded basic-toml v0.1.10 [INFO] [stderr] Downloaded askama_parser v0.13.0 [INFO] [stderr] Downloaded askama v0.13.1 [INFO] [stderr] Downloaded cc v1.2.64 [INFO] [stderr] Downloaded exn v0.3.1 [INFO] [stderr] Downloaded license-fetcher v0.10.1 [INFO] [stderr] Downloaded goblin v0.8.2 [INFO] [stderr] Downloaded uniffi_bindgen v0.29.5 [INFO] [stderr] Downloaded easy-ml v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53 [INFO] running `Command { std: "docker" "start" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53" "/opt/rustwide/cargo-home/bin/cargo" "+012c0bd4d516934012c9a1ecb26e9eb283d2ed75" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.8.2 [INFO] [stderr] Compiling camino v1.2.2 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling bitflags v2.13.0 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling log v0.4.32 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling nanoserde-derive v0.2.1 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling plain v0.2.3 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling license-fetcher v0.10.1 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling lz4_flex v0.13.1 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling exn v0.3.1 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling uniffi_core v0.29.5 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling nanoserde v0.2.1 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking object v0.37.3 [INFO] [stderr] Checking either v1.16.0 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking widestring v1.2.1 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking easy-ml v2.2.0 [INFO] [stderr] Compiling semver v1.0.28 [INFO] [stderr] Checking fd-lock v3.0.13 [INFO] [stderr] Checking weedle2 v5.0.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling uniffi_internal_macros v0.29.5 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling scroll_derive v0.12.1 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Compiling scroll v0.12.0 [INFO] [stderr] Checking goblin v0.8.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling uniffi_pipeline v0.29.5 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking uniffi_meta v0.29.5 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Checking uniffi_udl v0.29.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking cargo_metadata v0.19.2 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Compiling askama_parser v0.13.0 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Compiling uniffi_macros v0.29.5 [INFO] [stderr] Compiling askama_derive v0.13.1 [INFO] [stderr] Compiling askama v0.13.1 [INFO] [stderr] Checking uniffi_bindgen v0.29.5 [INFO] [stderr] Checking uniffi_build v0.29.5 [INFO] [stderr] Checking uniffi v0.29.5 [INFO] [stderr] Compiling 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: 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:164:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | 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:249:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl GameState { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 249 | pub fn from_setup(pieces: Matrix, turn: Player, dead: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub fn tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | pub fn size(&self) -> (u8, u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | pub fn turn(&self) -> Player { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 662 | pub fn dead(&self) -> &Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 666 | pub fn turn_count(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 670 | 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:164:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | fn is_edge(&self, position: Position) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `representation`, `tiles`, and `turn_count` are never used [INFO] [stdout] --> src/state.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl GameState { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | pub fn tiles(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 666 | 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: method `is_edge` is never used [INFO] [stdout] --> src/state.rs:164:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | 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:646:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | 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:164:8 [INFO] [stdout] | [INFO] [stdout] 116 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | 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:646:12 [INFO] [stdout] | [INFO] [stdout] 342 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 646 | pub fn representation(&self) -> easy_ml::tensors::Tensor { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `backtrace` [INFO] [stderr] --> Cargo.toml:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | backtrace = "0.3" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `backtrace` [INFO] [stderr] warning: unused dependency `widestring` [INFO] [stderr] --> Cargo.toml:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | widestring = "1.0.2" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `widestring` [INFO] [stderr] warning: unused dependency `uniffi` [INFO] [stderr] --> Cargo.toml:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | [build-dependencies.uniffi] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider removing the dependency on `uniffi` [INFO] [stderr] warning: `hnefatafl` (manifest) generated 3 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53", kill_on_drop: false }` [INFO] [stdout] fe23953e77b28944f44c0749cf9d00e34ae01e97a2dabc71dfe19a68c954ef53