[INFO] cloning repository https://github.com/LHolten/Gridentify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LHolten/Gridentify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHolten%2FGridentify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHolten%2FGridentify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c86d81800b804bc6c4808c5b0dc1a4601edd9f2e [INFO] checking LHolten/Gridentify against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHolten%2FGridentify" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LHolten/Gridentify on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LHolten/Gridentify [INFO] finished tweaking git repo https://github.com/LHolten/Gridentify [INFO] tweaked toml for git repo https://github.com/LHolten/Gridentify written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/LHolten/Gridentify already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dict_derive v0.2.0 [INFO] [stderr] Downloaded pyo3-derive-backend v0.8.5 [INFO] [stderr] Downloaded array-init v0.1.1 [INFO] [stderr] Downloaded paste-impl v0.1.12 [INFO] [stderr] Downloaded paste v0.1.12 [INFO] [stderr] Downloaded nonzero_ext v0.1.5 [INFO] [stderr] Downloaded simple-error v0.2.1 [INFO] [stderr] Downloaded inventory-impl v0.1.6 [INFO] [stderr] Downloaded pyo3 v0.8.5 [INFO] [stderr] Downloaded indoc-impl v0.3.5 [INFO] [stderr] Downloaded ratelimit_meter v5.0.0 [INFO] [stderr] Downloaded pyo3cls v0.8.5 [INFO] [stderr] Downloaded inventory v0.1.6 [INFO] [stderr] Downloaded evmap v6.0.1 [INFO] [stderr] Downloaded indoc v0.3.5 [INFO] [stderr] Downloaded unindent v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eaa033967f2c865fb2f0ff147a1aafa8d85b978143bba82dd9eb5a4b074deec3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "eaa033967f2c865fb2f0ff147a1aafa8d85b978143bba82dd9eb5a4b074deec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eaa033967f2c865fb2f0ff147a1aafa8d85b978143bba82dd9eb5a4b074deec3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eaa033967f2c865fb2f0ff147a1aafa8d85b978143bba82dd9eb5a4b074deec3", kill_on_drop: false }` [INFO] [stdout] eaa033967f2c865fb2f0ff147a1aafa8d85b978143bba82dd9eb5a4b074deec3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a0d03483ca41b130bf6f0395366f25f03cfb84c59478cc7a19cbbd8e82bb059f [INFO] running `Command { std: "docker" "start" "-a" "a0d03483ca41b130bf6f0395366f25f03cfb84c59478cc7a19cbbd8e82bb059f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling inventory v0.1.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking nonzero_ext v0.1.5 [INFO] [stderr] Checking simple-error v0.2.1 [INFO] [stderr] Checking array-init v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking evmap v6.0.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking ratelimit_meter v5.0.0 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Compiling pyo3-derive-backend v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling ctor v0.1.14 [INFO] [stderr] Compiling inventory-impl v0.1.6 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling ghost v0.1.1 [INFO] [stderr] Compiling indoc-impl v0.3.5 [INFO] [stderr] Compiling dict_derive v0.2.0 [INFO] [stderr] Checking indoc v0.3.5 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Compiling pyo3cls v0.8.5 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling pyo3 v0.8.5 [INFO] [stderr] Checking gridentify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lib::client::Client` [INFO] [stdout] --> src/bot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lib::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/bot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lib::client::Client` [INFO] [stdout] --> src/bot.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use lib::client::Client; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/bot.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_to_string` [INFO] [stdout] --> src/bot.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs::read_to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::action` [INFO] [stdout] --> src/py_lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::action::Action; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::lib::action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::client` [INFO] [stdout] --> src/py_lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::client::Client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `tungstenite::client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::high_score` [INFO] [stdout] --> src/py_lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::high_score::HighScore; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::lib::high_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::local` [INFO] [stdout] --> src/py_lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::local::Local; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::lib::local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `action` [INFO] [stdout] --> src/py_lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | action::show_action(action.as_slice()); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_action` [INFO] [stdout] --> src/lib/action.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn show_action(action: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/lib/client.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(host: &str, nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/lib/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_scores` [INFO] [stdout] --> src/lib/client.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn get_scores(host: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_actions` [INFO] [stdout] --> src/lib/state.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn valid_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_extensions` [INFO] [stdout] --> src/lib/state.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn find_extensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_neighbours` [INFO] [stdout] --> src/lib/state.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn get_neighbours(&self) -> [Vec; 25] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_board` [INFO] [stdout] --> src/lib/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn show_board(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_states` [INFO] [stdout] --> src/lib/state.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn next_states(&self, action: &Action) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `other_states` [INFO] [stdout] --> src/lib/state.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | fn other_states(mut state: State, wildcards: &[usize]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> src/py_lib.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(client::get_scores(host)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::action` [INFO] [stdout] --> src/py_lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::action::Action; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::lib::action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::client` [INFO] [stdout] --> src/py_lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::client::Client; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `tungstenite::client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::high_score` [INFO] [stdout] --> src/py_lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::high_score::HighScore; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::lib::high_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::local` [INFO] [stdout] --> src/py_lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::local::Local; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `crate::lib::local` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_action` [INFO] [stdout] --> src/lib/action.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn show_action(action: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/lib/client.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(host: &str, nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/lib/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_scores` [INFO] [stdout] --> src/lib/client.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn get_scores(host: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_database` [INFO] [stdout] --> src/lib/database.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_database() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_high_score` [INFO] [stdout] --> src/lib/database.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn insert_high_score(score: HighScore) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_high_scores` [INFO] [stdout] --> src/lib/database.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn get_high_scores() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_connection_score` [INFO] [stdout] --> src/lib/server.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn handle_connection_score(mut stream: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_connection_game` [INFO] [stdout] --> src/lib/server.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn handle_connection_game(mut stream: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `web_socket_wrapper` [INFO] [stdout] --> src/lib/server.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn web_socket_wrapper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `listen_port` [INFO] [stdout] --> src/lib/server.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn listen_port( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ActionValidation` [INFO] [stdout] --> src/lib/state.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ActionValidation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_action` [INFO] [stdout] --> src/lib/state.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn validate_action(&self, action: &[usize]) -> Result<(), ActionValidation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_game_over` [INFO] [stdout] --> src/lib/state.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `action` [INFO] [stdout] --> src/py_lib.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | action::show_action(action.as_slice()); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `client` [INFO] [stdout] --> src/py_lib.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | Ok(client::get_scores(host)) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_action` [INFO] [stdout] --> src/lib/action.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn show_action(action: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/lib/client.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(host: &str, nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/lib/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_scores` [INFO] [stdout] --> src/lib/client.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn get_scores(host: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `valid_actions` [INFO] [stdout] --> src/lib/state.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn valid_actions(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_extensions` [INFO] [stdout] --> src/lib/state.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | fn find_extensions( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_neighbours` [INFO] [stdout] --> src/lib/state.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) fn get_neighbours(&self) -> [Vec; 25] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `show_board` [INFO] [stdout] --> src/lib/state.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn show_board(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_states` [INFO] [stdout] --> src/lib/state.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn next_states(&self, action: &Action) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `other_states` [INFO] [stdout] --> src/lib/state.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | fn other_states(mut state: State, wildcards: &[usize]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `show_action` [INFO] [stdout] --> src/lib/action.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn show_action(action: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Client` [INFO] [stdout] --> src/lib/client.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Client { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib/client.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(host: &str, nickname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/lib/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn make_move(&mut self, action: Action) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_scores` [INFO] [stdout] --> src/lib/client.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 35 | pub(crate) fn get_scores(host: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_database` [INFO] [stdout] --> src/lib/database.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn create_database() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `insert_high_score` [INFO] [stdout] --> src/lib/database.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub(crate) fn insert_high_score(score: HighScore) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_high_scores` [INFO] [stdout] --> src/lib/database.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub(crate) fn get_high_scores() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_connection_score` [INFO] [stdout] --> src/lib/server.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn handle_connection_score(mut stream: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `handle_connection_game` [INFO] [stdout] --> src/lib/server.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn handle_connection_game(mut stream: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `web_socket_wrapper` [INFO] [stdout] --> src/lib/server.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn web_socket_wrapper( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `listen_port` [INFO] [stdout] --> src/lib/server.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn listen_port( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ActionValidation` [INFO] [stdout] --> src/lib/state.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ActionValidation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `validate_action` [INFO] [stdout] --> src/lib/state.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | pub(crate) fn validate_action(&self, action: &[usize]) -> Result<(), ActionValidation> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_game_over` [INFO] [stdout] --> src/lib/state.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | pub(crate) fn is_game_over(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): pyo3::FromPyObject<'_>` is not satisfied [INFO] [stdout] --> src/py_lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | #[pymodule] [INFO] [stdout] | ^^^^^^^^^^^ the trait `pyo3::FromPyObject<'_>` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): pyo3::FromPyObject<'_>` is not satisfied [INFO] [stdout] --> src/py_lib.rs:115:1 [INFO] [stdout] | [INFO] [stdout] 115 | #[pymodule] [INFO] [stdout] | ^^^^^^^^^^^ the trait `pyo3::FromPyObject<'_>` is not implemented for `()` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gridentify` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0d03483ca41b130bf6f0395366f25f03cfb84c59478cc7a19cbbd8e82bb059f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d03483ca41b130bf6f0395366f25f03cfb84c59478cc7a19cbbd8e82bb059f", kill_on_drop: false }` [INFO] [stdout] a0d03483ca41b130bf6f0395366f25f03cfb84c59478cc7a19cbbd8e82bb059f