[INFO] cloning repository https://github.com/juschei/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juschei/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuschei%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuschei%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76ed5f8a98a8c34b30ec9c2ea951143eb63c619d [INFO] testing juschei/rust-chess against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuschei%2Frust-chess" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/juschei/rust-chess [INFO] finished tweaking git repo https://github.com/juschei/rust-chess [INFO] tweaked toml for git repo https://github.com/juschei/rust-chess written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/juschei/rust-chess on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/juschei/rust-chess 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79615e5ffffb545be994afb4742b4e877ae4c2eb2a14e06eaad6965de5d84d60 [INFO] running `Command { std: "docker" "start" "-a" "79615e5ffffb545be994afb4742b4e877ae4c2eb2a14e06eaad6965de5d84d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79615e5ffffb545be994afb4742b4e877ae4c2eb2a14e06eaad6965de5d84d60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79615e5ffffb545be994afb4742b4e877ae4c2eb2a14e06eaad6965de5d84d60", kill_on_drop: false }` [INFO] [stdout] 79615e5ffffb545be994afb4742b4e877ae4c2eb2a14e06eaad6965de5d84d60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 514e2d4dc85b356a0b89d0297be0900410c5add50b6fce007707e0abdbe3fa28 [INFO] running `Command { std: "docker" "start" "-a" "514e2d4dc85b356a0b89d0297be0900410c5add50b6fce007707e0abdbe3fa28", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling ChessEngine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `pv_moves` is assigned to, but never used [INFO] [stdout] --> src/search.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut pv_moves: usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pv_moves` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pv_moves` is never read [INFO] [stdout] --> src/search.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | pv_moves = get_pv_line(board, current_depth); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inc` is assigned to, but never used [INFO] [stdout] --> src/uci.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut inc: u128 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_inc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `inc` is never read [INFO] [stdout] --> src/uci.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | inc = num.0.unwrap() as u128; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `inc` is never read [INFO] [stdout] --> src/uci.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | inc = num.0.unwrap() as u128; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/structs.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pieces` [INFO] [stdout] 14 | pub enum Pieces { [INFO] [stdout] | ------ `Pieces` is not local [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: `#[warn(non_local_definitions)]` on by default [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: unused return value of `stdin` that must be used [INFO] [stdout] --> src/perft.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | stdin(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = stdin(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `stdin` that must be used [INFO] [stdout] --> src/perft.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | stdin(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = stdin(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.17s [INFO] running `Command { std: "docker" "inspect" "514e2d4dc85b356a0b89d0297be0900410c5add50b6fce007707e0abdbe3fa28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "514e2d4dc85b356a0b89d0297be0900410c5add50b6fce007707e0abdbe3fa28", kill_on_drop: false }` [INFO] [stdout] 514e2d4dc85b356a0b89d0297be0900410c5add50b6fce007707e0abdbe3fa28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bac0df4aae2c00f0957b41c623b8e5efee0af26ec160d45485f7ef1c747b9a74 [INFO] running `Command { std: "docker" "start" "-a" "bac0df4aae2c00f0957b41c623b8e5efee0af26ec160d45485f7ef1c747b9a74", kill_on_drop: false }` [INFO] [stderr] Compiling ChessEngine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `pv_moves` is assigned to, but never used [INFO] [stdout] --> src/search.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | let mut pv_moves: usize; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pv_moves` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `pv_moves` is never read [INFO] [stdout] --> src/search.rs:361:13 [INFO] [stdout] | [INFO] [stdout] 361 | pv_moves = get_pv_line(board, current_depth); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inc` is assigned to, but never used [INFO] [stdout] --> src/uci.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | let mut inc: u128 = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_inc` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `inc` is never read [INFO] [stdout] --> src/uci.rs:272:13 [INFO] [stdout] | [INFO] [stdout] 272 | inc = num.0.unwrap() as u128; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `inc` is never read [INFO] [stdout] --> src/uci.rs:293:13 [INFO] [stdout] | [INFO] [stdout] 293 | inc = num.0.unwrap() as u128; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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/structs.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pieces` [INFO] [stdout] 14 | pub enum Pieces { [INFO] [stdout] | ------ `Pieces` is not local [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: `#[warn(non_local_definitions)]` on by default [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: unused return value of `stdin` that must be used [INFO] [stdout] --> src/perft.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | stdin(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = stdin(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `stdin` that must be used [INFO] [stdout] --> src/perft.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | stdin(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = stdin(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.86s [INFO] running `Command { std: "docker" "inspect" "bac0df4aae2c00f0957b41c623b8e5efee0af26ec160d45485f7ef1c747b9a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bac0df4aae2c00f0957b41c623b8e5efee0af26ec160d45485f7ef1c747b9a74", kill_on_drop: false }` [INFO] [stdout] bac0df4aae2c00f0957b41c623b8e5efee0af26ec160d45485f7ef1c747b9a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ce6075e24a261faf94946cafe9780eb94c66a4b6e8bcf8af07526987e6435e3 [INFO] running `Command { std: "docker" "start" "-a" "1ce6075e24a261faf94946cafe9780eb94c66a4b6e8bcf8af07526987e6435e3", kill_on_drop: false }` [INFO] [stderr] warning: variable `pv_moves` is assigned to, but never used [INFO] [stderr] --> src/search.rs:332:13 [INFO] [stderr] | [INFO] [stderr] 332 | let mut pv_moves: usize; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_pv_moves` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `pv_moves` is never read [INFO] [stderr] --> src/search.rs:361:13 [INFO] [stderr] | [INFO] [stderr] 361 | pv_moves = get_pv_line(board, current_depth); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable `inc` is assigned to, but never used [INFO] [stderr] --> src/uci.rs:198:13 [INFO] [stderr] | [INFO] [stderr] 198 | let mut inc: u128 = 0; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_inc` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `inc` is never read [INFO] [stderr] --> src/uci.rs:272:13 [INFO] [stderr] | [INFO] [stderr] 272 | inc = num.0.unwrap() as u128; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `inc` is never read [INFO] [stderr] --> src/uci.rs:293:13 [INFO] [stderr] | [INFO] [stderr] 293 | inc = num.0.unwrap() as u128; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/structs.rs:13:38 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(PartialEq, Eq, Copy, Clone, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Pieces` [INFO] [stderr] 14 | pub enum Pieces { [INFO] [stderr] | ------ `Pieces` is not local [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: `#[warn(non_local_definitions)]` on by default [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: unused return value of `stdin` that must be used [INFO] [stderr] --> src/perft.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 42 | stdin(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 42 | let _ = stdin(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `stdin` that must be used [INFO] [stderr] --> src/perft.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | stdin(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 49 | let _ = stdin(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `ChessEngine` (bin "ChessEngine" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ChessEngine-2bc9e34b41895e18) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ce6075e24a261faf94946cafe9780eb94c66a4b6e8bcf8af07526987e6435e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ce6075e24a261faf94946cafe9780eb94c66a4b6e8bcf8af07526987e6435e3", kill_on_drop: false }` [INFO] [stdout] 1ce6075e24a261faf94946cafe9780eb94c66a4b6e8bcf8af07526987e6435e3