[INFO] cloning repository https://github.com/WoodyTheCat/rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WoodyTheCat/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoodyTheCat%2Frusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoodyTheCat%2Frusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cfeb749ba33124d088e4056d20b18295193f32cf [INFO] checking WoodyTheCat/rusty against nightly-2024-02-05 for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoodyTheCat%2Frusty" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WoodyTheCat/rusty on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WoodyTheCat/rusty [INFO] finished tweaking git repo https://github.com/WoodyTheCat/rusty [INFO] tweaked toml for git repo https://github.com/WoodyTheCat/rusty written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WoodyTheCat/rusty 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded text_io v0.1.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 104982bde21cc47cfc5382519f7473b557548475237a70421c9283e4e0bcca52 [INFO] running `Command { std: "docker" "start" "-a" "104982bde21cc47cfc5382519f7473b557548475237a70421c9283e4e0bcca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "104982bde21cc47cfc5382519f7473b557548475237a70421c9283e4e0bcca52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104982bde21cc47cfc5382519f7473b557548475237a70421c9283e4e0bcca52", kill_on_drop: false }` [INFO] [stdout] 104982bde21cc47cfc5382519f7473b557548475237a70421c9283e4e0bcca52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8bb0c9b05b505b77eec36ea373297a2647870ec1bff8b14d7ac0531242bd169 [INFO] running `Command { std: "docker" "start" "-a" "a8bb0c9b05b505b77eec36ea373297a2647870ec1bff8b14d7ac0531242bd169", kill_on_drop: false }` [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/uci.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searcher` [INFO] [stdout] --> src/uci.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_searcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/uci.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_list` [INFO] [stdout] --> src/uci.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let move_list: Vec = gen.trace_generate(board).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gen` and `stats` are never read [INFO] [stdout] --> src/search/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NegaMax { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | gen: MoveGen, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes` and `leaf_nodes` are never read [INFO] [stdout] --> src/search/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 72 | nodes: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | leaf_nodes: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/search/perft.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Perft { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `try_index` and `index` are never used [INFO] [stdout] --> src/types/helpers.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | impl $name { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | pub const fn try_index(index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn index(index: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / crate::types::helpers::simple_enum! { [INFO] [stdout] 31 | | #[derive(Clone, Copy, Debug)] [INFO] [stdout] 32 | | #[repr(u64)] [INFO] [stdout] 33 | | pub enum Square { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::types::helpers::simple_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/uci.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searcher` [INFO] [stdout] --> src/uci.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_searcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/uci.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_list` [INFO] [stdout] --> src/uci.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let move_list: Vec = gen.trace_generate(board).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gen` and `stats` are never read [INFO] [stdout] --> src/search/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NegaMax { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | gen: MoveGen, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes` and `leaf_nodes` are never read [INFO] [stdout] --> src/search/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 72 | nodes: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | leaf_nodes: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/search/perft.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Perft { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `try_index` and `index` are never used [INFO] [stdout] --> src/types/helpers.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | impl $name { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | pub const fn try_index(index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn index(index: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / crate::types::helpers::simple_enum! { [INFO] [stdout] 31 | | #[derive(Clone, Copy, Debug)] [INFO] [stdout] 32 | | #[repr(u64)] [INFO] [stdout] 33 | | pub enum Square { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::types::helpers::simple_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.41s [INFO] running `Command { std: "docker" "inspect" "a8bb0c9b05b505b77eec36ea373297a2647870ec1bff8b14d7ac0531242bd169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8bb0c9b05b505b77eec36ea373297a2647870ec1bff8b14d7ac0531242bd169", kill_on_drop: false }` [INFO] [stdout] a8bb0c9b05b505b77eec36ea373297a2647870ec1bff8b14d7ac0531242bd169 [INFO] checking WoodyTheCat/rusty against nightly-2024-02-05+rustflags=-Dunexpected_cfgs+cargoflags=-Zcheck-cfg for check-cfg-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWoodyTheCat%2Frusty" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WoodyTheCat/rusty on toolchain nightly-2024-02-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/WoodyTheCat/rusty [INFO] finished tweaking git repo https://github.com/WoodyTheCat/rusty [INFO] tweaked toml for git repo https://github.com/WoodyTheCat/rusty written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/WoodyTheCat/rusty 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" "+nightly-2024-02-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-02-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e886c98ee11ec89639d42cdc82407052782a75f9581f4289abf3460f13eb2509 [INFO] running `Command { std: "docker" "start" "-a" "e886c98ee11ec89639d42cdc82407052782a75f9581f4289abf3460f13eb2509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e886c98ee11ec89639d42cdc82407052782a75f9581f4289abf3460f13eb2509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e886c98ee11ec89639d42cdc82407052782a75f9581f4289abf3460f13eb2509", kill_on_drop: false }` [INFO] [stdout] e886c98ee11ec89639d42cdc82407052782a75f9581f4289abf3460f13eb2509 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunexpected_cfgs" "-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" "+nightly-2024-02-05" "check" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zcheck-cfg", kill_on_drop: false }` [INFO] [stdout] c72eed714d20cd9de62dcb34e61c428796447092445b9418db695fa0769e7a70 [INFO] running `Command { std: "docker" "start" "-a" "c72eed714d20cd9de62dcb34e61c428796447092445b9418db695fa0769e7a70", kill_on_drop: false }` [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking text_io v0.1.12 [INFO] [stderr] Checking rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/types/helpers.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/types/colour.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / crate::types::helpers::enum_char_conv! { [INFO] [stdout] 20 | | Colour, ColourParseError { [INFO] [stdout] 21 | | White = 'w', [INFO] [stdout] 22 | | Black = 'b' [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] = note: this error originates in the macro `$crate::simple_error` which comes from the expansion of the macro `crate::types::helpers::enum_char_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/types/helpers.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / crate::types::helpers::enum_char_conv! { [INFO] [stdout] 46 | | Rank, RankParseError { [INFO] [stdout] 47 | | First = '1', [INFO] [stdout] 48 | | Second = '2', [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `$crate::simple_error` which comes from the expansion of the macro `crate::types::helpers::enum_char_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/types/helpers.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / crate::types::helpers::enum_char_conv! { [INFO] [stdout] 59 | | File, FileParseError { [INFO] [stdout] 60 | | A = 'a', [INFO] [stdout] 61 | | B = 'b', [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `$crate::simple_error` which comes from the expansion of the macro `crate::types::helpers::enum_char_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/types/helpers.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/types/colour.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / crate::types::helpers::enum_char_conv! { [INFO] [stdout] 20 | | Colour, ColourParseError { [INFO] [stdout] 21 | | White = 'w', [INFO] [stdout] 22 | | Black = 'b' [INFO] [stdout] 23 | | } [INFO] [stdout] 24 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: requested on the command line with `-D unexpected-cfgs` [INFO] [stdout] = note: this error originates in the macro `$crate::simple_error` which comes from the expansion of the macro `crate::types::helpers::enum_char_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/types/helpers.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | / crate::types::helpers::enum_char_conv! { [INFO] [stdout] 46 | | Rank, RankParseError { [INFO] [stdout] 47 | | First = '1', [INFO] [stdout] 48 | | Second = '2', [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `$crate::simple_error` which comes from the expansion of the macro `crate::types::helpers::enum_char_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `std` [INFO] [stdout] --> src/types/helpers.rs:139:15 [INFO] [stdout] | [INFO] [stdout] 139 | #[cfg(feature = "std")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / crate::types::helpers::enum_char_conv! { [INFO] [stdout] 59 | | File, FileParseError { [INFO] [stdout] 60 | | A = 'a', [INFO] [stdout] 61 | | B = 'b', [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `std` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this error originates in the macro `$crate::simple_error` which comes from the expansion of the macro `crate::types::helpers::enum_char_conv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/uci.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searcher` [INFO] [stdout] --> src/uci.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_searcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/uci.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_list` [INFO] [stdout] --> src/uci.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let move_list: Vec = gen.trace_generate(board).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gen` and `stats` are never read [INFO] [stdout] --> src/search/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NegaMax { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | gen: MoveGen, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes` and `leaf_nodes` are never read [INFO] [stdout] --> src/search/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 72 | nodes: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | leaf_nodes: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/search/perft.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Perft { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `try_index` and `index` are never used [INFO] [stdout] --> src/types/helpers.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | impl $name { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | pub const fn try_index(index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn index(index: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / crate::types::helpers::simple_enum! { [INFO] [stdout] 31 | | #[derive(Clone, Copy, Debug)] [INFO] [stdout] 32 | | #[repr(u64)] [INFO] [stdout] 33 | | pub enum Square { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::types::helpers::simple_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/uci.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `searcher` [INFO] [stdout] --> src/uci.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_searcher` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/uci.rs:81:53 [INFO] [stdout] | [INFO] [stdout] 81 | fn go(pos: &mut BoardState, searcher: &mut NegaMax, data: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_list` [INFO] [stdout] --> src/uci.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let move_list: Vec = gen.trace_generate(board).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `gen` and `stats` are never read [INFO] [stdout] --> src/search/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct NegaMax { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 7 | gen: MoveGen, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | stats: Stats, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `nodes` and `leaf_nodes` are never read [INFO] [stdout] --> src/search/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 72 | nodes: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 73 | leaf_nodes: u64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/search/perft.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Perft { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `try_index` and `index` are never used [INFO] [stdout] --> src/types/helpers.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 22 | impl $name { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 23 | pub const fn try_index(index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn index(index: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types/square.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / crate::types::helpers::simple_enum! { [INFO] [stdout] 31 | | #[derive(Clone, Copy, Debug)] [INFO] [stdout] 32 | | #[repr(u64)] [INFO] [stdout] 33 | | pub enum Square { [INFO] [stdout] ... | [INFO] [stdout] 42 | | } [INFO] [stdout] 43 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::types::helpers::simple_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty` (bin "rusty") due to 4 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty` (bin "rusty" test) due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c72eed714d20cd9de62dcb34e61c428796447092445b9418db695fa0769e7a70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c72eed714d20cd9de62dcb34e61c428796447092445b9418db695fa0769e7a70", kill_on_drop: false }` [INFO] [stdout] c72eed714d20cd9de62dcb34e61c428796447092445b9418db695fa0769e7a70