[INFO] cloning repository https://github.com/vodkatypique/blob [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vodkatypique/blob" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvodkatypique%2Fblob", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvodkatypique%2Fblob'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0ece5f2dfcfbed7157dbfbe9a84e7c2286e071f4 [INFO] checking vodkatypique/blob against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvodkatypique%2Fblob" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vodkatypique/blob on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vodkatypique/blob [INFO] finished tweaking git repo https://github.com/vodkatypique/blob [INFO] tweaked toml for git repo https://github.com/vodkatypique/blob written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/vodkatypique/blob 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded nix v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35bc581c8a4e4748b6a5c2130699214db686ddcd8f7dc83145f16dfb45e46323 [INFO] running `Command { std: "docker" "start" "-a" "35bc581c8a4e4748b6a5c2130699214db686ddcd8f7dc83145f16dfb45e46323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35bc581c8a4e4748b6a5c2130699214db686ddcd8f7dc83145f16dfb45e46323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35bc581c8a4e4748b6a5c2130699214db686ddcd8f7dc83145f16dfb45e46323", kill_on_drop: false }` [INFO] [stdout] 35bc581c8a4e4748b6a5c2130699214db686ddcd8f7dc83145f16dfb45e46323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a738bcade6a489570201129ec5900f0667466c9051f1f269d18d3ec4c1e7d108 [INFO] running `Command { std: "docker" "start" "-a" "a738bcade6a489570201129ec5900f0667466c9051f1f269d18d3ec4c1e7d108", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/strategy/alphabeta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/strategy/alphabeta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [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/greedy.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut score = state.play(&mouvement).value(); [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/greedy.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut score = state.play(&mouvement).value(); [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/alphabeta.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut alpha = -127; [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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut beta = 127; [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:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut alpha = -127; [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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut beta = 127; [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:83:80 [INFO] [stdout] | [INFO] [stdout] 83 | ... fn alpha_beta_avec_memoization(state: &Configuration, profondeur : u8, mut alpha: i8, mut beta: i8, memoisation: &mut HashMap<(Stri... [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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut res: 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:83:80 [INFO] [stdout] | [INFO] [stdout] 83 | ... fn alpha_beta_avec_memoization(state: &Configuration, profondeur : u8, mut alpha: i8, mut beta: i8, memoisation: &mut HashMap<(Stri... [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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut res: i8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/greedy.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/minmax.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/alphabeta.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/greedy.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/minmax.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/alphabeta.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlphaBeta`, `Human`, `MinMax` [INFO] [stdout] --> src/main.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{Greedy, Human, MinMax, AlphaBeta}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlphaBeta`, `Human`, `MinMax` [INFO] [stdout] --> src/main.rs:4:33 [INFO] [stdout] | [INFO] [stdout] 4 | use blobwar::strategy::{Greedy, Human, MinMax, AlphaBeta}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tour` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | for tour in 0..5 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tour` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut res = game.battle(Greedy(), Greedy()); //Rouge - Bleu [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: unused variable: `tour` [INFO] [stdout] --> src/main.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | for tour in 0..5 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tour` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let mut res = game.battle(Greedy(), Greedy()); //Rouge - Bleu [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.12s [INFO] running `Command { std: "docker" "inspect" "a738bcade6a489570201129ec5900f0667466c9051f1f269d18d3ec4c1e7d108", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a738bcade6a489570201129ec5900f0667466c9051f1f269d18d3ec4c1e7d108", kill_on_drop: false }` [INFO] [stdout] a738bcade6a489570201129ec5900f0667466c9051f1f269d18d3ec4c1e7d108 [INFO] checking vodkatypique/blob against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvodkatypique%2Fblob" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vodkatypique/blob on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vodkatypique/blob [INFO] finished tweaking git repo https://github.com/vodkatypique/blob [INFO] tweaked toml for git repo https://github.com/vodkatypique/blob written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/vodkatypique/blob 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae7c403292ec78921f948ed7d265e4afc11f8ae23933aa752e3277a3a9a79906 [INFO] running `Command { std: "docker" "start" "-a" "ae7c403292ec78921f948ed7d265e4afc11f8ae23933aa752e3277a3a9a79906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae7c403292ec78921f948ed7d265e4afc11f8ae23933aa752e3277a3a9a79906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7c403292ec78921f948ed7d265e4afc11f8ae23933aa752e3277a3a9a79906", kill_on_drop: false }` [INFO] [stdout] ae7c403292ec78921f948ed7d265e4afc11f8ae23933aa752e3277a3a9a79906 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49394c8f6562c5741d71c180ef020187e2c27b1344f80fc05f12f97c52599ba9 [INFO] running `Command { std: "docker" "start" "-a" "49394c8f6562c5741d71c180ef020187e2c27b1344f80fc05f12f97c52599ba9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking blobwar v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/strategy/alphabeta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/strategy/alphabeta.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [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/greedy.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut score = state.play(&mouvement).value(); [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/alphabeta.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut alpha = -127; [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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut beta = 127; [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:83:80 [INFO] [stdout] | [INFO] [stdout] 83 | ... fn alpha_beta_avec_memoization(state: &Configuration, profondeur : u8, mut alpha: i8, mut beta: i8, memoisation: &mut HashMap<(Stri... [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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut res: i8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Movement` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Movement` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/greedy.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/minmax.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/alphabeta.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/strategy/greedy.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let mut score = state.play(&mouvement).value(); [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/alphabeta.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut alpha = -127; [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:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut beta = 127; [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:83:80 [INFO] [stdout] | [INFO] [stdout] 83 | ... fn alpha_beta_avec_memoization(state: &Configuration, profondeur : u8, mut alpha: i8, mut beta: i8, memoisation: &mut HashMap<(Stri... [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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut res: i8; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/configuration.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Movement` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/configuration.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq, Hash)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Movement` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/greedy.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/minmax.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `randIndex` should have a snake case name [INFO] [stdout] --> src/strategy/alphabeta.rs:125:21 [INFO] [stdout] | [INFO] [stdout] 125 | let randIndex = rand::thread_rng().gen_range(0..list_move_opt.len()); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rand_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blobwar` (lib) due to 3 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `blobwar` (lib test) due to 3 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "49394c8f6562c5741d71c180ef020187e2c27b1344f80fc05f12f97c52599ba9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49394c8f6562c5741d71c180ef020187e2c27b1344f80fc05f12f97c52599ba9", kill_on_drop: false }` [INFO] [stdout] 49394c8f6562c5741d71c180ef020187e2c27b1344f80fc05f12f97c52599ba9