[INFO] cloning repository https://github.com/jacobgardner/chessAI [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobgardner/chessAI" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 517c56174e9ee32f43e0147b06b9fb6309dfc564 [INFO] testing jacobgardner/chessAI against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobgardner%2FchessAI" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jacobgardner/chessAI [INFO] finished tweaking git repo https://github.com/jacobgardner/chessAI [INFO] tweaked toml for git repo https://github.com/jacobgardner/chessAI written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jacobgardner/chessAI 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] crate git repo https://github.com/jacobgardner/chessAI already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-3-tc1/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] Updating git repository `https://github.com/jacobgardner/snapshot-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v0.6.4 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded serde_codegen_internals v0.11.3 [INFO] [stderr] Downloaded uncover v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.9 [INFO] [stderr] Downloaded ryu v0.2.7 [INFO] [stderr] Downloaded time v0.1.41 [INFO] [stderr] Downloaded thread-scoped v1.0.2 [INFO] [stderr] Downloaded simplelog v0.5.3 [INFO] [stderr] Downloaded redox_syscall v0.1.44 [INFO] [stderr] Downloaded num_cpus v1.9.0 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded rand v0.4.3 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded regex v1.1.0 [INFO] [stderr] Downloaded serde_json v1.0.33 [INFO] [stderr] Downloaded pretty_assertions v0.2.1 [INFO] [stderr] Downloaded pest_derive v1.0.8 [INFO] [stderr] Downloaded handlebars v0.32.4 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded regex-syntax v0.6.4 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded criterion-plot v0.2.5 [INFO] [stderr] Downloaded criterion-stats v0.2.5 [INFO] [stderr] Downloaded serde_codegen v0.8.23 [INFO] [stderr] Downloaded serde_derive v0.8.23 [INFO] [stderr] Downloaded num-derive v0.2.2 [INFO] [stderr] Downloaded serde-hjson v0.8.2 [INFO] [stderr] Downloaded syn v0.14.5 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded pest v1.0.6 [INFO] [stderr] Downloaded criterion v0.2.5 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded itertools-num v0.1.3 [INFO] [stderr] Downloaded serde_derive v1.0.82 [INFO] [stderr] Downloaded itoa v0.4.3 [INFO] [stderr] Downloaded serde v1.0.82 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded rustc-demangle v0.1.9 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded num-iter v0.1.37 [INFO] [stderr] Downloaded num-rational v0.2.1 [INFO] [stderr] Downloaded serde_test v0.8.23 [INFO] [stderr] Downloaded linked-hash-map v0.3.0 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded cfg-if v0.1.4 [INFO] [stderr] Downloaded num-complex v0.2.0 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded term v0.5.1 [INFO] [stderr] Downloaded lazy_static v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] dabce6c26339b6ce85df5800c14245aba3a8bc91f59efe27c1ba27c48525255b [INFO] running `Command { std: "docker" "start" "-a" "dabce6c26339b6ce85df5800c14245aba3a8bc91f59efe27c1ba27c48525255b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dabce6c26339b6ce85df5800c14245aba3a8bc91f59efe27c1ba27c48525255b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dabce6c26339b6ce85df5800c14245aba3a8bc91f59efe27c1ba27c48525255b", kill_on_drop: false }` [INFO] [stdout] dabce6c26339b6ce85df5800c14245aba3a8bc91f59efe27c1ba27c48525255b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 75630bd6c01a0dabc972c93c4d6619f68ec2e6b0a1f7c374b58c6f394069fd62 [INFO] running `Command { std: "docker" "start" "-a" "75630bd6c01a0dabc972c93c4d6619f68ec2e6b0a1f7c374b58c6f394069fd62", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling proc-macro2 v0.4.9 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling quote v0.6.4 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Compiling memchr v2.0.2 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling serde_codegen_internals v0.11.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling serde_codegen v0.8.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling pretty_assertions v0.2.1 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling uncover v0.1.1 [INFO] [stderr] Compiling serde_derive v0.8.23 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Compiling snapshot-proc-macro v0.1.0 (https://github.com/jacobgardner/snapshot-rs.git?branch=hjson#d3a9ccde) [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling snapshot v0.1.0 (https://github.com/jacobgardner/snapshot-rs.git?branch=hjson#d3a9ccde) [INFO] [stderr] Compiling failure v0.1.2 [INFO] [stderr] Compiling chess v0.1.0 (/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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BoardError` [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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [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: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [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/chess/piece_type.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PieceType` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/player.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Player` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/rank_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RankFile` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BoardError` [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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [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: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [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/chess/piece_type.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PieceType` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/player.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Player` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/rank_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RankFile` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.10.8, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "75630bd6c01a0dabc972c93c4d6619f68ec2e6b0a1f7c374b58c6f394069fd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75630bd6c01a0dabc972c93c4d6619f68ec2e6b0a1f7c374b58c6f394069fd62", kill_on_drop: false }` [INFO] [stdout] 75630bd6c01a0dabc972c93c4d6619f68ec2e6b0a1f7c374b58c6f394069fd62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b6966c1a728e8e6c4b2811428322c5d7796327bf5735dcb9ea27e4659642a341 [INFO] running `Command { std: "docker" "start" "-a" "b6966c1a728e8e6c4b2811428322c5d7796327bf5735dcb9ea27e4659642a341", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling pest v1.0.6 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling thread-scoped v1.0.2 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling criterion-stats v0.2.5 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling simplelog v0.5.3 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling criterion-plot v0.2.5 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BoardError` [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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [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: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [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/chess/piece_type.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PieceType` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/player.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Player` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/rank_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RankFile` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BoardError` [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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [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: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [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/chess/piece_type.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PieceType` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/player.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Player` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/rank_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RankFile` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_derive v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling csv v1.0.2 [INFO] [stderr] Compiling handlebars v0.32.4 [INFO] [stderr] Compiling criterion v0.2.5 [INFO] [stderr] Compiling chess v0.1.0 (/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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BoardError` [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/chess/errors.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | `BoardError` is not local [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [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: panic message is not a string literal [INFO] [stdout] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stdout] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stdout] | [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/chess/piece_type.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `PieceType` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/player.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Player` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/rank_file.rs:8:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `RankFile` is not local [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, syn v0.10.8, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "b6966c1a728e8e6c4b2811428322c5d7796327bf5735dcb9ea27e4659642a341", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6966c1a728e8e6c4b2811428322c5d7796327bf5735dcb9ea27e4659642a341", kill_on_drop: false }` [INFO] [stdout] b6966c1a728e8e6c4b2811428322c5d7796327bf5735dcb9ea27e4659642a341 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b5ac7f087f71df4989191065574970a1fc05ded408ed6bda3daaba7a47ed46ba [INFO] running `Command { std: "docker" "start" "-a" "b5ac7f087f71df4989191065574970a1fc05ded408ed6bda3daaba7a47ed46ba", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `lib` target `lib` [INFO] [stderr] * `bin` target `chess_ai` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/chess/errors.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | `BoardError` is not local [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BoardError` [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/chess/errors.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug, Fail, PartialEq)] [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | `BoardError` is not local [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BoardError` [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: panic message is not a string literal [INFO] [stderr] --> src/chess/move_generator/sanity_checks.rs:31:17 [INFO] [stderr] | [INFO] [stderr] 31 | ... format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 - format!("Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask) [INFO] [stderr] 31 + "Capture Invariant Invalidated: Capture move made on space not-occupied by opponent:\n{}\n{:?}", board, capture_mask [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/chess/piece_type.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq, FromPrimitive, Clone, Copy)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `PieceType` is not local [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_PieceType` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/player.rs:1:28 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, PartialEq, FromPrimitive, Copy, Clone)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Player` is not local [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_Player` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (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/chess/rank_file.rs:8:41 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(PartialEq, Clone, Copy, Debug, FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `RankFile` is not local [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FROM_PRIMITIVE_FOR_RankFile` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `chess` (lib) generated 6 warnings (run `cargo fix --lib -p chess` to apply 1 suggestion) [INFO] [stderr] warning: `chess` (bin "chess_ai") generated 6 warnings (6 duplicates) [INFO] [stderr] warning: `chess` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.5, syn v0.10.8, syn v0.14.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lib-f8cef83cb1586e99) [INFO] [stdout] [INFO] [stdout] running 51 tests [INFO] [stdout] test chess::bitboard::tests::test_addassign ... ok [INFO] [stdout] test chess::bitboard::tests::test_count_left_spaces_inclusive ... ok [INFO] [stdout] test chess::bitboard::tests::test_count_pieces ... ok [INFO] [stdout] test chess::bitboard::tests::test_flip_antidiagonal ... ok [INFO] [stdout] test chess::bitboard::tests::test_flip_diagonal ... ok [INFO] [stdout] test chess::bitboard::tests::test_flip_horizontal ... ok [INFO] [stdout] test chess::bitboard::tests::test_flip_vertical ... ok [INFO] [stdout] test chess::bitboard::tests::test_horizontal_slides ... ok [INFO] [stdout] test chess::bitboard::tests::test_intersect ... ok [INFO] [stdout] test chess::bitboard::tests::test_inverse ... ok [INFO] [stdout] test chess::bitboard::tests::test_join ... ok [INFO] [stdout] test chess::bitboard::tests::test_rotate_180 ... ok [INFO] [stdout] test chess::bitboard::tests::test_rotate_90ccw ... ok [INFO] [stdout] test chess::bitboard::tests::test_rotate_90cw ... ok [INFO] [stdout] test chess::bitboard::tests::test_shift_down ... ok [INFO] [stdout] test chess::bitboard::tests::test_shift_left ... ok [INFO] [stdout] test chess::bitboard::tests::test_shift_right ... ok [INFO] [stdout] test chess::bitboard::tests::test_fill_spaces ... ok [INFO] [stdout] test chess::bitposition::tests::test_is_leftmost ... ok [INFO] [stdout] test chess::bitboard::tests::test_empty ... ok [INFO] [stdout] test chess::bitboard::tests::test_shift_up ... ok [INFO] [stdout] test chess::bitboard::tests::test_sub ... ok [INFO] [stdout] test chess::bitposition::tests::test_is_rightmost ... ok [INFO] [stdout] test chess::bitboard::tests::test_subassign ... ok [INFO] [stdout] test chess::bitposition::tests::test_shift ... ok [INFO] [stdout] test chess::board::attacks::tests::test_black_pawn_attacks ... ok [INFO] [stdout] test chess::board::attacks::tests::test_knight_attacks ... ok [INFO] [stdout] test chess::board::attacks::tests::test_bishop_attacks ... ok [INFO] [stdout] test chess::bitposition::tests::test_rotate_90cw ... ok [INFO] [stdout] test chess::bitboard::tests::test_count_right_spaces_inclusive ... ok [INFO] [stdout] test chess::bitboard::tests::test_add ... ok [INFO] [stdout] test chess::board::attacks::tests::test_rook_attacks ... ok [INFO] [stdout] test chess::board::attacks::tests::test_white_pawn_attacks ... ok [INFO] [stdout] test chess::board::pawn::tests::test_captures_black ... ok [INFO] [stdout] test chess::board::pawn::tests::test_captures_white ... ok [INFO] [stdout] test chess::board::pawn::tests::test_diagonals_black ... ok [INFO] [stdout] test chess::board::pawn::tests::test_diagonals_white ... ok [INFO] [stdout] test chess::board::pawn::tests::test_double_moves_black ... ok [INFO] [stdout] test chess::board::pawn::tests::test_double_moves_white ... ok [INFO] [stdout] test chess::board::pawn::tests::test_en_passant_black ... ok [INFO] [stdout] test chess::board::pawn::tests::test_en_passant_white ... ok [INFO] [stdout] test chess::board::pawn::tests::test_single_moves_black ... ok [INFO] [stdout] test chess::board::tests::test_board_from_str ... ok [INFO] [stdout] test chess::piece::test_to_piece_owner ... ok [INFO] [stdout] test chess::piece_type::test_piece_from_str ... ok [INFO] [stdout] test chess::player::test_player_from_str ... ok [INFO] [stdout] test chess::rank_file::tests::test_file ... ok [INFO] [stdout] test chess::rank_file::tests::test_rank ... ok [INFO] [stdout] test chess::board::tests::test_piece_at ... ok [INFO] [stdout] test chess::board::pawn::tests::test_single_moves_white ... ok [INFO] [stdout] test chess::bitposition::tests::test_shift_bounds ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 51 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stderr] Running tests/bishop_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bishop_move_generation-a98ca2479c27de23) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_generate_white_bishop_moves ... ok [INFO] [stdout] test test_generate_black_bishop_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/castling_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/castling_move_generation-512386dc15688d5a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_generate_castling_from_check_w ... ok [INFO] [stdout] test test_generate_castling_through_check_w ... ok [INFO] [stdout] test test_generate_castling_through_check_b ... ok [INFO] [stdout] test test_generate_castling_from_check_b ... ok [INFO] [stdout] test test_generate_castling_obstructed_w ... ok [INFO] [stdout] test test_generate_castling_unobstructed_b ... ok [INFO] [stdout] test test_generate_castling_unobstructed_w ... ok [INFO] [stderr] Running tests/default_board_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/default_board_generation-83b85ee3624a52fd) [INFO] [stdout] test test_generate_castling_obstructed_b ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_generate_black_default_moves ... ok [INFO] [stderr] Running tests/king_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/king_move_generation-450ed00cf11a6585) [INFO] [stdout] test test_generate_white_default_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_generate_black_king_moves ... ok [INFO] [stdout] test test_generate_white_king_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/knight_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/knight_move_generation-21ca8b3931ed2625) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_generate_black_knight_moves ... ok [INFO] [stdout] test test_generate_white_knight_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/pawn_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/pawn_move_generation-375e6451a4196f15) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_generate_black_pawn_moves ... ok [INFO] [stderr] Running tests/queen_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/queen_move_generation-f3b92af11d290e35) [INFO] [stdout] test test_generate_white_pawn_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_generate_white_queen_moves ... ok [INFO] [stdout] test test_generate_black_queen_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/rook_move_generation.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rook_move_generation-7aa852e8d8bb4533) [INFO] [stdout] test test_generate_black_rook_moves ... ok [INFO] [stdout] test test_generate_white_rook_moves ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b5ac7f087f71df4989191065574970a1fc05ded408ed6bda3daaba7a47ed46ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5ac7f087f71df4989191065574970a1fc05ded408ed6bda3daaba7a47ed46ba", kill_on_drop: false }` [INFO] [stdout] b5ac7f087f71df4989191065574970a1fc05ded408ed6bda3daaba7a47ed46ba