[INFO] fetching crate candidate 0.0.5... [INFO] testing candidate-0.0.5 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate candidate 0.0.5 into /workspace/builds/worker-0-tc1/source [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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate candidate 0.0.5 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.6.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc5f43a0ab3cfee2111234f85f4cb5dbfbfbc8c0c32257944ec35988439d3409 [INFO] running `Command { std: "docker" "start" "-a" "dc5f43a0ab3cfee2111234f85f4cb5dbfbfbc8c0c32257944ec35988439d3409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc5f43a0ab3cfee2111234f85f4cb5dbfbfbc8c0c32257944ec35988439d3409", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc5f43a0ab3cfee2111234f85f4cb5dbfbfbc8c0c32257944ec35988439d3409", kill_on_drop: false }` [INFO] [stdout] dc5f43a0ab3cfee2111234f85f4cb5dbfbfbc8c0c32257944ec35988439d3409 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a8e089744909ab73d0a1697ebc7d45805c82315f109f3d3953d7505a1fda91aa [INFO] running `Command { std: "docker" "start" "-a" "a8e089744909ab73d0a1697ebc7d45805c82315f109f3d3953d7505a1fda91aa", 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 object v0.36.7 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [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 [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 [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.37s [INFO] running `Command { std: "docker" "inspect" "a8e089744909ab73d0a1697ebc7d45805c82315f109f3d3953d7505a1fda91aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8e089744909ab73d0a1697ebc7d45805c82315f109f3d3953d7505a1fda91aa", kill_on_drop: false }` [INFO] [stdout] a8e089744909ab73d0a1697ebc7d45805c82315f109f3d3953d7505a1fda91aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e91847a4e3f6be89f7ad8bfaaa1b946c26eb0e84846d334ab503ff6a82e8b67e [INFO] running `Command { std: "docker" "start" "-a" "e91847a4e3f6be89f7ad8bfaaa1b946c26eb0e84846d334ab503ff6a82e8b67e", 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.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling either v1.15.0 [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 syn v2.0.104 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling half v1.8.3 [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 [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 [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] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon v1.10.0 [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 csv v1.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling candidate v0.0.5 (/opt/rustwide/workdir) [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] Compiling criterion v0.3.6 [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 37s [INFO] running `Command { std: "docker" "inspect" "e91847a4e3f6be89f7ad8bfaaa1b946c26eb0e84846d334ab503ff6a82e8b67e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e91847a4e3f6be89f7ad8bfaaa1b946c26eb0e84846d334ab503ff6a82e8b67e", kill_on_drop: false }` [INFO] [stdout] e91847a4e3f6be89f7ad8bfaaa1b946c26eb0e84846d334ab503ff6a82e8b67e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e0302dbf9e3439c084e59ccca28c945a90b51dfab2ddb3d90b48c2601b843fc5 [INFO] running `Command { std: "docker" "start" "-a" "e0302dbf9e3439c084e59ccca28c945a90b51dfab2ddb3d90b48c2601b843fc5", 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 [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 [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.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/candidate-913e73eafa3a5fbc) [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::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 board_builder::check_initial_position ... ok [INFO] [stdout] test game::test_make_move ... ok [INFO] [stdout] test movegen::movegen::movegen_issue_15 ... 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_10 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_20 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_17 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_25 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_19 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_26 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_16 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_12 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_11 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_15 ... ok [INFO] [stdout] test movegen::movegen::test_masked_move_gen ... 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_24 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_23 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_9 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_13 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_2 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_5 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_3 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_7 ... ok [INFO] [stdout] test movegen::movegen::movegen_perft_14 ... 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_4 ... 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 2.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0302dbf9e3439c084e59ccca28c945a90b51dfab2ddb3d90b48c2601b843fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0302dbf9e3439c084e59ccca28c945a90b51dfab2ddb3d90b48c2601b843fc5", kill_on_drop: false }` [INFO] [stdout] e0302dbf9e3439c084e59ccca28c945a90b51dfab2ddb3d90b48c2601b843fc5