[INFO] fetching crate candidate 0.0.5... [INFO] checking candidate-0.0.5 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate candidate 0.0.5 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate candidate 0.0.5 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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 bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding rand_pcg v0.2.1 (available: v0.3.1) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding synstructure v0.12.6 (available: v0.13.1) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 763bbedded6c72673f57bb1712abe673e1fa306018f5691c7e175bae6b736edc [INFO] running `Command { std: "docker" "start" "-a" "763bbedded6c72673f57bb1712abe673e1fa306018f5691c7e175bae6b736edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "763bbedded6c72673f57bb1712abe673e1fa306018f5691c7e175bae6b736edc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "763bbedded6c72673f57bb1712abe673e1fa306018f5691c7e175bae6b736edc", kill_on_drop: false }` [INFO] [stdout] 763bbedded6c72673f57bb1712abe673e1fa306018f5691c7e175bae6b736edc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3afecb216454a13de9a3012b5cacb1211f172f9aec9382c1e222982efec9ce00 [INFO] running `Command { std: "docker" "start" "-a" "3afecb216454a13de9a3012b5cacb1211f172f9aec9382c1e222982efec9ce00", 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.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling zerocopy v0.7.35 [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking 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 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `san` [INFO] [stdout] --> benches/benchmarks/game.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | for (index, san) in san_moves.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_san` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `legality_benchmarks` is never used [INFO] [stdout] --> benches/benchmarks/game.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn legality_benchmarks(c: &mut Criterion) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 17.50s [INFO] running `Command { std: "docker" "inspect" "3afecb216454a13de9a3012b5cacb1211f172f9aec9382c1e222982efec9ce00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3afecb216454a13de9a3012b5cacb1211f172f9aec9382c1e222982efec9ce00", kill_on_drop: false }` [INFO] [stdout] 3afecb216454a13de9a3012b5cacb1211f172f9aec9382c1e222982efec9ce00