[INFO] fetching crate candidate 0.0.5... [INFO] testing candidate-0.0.5 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate candidate 0.0.5 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate candidate 0.0.5 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate candidate 0.0.5 [INFO] finished tweaking crates.io crate candidate 0.0.5 [INFO] tweaked toml for crates.io crate candidate 0.0.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85173d1133caeba33da6496672db30e84e08285955a453f4bca74d53511e9726 [INFO] running `Command { std: "docker" "start" "-a" "85173d1133caeba33da6496672db30e84e08285955a453f4bca74d53511e9726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85173d1133caeba33da6496672db30e84e08285955a453f4bca74d53511e9726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85173d1133caeba33da6496672db30e84e08285955a453f4bca74d53511e9726", kill_on_drop: false }` [INFO] [stdout] 85173d1133caeba33da6496672db30e84e08285955a453f4bca74d53511e9726 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70716ccd2d9334d283a432158ba22933d95a18e9463e674213336eebefb1b36c [INFO] running `Command { std: "docker" "start" "-a" "70716ccd2d9334d283a432158ba22933d95a18e9463e674213336eebefb1b36c", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling candidate v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gen_tables/magic.rs:165:56 [INFO] [stdout] | [INFO] [stdout] 165 | writeln!(f, "const MOVES: [BitBoard; {}] = [", GENERATED_NUM_MOVES).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gen_tables/ranks_files.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | writeln!(f, "pub const EDGES: BitBoard = BitBoard({});", EDGES.0).unwrap(); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::piece_type::*` [INFO] [stdout] --> src/movegen/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::piece_type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "instrument_game", feature = "instrument_all"))] [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:330:42 [INFO] [stdout] | [INFO] [stdout] 330 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:354:42 [INFO] [stdout] | [INFO] [stdout] 354 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:461:42 [INFO] [stdout] | [INFO] [stdout] 461 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:503:42 [INFO] [stdout] | [INFO] [stdout] 503 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:530:42 [INFO] [stdout] | [INFO] [stdout] 530 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:580:42 [INFO] [stdout] | [INFO] [stdout] 580 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_square` [INFO] [stdout] --> src/movegen/piece_type.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | from_square: Option, // ignored [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is` is never used [INFO] [stdout] --> src/movegen/piece_type.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PieceType { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 15 | fn is(piece: Piece) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 38.76s [INFO] running `Command { std: "docker" "inspect" "70716ccd2d9334d283a432158ba22933d95a18e9463e674213336eebefb1b36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70716ccd2d9334d283a432158ba22933d95a18e9463e674213336eebefb1b36c", kill_on_drop: false }` [INFO] [stdout] 70716ccd2d9334d283a432158ba22933d95a18e9463e674213336eebefb1b36c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf09e4a00f0dfacf5767f3d73a557acfcc25da4f8587fe1bed255a9975d48672 [INFO] running `Command { std: "docker" "start" "-a" "bf09e4a00f0dfacf5767f3d73a557acfcc25da4f8587fe1bed255a9975d48672", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling oorandom v11.1.4 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling candidate v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gen_tables/magic.rs:165:56 [INFO] [stdout] | [INFO] [stdout] 165 | writeln!(f, "const MOVES: [BitBoard; {}] = [", GENERATED_NUM_MOVES).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gen_tables/ranks_files.rs:76:66 [INFO] [stdout] | [INFO] [stdout] 76 | writeln!(f, "pub const EDGES: BitBoard = BitBoard({});", EDGES.0).unwrap(); [INFO] [stdout] | ^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::piece_type::*` [INFO] [stdout] --> src/movegen/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::piece_type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "instrument_game", feature = "instrument_all"))] [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:330:42 [INFO] [stdout] | [INFO] [stdout] 330 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:354:42 [INFO] [stdout] | [INFO] [stdout] 354 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:461:42 [INFO] [stdout] | [INFO] [stdout] 461 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:503:42 [INFO] [stdout] | [INFO] [stdout] 503 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:530:42 [INFO] [stdout] | [INFO] [stdout] 530 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:580:42 [INFO] [stdout] | [INFO] [stdout] 580 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_square` [INFO] [stdout] --> src/movegen/piece_type.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | from_square: Option, // ignored [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is` is never used [INFO] [stdout] --> src/movegen/piece_type.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PieceType { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 15 | fn is(piece: Piece) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::piece_type::*` [INFO] [stdout] --> src/movegen/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::piece_type::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(any(feature = "instrument_game", feature = "instrument_all"))] [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/game.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:82:42 [INFO] [stdout] | [INFO] [stdout] 82 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:107:42 [INFO] [stdout] | [INFO] [stdout] 107 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:242:42 [INFO] [stdout] | [INFO] [stdout] 242 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:330:42 [INFO] [stdout] | [INFO] [stdout] 330 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:354:42 [INFO] [stdout] | [INFO] [stdout] 354 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:383:42 [INFO] [stdout] | [INFO] [stdout] 383 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:461:42 [INFO] [stdout] | [INFO] [stdout] 461 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:503:42 [INFO] [stdout] | [INFO] [stdout] 503 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:530:42 [INFO] [stdout] | [INFO] [stdout] 530 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:565:42 [INFO] [stdout] | [INFO] [stdout] 565 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stdout] --> src/game.rs:580:42 [INFO] [stdout] | [INFO] [stdout] 580 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stdout] | ^^^^^^^^^^---------------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stdout] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_square` [INFO] [stdout] --> src/movegen/piece_type.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | from_square: Option, // ignored [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `is` is never used [INFO] [stdout] --> src/movegen/piece_type.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait PieceType { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 15 | fn is(piece: Piece) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "bf09e4a00f0dfacf5767f3d73a557acfcc25da4f8587fe1bed255a9975d48672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf09e4a00f0dfacf5767f3d73a557acfcc25da4f8587fe1bed255a9975d48672", kill_on_drop: false }` [INFO] [stdout] bf09e4a00f0dfacf5767f3d73a557acfcc25da4f8587fe1bed255a9975d48672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f821ac56f08c7c9cfba46f16b21416d116ed4f73bb7c2a555bf13d28262fb5b7 [INFO] running `Command { std: "docker" "start" "-a" "f821ac56f08c7c9cfba46f16b21416d116ed4f73bb7c2a555bf13d28262fb5b7", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `rand` dependency) [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stderr] 5 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:4:24 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Clone, Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stderr] 5 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/gen_tables/magic.rs:165:56 [INFO] [stderr] | [INFO] [stderr] 165 | writeln!(f, "const MOVES: [BitBoard; {}] = [", GENERATED_NUM_MOVES).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/gen_tables/ranks_files.rs:76:66 [INFO] [stderr] | [INFO] [stderr] 76 | writeln!(f, "pub const EDGES: BitBoard = BitBoard({});", EDGES.0).unwrap(); [INFO] [stderr] | ^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `candidate` (build script) generated 4 warnings [INFO] [stderr] warning: unused import: `self::piece_type::*` [INFO] [stderr] --> src/movegen/mod.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | pub use self::piece_type::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:9:40 [INFO] [stderr] | [INFO] [stderr] 9 | #[cfg(any(feature = "instrument_game", feature = "instrument_all"))] [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Borrow` [INFO] [stderr] --> src/game.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::borrow::Borrow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:57:42 [INFO] [stderr] | [INFO] [stderr] 57 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:82:42 [INFO] [stderr] | [INFO] [stderr] 82 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:107:42 [INFO] [stderr] | [INFO] [stderr] 107 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:123:42 [INFO] [stderr] | [INFO] [stderr] 123 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:175:42 [INFO] [stderr] | [INFO] [stderr] 175 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:192:42 [INFO] [stderr] | [INFO] [stderr] 192 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:242:42 [INFO] [stderr] | [INFO] [stderr] 242 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:330:42 [INFO] [stderr] | [INFO] [stderr] 330 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:354:42 [INFO] [stderr] | [INFO] [stderr] 354 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:383:42 [INFO] [stderr] | [INFO] [stderr] 383 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:461:42 [INFO] [stderr] | [INFO] [stderr] 461 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:503:42 [INFO] [stderr] | [INFO] [stderr] 503 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:530:42 [INFO] [stderr] | [INFO] [stderr] 530 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:565:42 [INFO] [stderr] | [INFO] [stderr] 565 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `instrument_all` [INFO] [stderr] --> src/game.rs:580:42 [INFO] [stderr] | [INFO] [stderr] 580 | any(feature = "instrument_game", feature = "instrument_all"), [INFO] [stderr] | ^^^^^^^^^^---------------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"instrument_game"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cache_game_state`, `default`, and `instrument_game` [INFO] [stderr] = help: consider adding `instrument_all` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused variable: `from_square` [INFO] [stderr] --> src/movegen/piece_type.rs:378:9 [INFO] [stderr] | [INFO] [stderr] 378 | from_square: Option, // ignored [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_square` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `is` is never used [INFO] [stderr] --> src/movegen/piece_type.rs:15:8 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait PieceType { [INFO] [stderr] | --------- associated function in this trait [INFO] [stderr] 15 | fn is(piece: Piece) -> bool; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `candidate` (lib) generated 22 warnings (2 duplicates) (run `cargo fix --lib -p candidate` to apply 2 suggestions) [INFO] [stderr] warning: `candidate` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/candidate-290994be9db8c834) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test board::test_legal_destinations_from ... ok [INFO] [stdout] test board::test_null_move_en_passant ... ok [INFO] [stdout] test board_builder::invalid_castle_rights ... ok [INFO] [stdout] test board_builder::check_initial_position ... ok [INFO] [stdout] test board_builder::test_in_check ... ok [INFO] [stdout] test board_builder::test_kissing_kings ... ok [INFO] [stdout] test chess_move::test_basic_moves ... ok [INFO] [stdout] test movegen::movegen::movegen_issue_15 ... ok [INFO] [stdout] test game::test_make_move ... ok [INFO] [stdout] test game::test_can_declare_draw ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_22 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_21 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_25 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_26 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_20 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_19 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_10 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_17 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_16 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_15 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_18 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_1 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_2 ... ok [INFO] [stdout] test movegen::movegen::test_masked_move_gen ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_11 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_23 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_12 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_9 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_7 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_24 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_6 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_8 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_3 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_5 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_13 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_4 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_14 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_kiwipete ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.84s [INFO] [stdout] [INFO] [stderr] Doc-tests candidate [INFO] [stdout] [INFO] [stdout] running 140 tests [INFO] [stdout] test src/bitboard.rs - bitboard::EMPTY (line 31) ... ok [INFO] [stdout] test src/bitboard.rs - bitboard::BitBoard (line 11) ... ok [INFO] [stdout] test src/board.rs - board::Board::null_move (line 547) ... ok [INFO] [stdout] test src/board.rs - board::Board::king_square (line 212) ... ok [INFO] [stdout] test src/board.rs - board::Board::color_combined (line 191) ... ok [INFO] [stdout] test src/board.rs - board::Board::my_castle_rights (line 335) ... ok [INFO] [stdout] test src/board.rs - board::Board::clear_square (line 496) ... ok [INFO] [stdout] test src/board.rs - board::Board::piece_on (line 714) ... ok [INFO] [stdout] test src/board.rs - board::Board::make_move (line 888) ... ok [INFO] [stdout] test src/board.rs - board::Board::make_move_new (line 865) ... ok [INFO] [stdout] test src/board.rs - board::Board::combined (line 171) ... ok [INFO] [stdout] test src/board.rs - board::Board::en_passant (line 777) ... ok [INFO] [stdout] test src/board.rs - board::Board::from_fen (line 79) ... ok [INFO] [stdout] test src/board.rs - board::Board::castle_rights (line 247) ... ok [INFO] [stdout] test src/board.rs - board::Board::pieces (line 227) ... ok [INFO] [stdout] test src/board.rs - board::Board::remove_their_castle_rights (line 413) ... ok [INFO] [stdout] test src/board.rs - board::Board::set_piece (line 445) ... ok [INFO] [stdout] test src/board.rs - board::Board::remove_castle_rights (line 299) ... ok [INFO] [stdout] test src/board.rs - board::Board::remove_my_castle_rights (line 363) ... ok [INFO] [stdout] test src/board.rs - board::Board::legal (line 836) ... ok [INFO] [stdout] test src/board.rs - board::Board::side_to_move (line 322) ... ok [INFO] [stdout] test src/board.rs - board::Board::their_castle_rights (line 385) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder (line 23) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::castle_rights (line 191) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::en_passant (line 251) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::clear_square (line 236) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::get_side_to_move (line 130) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::get_castle_rights (line 142) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::piece (line 216) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::get_en_passant (line 154) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::new (line 65) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::side_to_move (line 174) ... ok [INFO] [stdout] test src/chess_move.rs - chess_move::ChessMove::from_san (line 52) ... ok [INFO] [stdout] test src/board_builder.rs - board_builder::BoardBuilder::setup (line 89) ... ok [INFO] [stdout] test src/castle_rights.rs - castle_rights::CastleRights::to_string (line 123) ... ok [INFO] [stdout] test src/chess_move.rs - chess_move::ChessMove (line 396) ... ok [INFO] [stdout] test src/cache_table.rs - cache_table::CacheTable::replace_if (line 60) ... ok [INFO] [stdout] test src/game.rs - game::Game::can_declare_draw (line 216) ... ok [INFO] [stdout] test src/game.rs - game::Game::current_position (line 185) ... ok [INFO] [stdout] test src/board.rs - board::Board::is_sane (line 575) ... FAILED [INFO] [stdout] test src/game.rs - game::Game::resign (line 558) ... ok [INFO] [stdout] test src/game.rs - game::Game::new_from_fen (line 156) ... ok [INFO] [stdout] test src/game.rs - game::Game::offer_draw (line 496) ... ok [INFO] [stdout] test src/game.rs - game::Game::result (line 116) ... ok [INFO] [stdout] test src/game.rs - game::Game::new (line 50) ... ok [INFO] [stdout] test src/game.rs - game::Game::side_to_move (line 454) ... ok [INFO] [stdout] test src/game.rs - game::Game::new_with_board (line 75) ... ok [INFO] [stdout] test src/game.rs - game::Game::declare_draw (line 303) ... ok [INFO] [stdout] test src/board.rs - board::Board::status (line 119) ... ok [INFO] [stdout] test src/square.rs - square::ALL_SQUARES (line 1009) ... ok [INFO] [stdout] test src/piece.rs - piece::Piece::to_string (line 44) ... ok [INFO] [stdout] test src/square.rs - square::Square::A7 (line 826) ... ok [INFO] [stdout] test src/square.rs - square::Square::A5 (line 682) ... ok [INFO] [stdout] test src/square.rs - square::Square::A2 (line 466) ... ok [INFO] [stdout] test src/square.rs - square::Square::A4 (line 610) ... ok [INFO] [stdout] test src/game.rs - game::Game::actions (line 96) ... ok [INFO] [stdout] test src/square.rs - square::Square::A1 (line 394) ... ok [INFO] [stdout] test src/game.rs - game::Game::accept_draw (line 516) ... ok [INFO] [stdout] test src/square.rs - square::Square::A8 (line 898) ... ok [INFO] [stdout] test src/square.rs - square::Square::A3 (line 538) ... ok [INFO] [stdout] test src/square.rs - square::Square::A6 (line 754) ... ok [INFO] [stdout] test src/square.rs - square::Square::B4 (line 619) ... ok [INFO] [stdout] test src/square.rs - square::Square::B7 (line 835) ... ok [INFO] [stdout] test src/square.rs - square::Square::C1 (line 412) ... ok [INFO] [stdout] test src/square.rs - square::Square::B6 (line 763) ... ok [INFO] [stdout] test src/square.rs - square::Square::B3 (line 547) ... ok [INFO] [stdout] test src/square.rs - square::Square::B1 (line 403) ... ok [INFO] [stdout] test src/game.rs - game::Game::make_move (line 344) ... ok [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] test src/square.rs - square::Square::B8 (line 907) ... ok [INFO] [stdout] test src/square.rs - square::Square::B2 (line 475) ... ok [INFO] [stdout] test src/square.rs - square::Square::B5 (line 691) ... ok [INFO] [stdout] test src/square.rs - square::Square::C5 (line 700) ... ok [INFO] [stdout] test src/movegen/movegen.rs - movegen::movegen::MoveGen (line 49) ... ok [INFO] [stdout] test src/square.rs - square::Square::C2 (line 484) ... ok [INFO] [stdout] test src/square.rs - square::Square::D2 (line 493) ... ok [INFO] [stdout] test src/square.rs - square::Square::D5 (line 709) ... ok [INFO] [stdout] test src/square.rs - square::Square::D3 (line 565) ... ok [INFO] [stdout] test src/square.rs - square::Square::D6 (line 781) ... ok [INFO] [stdout] test src/square.rs - square::Square::C8 (line 916) ... ok [INFO] [stdout] test src/square.rs - square::Square::C3 (line 556) ... ok [INFO] [stdout] test src/square.rs - square::Square::C7 (line 844) ... ok [INFO] [stdout] test src/square.rs - square::Square::D1 (line 421) ... ok [INFO] [stdout] test src/square.rs - square::Square::C6 (line 772) ... ok [INFO] [stdout] test src/square.rs - square::Square::D4 (line 637) ... ok [INFO] [stdout] test src/square.rs - square::Square::C4 (line 628) ... ok [INFO] [stdout] test src/square.rs - square::Square::D7 (line 853) ... ok [INFO] [stdout] test src/square.rs - square::Square::D8 (line 925) ... ok [INFO] [stdout] test src/square.rs - square::Square::E3 (line 574) ... ok [INFO] [stdout] test src/square.rs - square::Square::E1 (line 430) ... ok [INFO] [stdout] test src/square.rs - square::Square::E2 (line 502) ... ok [INFO] [stdout] test src/square.rs - square::Square::F1 (line 439) ... ok [INFO] [stdout] test src/square.rs - square::Square::F2 (line 511) ... ok [INFO] [stdout] test src/square.rs - square::Square::E5 (line 718) ... ok [INFO] [stdout] test src/square.rs - square::Square::F5 (line 727) ... ok [INFO] [stdout] test src/square.rs - square::Square::F4 (line 655) ... ok [INFO] [stdout] test src/square.rs - square::Square::E8 (line 934) ... ok [INFO] [stdout] test src/square.rs - square::Square::E7 (line 862) ... ok [INFO] [stdout] test src/square.rs - square::Square::E6 (line 790) ... ok [INFO] [stdout] test src/square.rs - square::Square::F6 (line 799) ... ok [INFO] [stdout] test src/square.rs - square::Square::E4 (line 646) ... ok [INFO] [stdout] test src/square.rs - square::Square::F7 (line 871) ... ok [INFO] [stdout] test src/square.rs - square::Square::F8 (line 943) ... ok [INFO] [stdout] test src/square.rs - square::Square::F3 (line 583) ... ok [INFO] [stdout] test src/square.rs - square::Square::G3 (line 592) ... ok [INFO] [stdout] test src/square.rs - square::Square::G1 (line 448) ... ok [INFO] [stdout] test src/square.rs - square::Square::G2 (line 520) ... ok [INFO] [stdout] test src/square.rs - square::Square::G5 (line 736) ... ok [INFO] [stdout] test src/square.rs - square::Square::G4 (line 664) ... ok [INFO] [stdout] test src/square.rs - square::Square::G8 (line 952) ... ok [INFO] [stdout] test src/square.rs - square::Square::G6 (line 808) ... ok [INFO] [stdout] test src/square.rs - square::Square::G7 (line 880) ... ok [INFO] [stdout] test src/square.rs - square::Square::H1 (line 457) ... ok [INFO] [stdout] test src/square.rs - square::Square::H4 (line 673) ... ok [INFO] [stdout] test src/square.rs - square::Square::H3 (line 601) ... ok [INFO] [stdout] test src/square.rs - square::Square::H5 (line 745) ... ok [INFO] [stdout] test src/square.rs - square::Square::H2 (line 529) ... ok [INFO] [stdout] test src/square.rs - square::Square::H6 (line 817) ... ok [INFO] [stdout] test src/square.rs - square::Square::H7 (line 889) ... ok [INFO] [stdout] test src/square.rs - square::Square::H8 (line 961) ... ok [INFO] [stdout] test src/square.rs - square::Square::forward (line 188) ... ok [INFO] [stdout] test src/square.rs - square::Square::backward (line 211) ... ok [INFO] [stdout] test src/square.rs - square::Square::default (line 18) ... ok [INFO] [stdout] test src/square.rs - square::Square::down (line 125) ... ok [INFO] [stdout] test src/square.rs - square::Square::make_square (line 55) ... ok [INFO] [stdout] test src/square.rs - square::Square::get_rank (line 77) ... ok [INFO] [stdout] test src/square.rs - square::Square::get_file (line 91) ... ok [INFO] [stdout] test src/square.rs - square::Square::right (line 165) ... ok [INFO] [stdout] test src/square.rs - square::Square::new (line 35) ... ok [INFO] [stdout] test src/square.rs - square::Square::from_string (line 377) ... ok [INFO] [stdout] test src/square.rs - square::Square::left (line 145) ... ok [INFO] [stdout] test src/square.rs - square::Square::uleft (line 266) ... ok [INFO] [stdout] test src/square.rs - square::Square::uup (line 234) ... ok [INFO] [stdout] test src/square.rs - square::Square::uforward (line 300) ... ok [INFO] [stdout] test src/square.rs - square::Square::to_index (line 362) ... ok [INFO] [stdout] test src/square.rs - square::Square::uright (line 283) ... ok [INFO] [stdout] test src/square.rs - square::Square::up (line 105) ... ok [INFO] [stdout] test src/square.rs - square::Square::ubackward (line 324) ... ok [INFO] [stdout] test src/square.rs - square::Square::to_int (line 347) ... ok [INFO] [stdout] test src/square.rs - square::Square::udown (line 250) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/board.rs - board::Board::is_sane (line 575) stdout ---- [INFO] [stdout] warning: use of deprecated method `candidate::Board::clear_square`: When doing board setup, use the BoardBuilder structure. It ensures you don't end up with an invalid position. [INFO] [stdout] --> src/board.rs:584:23 [INFO] [stdout] | [INFO] [stdout] 12 | let bad_board = board.clear_square(Square::E1).expect("Valid Position"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] Test executable failed (signal: 6 (SIGABRT) (core dumped)). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] thread 'main' panicked at library/core/src/panicking.rs:218:5: [INFO] [stdout] unsafe precondition(s) violated: slice::get_unchecked requires that the index is within the slice [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59aca714840a - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x59aca714840a - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x59aca714840a - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59aca714840a - ::fmt::h6c37de0361fa7462 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59aca7164843 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x59aca7164843 - core::fmt::write::hf77fe0583268bf67 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x59aca7145c93 - std::io::Write::write_fmt::h3b0b8069e2435ed6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x59aca7148252 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x59aca714920d - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x59aca7149052 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x59aca7149807 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:817:13 [INFO] [stdout] 11: 0x59aca7149666 - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:683:13 [INFO] [stdout] 12: 0x59aca71488d9 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 13: 0x59aca714932d - rust_begin_unwind [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stdout] 14: 0x59aca7163ced - core::panicking::panic_nounwind_fmt::runtime::h5cd7a320af4ce258 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:117:22 [INFO] [stdout] 15: 0x59aca7163ced - core::panicking::panic_nounwind_fmt::h6440a00e30860e7c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/intrinsics/mod.rs:3840:9 [INFO] [stdout] 16: 0x59aca7163d82 - core::panicking::panic_nounwind::he828b7f8b0ec7844 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:218:5 [INFO] [stdout] 17: 0x59aca7127810 - >::get_unchecked::precondition_check::h14ee48bc30137800 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ub_checks.rs:68:21 [INFO] [stdout] 18: 0x59aca7127810 - >::get_unchecked::h5717b07c298e3167 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ub_checks.rs:75:17 [INFO] [stdout] 19: 0x59aca7127810 - core::slice::::get_unchecked::h68a8104216fb0122 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/slice/mod.rs:665:26 [INFO] [stdout] 20: 0x59aca7127810 - candidate::magic::get_bishop_rays::h7db08dc22fceacb5 [INFO] [stdout] at /opt/rustwide/workdir/src/magic.rs:15:42 [INFO] [stdout] 21: 0x59aca7127810 - candidate::board::Board::update_pin_info::h9ad278366f93c93c [INFO] [stdout] at /opt/rustwide/workdir/src/board.rs:1023:17 [INFO] [stdout] 22: 0x59aca7127060 - candidate::board::Board::clear_square::h229816237fc7306a [INFO] [stdout] 23: 0x59aca712734e - rust_out::main::_doctest_main_src_board_rs_575_0::he6af6464547c980b [INFO] [stdout] 24: 0x59aca71272a6 - rust_out::main::h97f882e155570232 [INFO] [stdout] 25: 0x59aca7126813 - core::ops::function::FnOnce::call_once::h5d97d5d6b4dfc43b [INFO] [stdout] 26: 0x59aca71267c6 - std::sys::backtrace::__rust_begin_short_backtrace::h4572fb2acdd7365d [INFO] [stdout] 27: 0x59aca71267a9 - std::rt::lang_start::{{closure}}::ha730ab418ed847bd [INFO] [stdout] 28: 0x59aca7144297 - core::ops::function::impls:: for &F>::call_once::h76ca3130e5aaff8c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:284:13 [INFO] [stdout] 29: 0x59aca7144297 - std::panicking::try::do_call::hb191d56e2b911a09 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 30: 0x59aca7144297 - std::panicking::try::h7794f8ddd4f99c10 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 31: 0x59aca7144297 - std::panic::catch_unwind::ha29e17386181ce3c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 32: 0x59aca7144297 - std::rt::lang_start_internal::{{closure}}::h8fbf4d37cb0ecaea [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/rt.rs:174:48 [INFO] [stdout] 33: 0x59aca7144297 - std::panicking::try::do_call::h174f2acf649ec498 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 34: 0x59aca7144297 - std::panicking::try::h25cd420a99223a0b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 35: 0x59aca7144297 - std::panic::catch_unwind::hba18533b09cae648 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 36: 0x59aca7144297 - std::rt::lang_start_internal::h64423c0e65e69f52 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/rt.rs:174:20 [INFO] [stdout] 37: 0x59aca7126787 - std::rt::lang_start::heaccd7df1607fd9d [INFO] [stdout] 38: 0x59aca7127405 - main [INFO] [stdout] 39: 0x7296eee01d90 - [INFO] [stdout] 40: 0x7296eee01e40 - __libc_start_main [INFO] [stdout] 41: 0x59aca7126695 - _start [INFO] [stdout] 42: 0x0 - [INFO] [stdout] thread caused non-unwinding panic. aborting. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/board.rs - board::Board::is_sane (line 575) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 139 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.36s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f821ac56f08c7c9cfba46f16b21416d116ed4f73bb7c2a555bf13d28262fb5b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f821ac56f08c7c9cfba46f16b21416d116ed4f73bb7c2a555bf13d28262fb5b7", kill_on_drop: false }` [INFO] [stdout] f821ac56f08c7c9cfba46f16b21416d116ed4f73bb7c2a555bf13d28262fb5b7