[INFO] cloning repository https://github.com/jeunotca/blobwar-ai-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeunotca/blobwar-ai-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeunotca%2Fblobwar-ai-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeunotca%2Fblobwar-ai-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1826be9144c5da5989cd95f0b5decfdd1bc35cb5 [INFO] building jeunotca/blobwar-ai-rust against try#9a3ef2cd3ecaae3c6ef59768612837d797602a6d for pr-137044-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeunotca%2Fblobwar-ai-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeunotca/blobwar-ai-rust on toolchain 9a3ef2cd3ecaae3c6ef59768612837d797602a6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeunotca/blobwar-ai-rust [INFO] finished tweaking git repo https://github.com/jeunotca/blobwar-ai-rust [INFO] tweaked toml for git repo https://github.com/jeunotca/blobwar-ai-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jeunotca/blobwar-ai-rust 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" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0b1754443443f13d1027f0e6d01ad989714e0b45959ed6743f6e919d8da64bb [INFO] running `Command { std: "docker" "start" "-a" "e0b1754443443f13d1027f0e6d01ad989714e0b45959ed6743f6e919d8da64bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0b1754443443f13d1027f0e6d01ad989714e0b45959ed6743f6e919d8da64bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b1754443443f13d1027f0e6d01ad989714e0b45959ed6743f6e919d8da64bb", kill_on_drop: false }` [INFO] [stdout] e0b1754443443f13d1027f0e6d01ad989714e0b45959ed6743f6e919d8da64bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 950db389846d1dc6c52df6dd7656b760148325c1a4440f3d6a1aed40de134904 [INFO] running `Command { std: "docker" "start" "-a" "950db389846d1dc6c52df6dd7656b760148325c1a4440f3d6a1aed40de134904", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Compiling serde_json v1.0.38 [INFO] [stderr] Compiling blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [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/strategy/evil.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn alphabeta(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/strategy/evil.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta` [INFO] [stdout] --> src/strategy/evil.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | fn alphabeta_pvs(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:158:68 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphabeta_par_pvs2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimax` is never used [INFO] [stdout] --> src/strategy/minmax.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn minimax(profondeur: u8, maximizing: bool, state: Configuration) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negamax2` is never used [INFO] [stdout] --> src/strategy/evil.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn negamax2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (i8, i8, i8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_iteratif` is never used [INFO] [stdout] --> src/strategy/evil.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par` is never used [INFO] [stdout] --> src/strategy/evil.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn alphabeta(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_aspiration` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn alphabeta_aspiration(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn alphabeta_par(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_classic_with_score` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_infinite` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_pvs` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn alphabeta_par_pvs(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_pvs_double_depth_par` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_aspiration` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alphabeta_par_aspiration(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par2` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_sorted` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Movement` [INFO] [stdout] 11 | /// Movements : clone some blob or jump [INFO] [stdout] 12 | pub enum Movement { [INFO] [stdout] | -------- `Movement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Movement` [INFO] [stdout] 11 | /// Movements : clone some blob or jump [INFO] [stdout] 12 | pub enum Movement { [INFO] [stdout] | -------- `Movement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Evil`, `Human`, and `MinMax` [INFO] [stdout] --> src/main.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{Greedy, Human, MinMax, Evil, AlphaBeta}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.61s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "950db389846d1dc6c52df6dd7656b760148325c1a4440f3d6a1aed40de134904", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "950db389846d1dc6c52df6dd7656b760148325c1a4440f3d6a1aed40de134904", kill_on_drop: false }` [INFO] [stdout] 950db389846d1dc6c52df6dd7656b760148325c1a4440f3d6a1aed40de134904 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9a3ef2cd3ecaae3c6ef59768612837d797602a6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55600903bd61e860f2f236013d457f5a84dcf80bf6faaf6943aea8fbbe544140 [INFO] running `Command { std: "docker" "start" "-a" "55600903bd61e860f2f236013d457f5a84dcf80bf6faaf6943aea8fbbe544140", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [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/strategy/evil.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn alphabeta(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/strategy/evil.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta` [INFO] [stdout] --> src/strategy/evil.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | fn alphabeta_pvs(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:158:68 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphabeta_par_pvs2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimax` is never used [INFO] [stdout] --> src/strategy/minmax.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn minimax(profondeur: u8, maximizing: bool, state: Configuration) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negamax2` is never used [INFO] [stdout] --> src/strategy/evil.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn negamax2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (i8, i8, i8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_iteratif` is never used [INFO] [stdout] --> src/strategy/evil.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par` is never used [INFO] [stdout] --> src/strategy/evil.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn alphabeta(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_aspiration` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn alphabeta_aspiration(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn alphabeta_par(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_classic_with_score` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_infinite` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_pvs` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn alphabeta_par_pvs(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_pvs_double_depth_par` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_aspiration` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alphabeta_par_aspiration(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par2` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_sorted` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Movement` [INFO] [stdout] 11 | /// Movements : clone some blob or jump [INFO] [stdout] 12 | pub enum Movement { [INFO] [stdout] | -------- `Movement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Movement` [INFO] [stdout] 11 | /// Movements : clone some blob or jump [INFO] [stdout] 12 | pub enum Movement { [INFO] [stdout] | -------- `Movement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Evil`, `Human`, and `MinMax` [INFO] [stdout] --> src/main.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{Greedy, Human, MinMax, Evil, AlphaBeta}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/strategy/alphabeta.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [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/strategy/evil.rs:57:45 [INFO] [stdout] | [INFO] [stdout] 57 | fn alphabeta(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [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: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:81:52 [INFO] [stdout] | [INFO] [stdout] 81 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alpha` [INFO] [stdout] --> src/strategy/evil.rs:109:43 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beta` [INFO] [stdout] --> src/strategy/evil.rs:109:58 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_beta` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:109:54 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/evil.rs:123:49 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:114:49 [INFO] [stdout] | [INFO] [stdout] 114 | fn alphabeta_pvs(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:158:53 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:158:68 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:171:58 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:209:25 [INFO] [stdout] | [INFO] [stdout] 209 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:197:39 [INFO] [stdout] | [INFO] [stdout] 197 | fn alphabeta_par_pvs2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:251:25 [INFO] [stdout] | [INFO] [stdout] 251 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:239:55 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bc` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | let mut tmp_bc = best_move; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_bv` is never read [INFO] [stdout] --> src/strategy/alphabeta.rs:312:25 [INFO] [stdout] | [INFO] [stdout] 312 | let mut tmp_bv = best_val; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/alphabeta.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `minimax` is never used [INFO] [stdout] --> src/strategy/minmax.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn minimax(profondeur: u8, maximizing: bool, state: Configuration) -> i8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negamax2` is never used [INFO] [stdout] --> src/strategy/evil.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn negamax2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (i8, i8, i8) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_iteratif` is never used [INFO] [stdout] --> src/strategy/evil.rs:109:4 [INFO] [stdout] | [INFO] [stdout] 109 | fn alphabeta_iteratif(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par` is never used [INFO] [stdout] --> src/strategy/evil.rs:123:4 [INFO] [stdout] | [INFO] [stdout] 123 | fn alphabeta_par(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:62:4 [INFO] [stdout] | [INFO] [stdout] 62 | fn alphabeta(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_aspiration` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn alphabeta_aspiration(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn alphabeta_par(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_classic_with_score` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn alphabeta_par_classic_with_score(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_infinite` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:171:4 [INFO] [stdout] | [INFO] [stdout] 171 | fn alphabeta_par_infinite(profondeur: u8, mut alpha: i8, mut beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_pvs` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn alphabeta_par_pvs(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_pvs_double_depth_par` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:239:4 [INFO] [stdout] | [INFO] [stdout] 239 | fn alphabeta_par_pvs_double_depth_par(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par_aspiration` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:281:4 [INFO] [stdout] | [INFO] [stdout] 281 | fn alphabeta_par_aspiration(profondeur: u8, state: Configuration) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_par2` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:300:4 [INFO] [stdout] | [INFO] [stdout] 300 | fn alphabeta_par2(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `alphabeta_sorted` is never used [INFO] [stdout] --> src/strategy/alphabeta.rs:343:4 [INFO] [stdout] | [INFO] [stdout] 343 | fn alphabeta_sorted(profondeur: u8, mut alpha: i8, beta: i8, state: Configuration) -> (Option, i8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Movement` [INFO] [stdout] 11 | /// Movements : clone some blob or jump [INFO] [stdout] 12 | pub enum Movement { [INFO] [stdout] | -------- `Movement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Movement` [INFO] [stdout] 11 | /// Movements : clone some blob or jump [INFO] [stdout] 12 | pub enum Movement { [INFO] [stdout] | -------- `Movement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.59s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "55600903bd61e860f2f236013d457f5a84dcf80bf6faaf6943aea8fbbe544140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55600903bd61e860f2f236013d457f5a84dcf80bf6faaf6943aea8fbbe544140", kill_on_drop: false }` [INFO] [stdout] 55600903bd61e860f2f236013d457f5a84dcf80bf6faaf6943aea8fbbe544140