[INFO] cloning repository https://github.com/spagovir/omega-go [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spagovir/omega-go" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspagovir%2Fomega-go", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspagovir%2Fomega-go'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd6866b45289a8a4c58a1caf5d41f55778ca791e [INFO] checking spagovir/omega-go against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspagovir%2Fomega-go" "/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/spagovir/omega-go [INFO] finished tweaking git repo https://github.com/spagovir/omega-go [INFO] tweaked toml for git repo https://github.com/spagovir/omega-go written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spagovir/omega-go on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spagovir/omega-go 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a95fe546d897f1ead6070a4cc69ea900ba07196364e3125a8d64f76bc59b4bc9 [INFO] running `Command { std: "docker" "start" "-a" "a95fe546d897f1ead6070a4cc69ea900ba07196364e3125a8d64f76bc59b4bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a95fe546d897f1ead6070a4cc69ea900ba07196364e3125a8d64f76bc59b4bc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a95fe546d897f1ead6070a4cc69ea900ba07196364e3125a8d64f76bc59b4bc9", kill_on_drop: false }` [INFO] [stdout] a95fe546d897f1ead6070a4cc69ea900ba07196364e3125a8d64f76bc59b4bc9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d89d1b1e7290d9555d56f276086a634b73a4228a59846a8f386ff1952101c89d [INFO] running `Command { std: "docker" "start" "-a" "d89d1b1e7290d9555d56f276086a634b73a4228a59846a8f386ff1952101c89d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Checking num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking omega-go v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `num_derive::FromPrimitive` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_derive::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_derive::ToPrimitive` [INFO] [stdout] --> src/board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_derive::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Flatten` [INFO] [stdout] --> src/board/ko.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Flatten; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/board/ko.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board/ko.rs:32:86 [INFO] [stdout] | [INFO] [stdout] 32 | lookUpAndAddR(koTrie, &(&board.tiles).into_iter().map(|row| FiveRowAnnotate(*row,(board.rows * 2))).flatten()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - lookUpAndAddR(koTrie, &(&board.tiles).into_iter().map(|row| FiveRowAnnotate(*row,(board.rows * 2))).flatten()) [INFO] [stdout] 32 + lookUpAndAddR(koTrie, &(&board.tiles).into_iter().map(|row| FiveRowAnnotate(*row,board.rows * 2)).flatten()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/board.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::ToPrimitive` [INFO] [stdout] --> src/board.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `koTrie` [INFO] [stdout] --> src/board/ko.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_koTrie` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boardIter` [INFO] [stdout] --> src/board/ko.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boardIter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ko` and `pass` are never read [INFO] [stdout] --> src/board.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | ko : Option, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | player : Player, [INFO] [stdout] 58 | pass : bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `depth`, `key`, and `children` are never read [INFO] [stdout] --> src/board/ko.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct KoTrie { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | depth : u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | key : usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | children : Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIVE_MASK` is never used [INFO] [stdout] --> src/board/ko.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const FIVE_MASK:u64 = 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiveRowAnnotate` is never constructed [INFO] [stdout] --> src/board/ko.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct FiveRowAnnotate(board::Row,u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAddR` is never used [INFO] [stdout] --> src/board/ko.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAdd` is never used [INFO] [stdout] --> src/board/ko.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lookUpAndAdd(koTrie:Option, board:&board::Board) -> (Option, bool) { [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/board.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive,Copy,Clone)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tile` [INFO] [stdout] 10 | pub enum Tile { [INFO] [stdout] | ---- `Tile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 `num_derive::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/board.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive,Copy,Clone)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Tile` [INFO] [stdout] 10 | pub enum Tile { [INFO] [stdout] | ---- `Tile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 `num_derive::ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAddR` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_up_and_add_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `koTrie` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ko_trie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardIter` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `board_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAdd` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lookUpAndAdd(koTrie:Option, board:&board::Board) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `look_up_and_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `koTrie` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lookUpAndAdd(koTrie:Option, board:&board::Board) -> (Option, bool) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ko_trie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_derive::FromPrimitive` [INFO] [stdout] --> src/board.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use num_derive::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_derive::ToPrimitive` [INFO] [stdout] --> src/board.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num_derive::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Flatten` [INFO] [stdout] --> src/board/ko.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::iter::Flatten; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/board/ko.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/board/ko.rs:32:86 [INFO] [stdout] | [INFO] [stdout] 32 | lookUpAndAddR(koTrie, &(&board.tiles).into_iter().map(|row| FiveRowAnnotate(*row,(board.rows * 2))).flatten()) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - lookUpAndAddR(koTrie, &(&board.tiles).into_iter().map(|row| FiveRowAnnotate(*row,(board.rows * 2))).flatten()) [INFO] [stdout] 32 + lookUpAndAddR(koTrie, &(&board.tiles).into_iter().map(|row| FiveRowAnnotate(*row,board.rows * 2)).flatten()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::FromPrimitive` [INFO] [stdout] --> src/board.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num_traits::FromPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::ToPrimitive` [INFO] [stdout] --> src/board.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use num_traits::ToPrimitive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `koTrie` [INFO] [stdout] --> src/board/ko.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_koTrie` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boardIter` [INFO] [stdout] --> src/board/ko.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_boardIter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ko` and `pass` are never read [INFO] [stdout] --> src/board.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct Board { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 56 | ko : Option, [INFO] [stdout] | ^^ [INFO] [stdout] 57 | player : Player, [INFO] [stdout] 58 | pass : bool, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `depth`, `key`, and `children` are never read [INFO] [stdout] --> src/board/ko.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct KoTrie { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | depth : u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 7 | key : usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | children : Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FIVE_MASK` is never used [INFO] [stdout] --> src/board/ko.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const FIVE_MASK:u64 = 31; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FiveRowAnnotate` is never constructed [INFO] [stdout] --> src/board/ko.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct FiveRowAnnotate(board::Row,u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAddR` is never used [INFO] [stdout] --> src/board/ko.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAdd` is never used [INFO] [stdout] --> src/board/ko.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lookUpAndAdd(koTrie:Option, board:&board::Board) -> (Option, bool) { [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/board.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive,Copy,Clone)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tile` [INFO] [stdout] 10 | pub enum Tile { [INFO] [stdout] | ---- `Tile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 `num_derive::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/board.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive,Copy,Clone)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Tile` [INFO] [stdout] 10 | pub enum Tile { [INFO] [stdout] | ---- `Tile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 `num_derive::ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAddR` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `look_up_and_add_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `koTrie` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ko_trie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `boardIter` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn lookUpAndAddR(koTrie:Option, boardIter:&impl Iterator) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `board_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lookUpAndAdd` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lookUpAndAdd(koTrie:Option, board:&board::Board) -> (Option, bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `look_up_and_add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `koTrie` should have a snake case name [INFO] [stdout] --> src/board/ko.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn lookUpAndAdd(koTrie:Option, board:&board::Board) -> (Option, bool) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ko_trie` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `Command { std: "docker" "inspect" "d89d1b1e7290d9555d56f276086a634b73a4228a59846a8f386ff1952101c89d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89d1b1e7290d9555d56f276086a634b73a4228a59846a8f386ff1952101c89d", kill_on_drop: false }` [INFO] [stdout] d89d1b1e7290d9555d56f276086a634b73a4228a59846a8f386ff1952101c89d