[INFO] cloning repository https://github.com/ole-thoeb/rusty-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ole-thoeb/rusty-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fole-thoeb%2Frusty-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fole-thoeb%2Frusty-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0158e1341d5c36fe71397608f7d3bc1f7409a28c [INFO] checking ole-thoeb/rusty-solver against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fole-thoeb%2Frusty-solver" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ole-thoeb/rusty-solver on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ole-thoeb/rusty-solver [INFO] finished tweaking git repo https://github.com/ole-thoeb/rusty-solver [INFO] tweaked toml for git repo https://github.com/ole-thoeb/rusty-solver written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ole-thoeb/rusty-solver 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0efe2014fc895e8f8a47a72c9cef5ce3526590bf35cc9f49cd06374f988d5dc [INFO] running `Command { std: "docker" "start" "-a" "f0efe2014fc895e8f8a47a72c9cef5ce3526590bf35cc9f49cd06374f988d5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0efe2014fc895e8f8a47a72c9cef5ce3526590bf35cc9f49cd06374f988d5dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0efe2014fc895e8f8a47a72c9cef5ce3526590bf35cc9f49cd06374f988d5dc", kill_on_drop: false }` [INFO] [stdout] f0efe2014fc895e8f8a47a72c9cef5ce3526590bf35cc9f49cd06374f988d5dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cefdebdb78e7d7407bbfa9c0cda965c8e40dccfa639101653177db779806f2a [INFO] running `Command { std: "docker" "start" "-a" "2cefdebdb78e7d7407bbfa9c0cda965c8e40dccfa639101653177db779806f2a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stderr] Checking enumset v1.1.3 [INFO] [stderr] Checking rusty-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::min_max::{Player, score_possible_moves}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Player` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::min_max::{Player, score_possible_moves}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/stoplight.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | fn possible_moves(state: &GameBoard) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this bound is stronger than that defined on the trait [INFO] [stdout] | [INFO] [stdout] ::: src/min_max/mod.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | fn possible_moves(state: &Self::State) -> impl IntoIterator; [INFO] [stdout] | ---------------------------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 74 | fn possible_moves(state: &GameBoard) -> impl IntoIterator::Move> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/ultimate_ttt.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | fn possible_moves(state: &GameBoard) -> Box + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/min_max/mod.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | fn possible_moves(state: &Self::State) -> impl IntoIterator; [INFO] [stdout] | ---------------------------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 177 | fn possible_moves(state: &GameBoard) -> impl IntoIterator::Move> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/stoplight.rs:74:59 [INFO] [stdout] | [INFO] [stdout] 74 | fn possible_moves(state: &GameBoard) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this bound is stronger than that defined on the trait [INFO] [stdout] | [INFO] [stdout] ::: src/min_max/mod.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | fn possible_moves(state: &Self::State) -> impl IntoIterator; [INFO] [stdout] | ---------------------------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] = note: `#[warn(refining_impl_trait_internal)]` on by default [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 74 | fn possible_moves(state: &GameBoard) -> impl IntoIterator::Move> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/ttt.rs:96:88 [INFO] [stdout] | [INFO] [stdout] 96 | fn possible_moves(state: &GameBoard) -> impl IntoIterator + 'static { [INFO] [stdout] | ^^^^^^^ this bound is stronger than that defined on the trait [INFO] [stdout] | [INFO] [stdout] ::: src/min_max/mod.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | fn possible_moves(state: &Self::State) -> impl IntoIterator; [INFO] [stdout] | ---------------------------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 96 | fn possible_moves(state: &GameBoard) -> impl IntoIterator::Move> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/ultimate_ttt.rs:177:45 [INFO] [stdout] | [INFO] [stdout] 177 | fn possible_moves(state: &GameBoard) -> Box + '_> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/min_max/mod.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | fn possible_moves(state: &Self::State) -> impl IntoIterator; [INFO] [stdout] | ---------------------------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 177 | fn possible_moves(state: &GameBoard) -> impl IntoIterator::Move> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: impl trait in impl method signature does not match trait method signature [INFO] [stdout] --> src/ttt.rs:96:88 [INFO] [stdout] | [INFO] [stdout] 96 | fn possible_moves(state: &GameBoard) -> impl IntoIterator + 'static { [INFO] [stdout] | ^^^^^^^ this bound is stronger than that defined on the trait [INFO] [stdout] | [INFO] [stdout] ::: src/min_max/mod.rs:60:47 [INFO] [stdout] | [INFO] [stdout] 60 | fn possible_moves(state: &Self::State) -> impl IntoIterator; [INFO] [stdout] | ---------------------------------- return type from trait method defined here [INFO] [stdout] | [INFO] [stdout] = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate [INFO] [stdout] = note: we are soliciting feedback, see issue #121718 for more information [INFO] [stdout] help: replace the return type so that it matches the trait [INFO] [stdout] | [INFO] [stdout] 96 | fn possible_moves(state: &GameBoard) -> impl IntoIterator::Move> { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expand` is never used [INFO] [stdout] --> src/min_max/mod.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl> ScoredMove> { [INFO] [stdout] | ------------------------------------------------------- method in this implementation [INFO] [stdout] 35 | pub fn expand(&self) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stats` is never used [INFO] [stdout] --> src/min_max/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait Strategy { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn stats(&mut self) -> &mut Self::Stats; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alpha_beta` is never used [INFO] [stdout] --> src/min_max/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn alpha_beta(strategy: &mut STRATEGY, state: &mut STRATEGY::State, max_level: u8) -> Vec src/min_max/mod.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn to_score_board(scored_moves: &Vec>) -> [i32; 9] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_3_by_3` is never used [INFO] [stdout] --> src/min_max/mod.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn print_3_by_3(scored_board: &[E; 9]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expand` is never used [INFO] [stdout] --> src/min_max/symmetry.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait Symmetry { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 12 | fn canonicalize(&self, target: &T) -> T; [INFO] [stdout] 13 | fn expand(&self, normalised: &T) -> Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `expanded_indices` is never used [INFO] [stdout] --> src/min_max/symmetry.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl> SymmetricMove { [INFO] [stdout] | ------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn expanded_indices(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `none` is never used [INFO] [stdout] --> src/min_max/symmetry.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl GridSymmetry { [INFO] [stdout] | ---------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/min_max/cache.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl HashMapCache { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(map: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_prune`, `record_cache_hit`, `record_cache_miss`, and `record_state_scored` are never used [INFO] [stdout] --> src/min_max/stats.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Stats { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 2 | fn record_prune(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | fn record_cache_hit(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | fn record_cache_miss(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fn record_state_scored(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Cells` is never used [INFO] [stdout] --> src/stoplight.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | pub type Cells = [CellState; 9]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_random_move` is never used [INFO] [stdout] --> src/stoplight.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn choose_random_move(moves: Vec>) -> ScoredMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_move_indices` is never used [INFO] [stdout] --> src/stoplight.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn all_move_indices(moves: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/ultimate_ttt.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl SubBoard { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(cells: [CellState; 9]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_player` is never used [INFO] [stdout] --> src/common.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Board: Clone + Eq + Hash { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn last_player(&self) -> Player; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/common.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Board3x3 { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 32 | pub fn empty() -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flatten_interleaving` is never used [INFO] [stdout] --> src/iter_util.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn flatten_interleaving(iters: Vec) -> FlattenInterleaving where I: Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/iter_util.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 21 | impl FlattenInterleaving { [INFO] [stdout] | ----------------------------------------- associated function in this implementation [INFO] [stdout] 22 | fn new(iters: Vec) -> FlattenInterleaving { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stats` is never used [INFO] [stdout] --> src/min_max/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait Strategy { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 66 | fn stats(&mut self) -> &mut Self::Stats; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alpha_beta` is never used [INFO] [stdout] --> src/min_max/mod.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn alpha_beta(strategy: &mut STRATEGY, state: &mut STRATEGY::State, max_level: u8) -> Vec src/min_max/symmetry.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 136 | impl GridSymmetry { [INFO] [stdout] | ---------------------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn none() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/min_max/cache.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl HashMapCache { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(map: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `record_prune`, `record_cache_hit`, `record_cache_miss`, and `record_state_scored` are never used [INFO] [stdout] --> src/min_max/stats.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Stats { [INFO] [stdout] | ----- methods in this trait [INFO] [stdout] 2 | fn record_prune(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 3 | fn record_cache_hit(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | fn record_cache_miss(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | fn record_state_scored(&mut self); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_random_move` is never used [INFO] [stdout] --> src/stoplight.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn choose_random_move(moves: Vec>) -> ScoredMove { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all_move_indices` is never used [INFO] [stdout] --> src/stoplight.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn all_move_indices(moves: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `best_move_index_of` is never used [INFO] [stdout] --> src/stoplight.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | fn best_move_index_of(cells: Cells) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `last_player` is never used [INFO] [stdout] --> src/common.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait Board: Clone + Eq + Hash { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 20 | fn last_player(&self) -> Player; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.19s [INFO] running `Command { std: "docker" "inspect" "2cefdebdb78e7d7407bbfa9c0cda965c8e40dccfa639101653177db779806f2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cefdebdb78e7d7407bbfa9c0cda965c8e40dccfa639101653177db779806f2a", kill_on_drop: false }` [INFO] [stdout] 2cefdebdb78e7d7407bbfa9c0cda965c8e40dccfa639101653177db779806f2a [INFO] checking ole-thoeb/rusty-solver against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fole-thoeb%2Frusty-solver" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ole-thoeb/rusty-solver on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ole-thoeb/rusty-solver [INFO] finished tweaking git repo https://github.com/ole-thoeb/rusty-solver [INFO] tweaked toml for git repo https://github.com/ole-thoeb/rusty-solver written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ole-thoeb/rusty-solver 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" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f43a5593d9a3658bddccdc376844593c51f8a3797b48054370e6ce6137a11a2 [INFO] running `Command { std: "docker" "start" "-a" "7f43a5593d9a3658bddccdc376844593c51f8a3797b48054370e6ce6137a11a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f43a5593d9a3658bddccdc376844593c51f8a3797b48054370e6ce6137a11a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f43a5593d9a3658bddccdc376844593c51f8a3797b48054370e6ce6137a11a2", kill_on_drop: false }` [INFO] [stdout] 7f43a5593d9a3658bddccdc376844593c51f8a3797b48054370e6ce6137a11a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4a647a708b83312d35f738526c17f41e31e52b09560c09075e378a1f3759e20 [INFO] running `Command { std: "docker" "start" "-a" "f4a647a708b83312d35f738526c17f41e31e52b09560c09075e378a1f3759e20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling enumset_derive v0.8.1 [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/enumset_derive-0.8.1/src/lib.rs:212:21 [INFO] [stdout] | [INFO] [stdout] 212 | error(expr.span(), "Enum discriminants must not be negative.")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/enumset_derive-0.8.1/src/lib.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | / error( [INFO] [stdout] 284 | | largest_discriminant_span, [INFO] [stdout] 285 | | "`repr` is too small to contain the largest discriminant.", [INFO] [stdout] 286 | | )?; [INFO] [stdout] | |_____________^ cannot infer type for type parameter `T` declared on the function `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `enumset_derive` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "f4a647a708b83312d35f738526c17f41e31e52b09560c09075e378a1f3759e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a647a708b83312d35f738526c17f41e31e52b09560c09075e378a1f3759e20", kill_on_drop: false }` [INFO] [stdout] f4a647a708b83312d35f738526c17f41e31e52b09560c09075e378a1f3759e20