[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#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHolten%2FGridentify" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LHolten/Gridentify on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-9/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-derive-backend v0.8.5 [INFO] [stderr] Downloaded evmap v6.0.1 [INFO] [stderr] Downloaded nonzero_ext v0.1.5 [INFO] [stderr] Downloaded pyo3cls v0.8.5 [INFO] [stderr] Downloaded pyo3 v0.8.5 [INFO] [stderr] Downloaded ratelimit_meter v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", 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] 400096e70b6bfb29b618980793ee73bac5dbcf95b6611797f0ad74094ff71a2e [INFO] running `Command { std: "docker" "start" "-a" "400096e70b6bfb29b618980793ee73bac5dbcf95b6611797f0ad74094ff71a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "400096e70b6bfb29b618980793ee73bac5dbcf95b6611797f0ad74094ff71a2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "400096e70b6bfb29b618980793ee73bac5dbcf95b6611797f0ad74094ff71a2e", kill_on_drop: false }` [INFO] [stdout] 400096e70b6bfb29b618980793ee73bac5dbcf95b6611797f0ad74094ff71a2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d85ebf1d3464711a5d9e6893aa6a1c8d35d65eaa1ba1dae7dc9e478ab803e722 [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" "d85ebf1d3464711a5d9e6893aa6a1c8d35d65eaa1ba1dae7dc9e478ab803e722", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [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] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking nonzero_ext v0.1.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking array-init v0.1.1 [INFO] [stderr] Checking simple-error v0.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking evmap v6.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking ratelimit_meter v5.0.0 [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 url v2.1.1 [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 inventory-impl v0.1.6 [INFO] [stderr] Compiling ctor v0.1.14 [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] Compiling pyo3cls v0.8.5 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking indoc v0.3.5 [INFO] [stderr] Checking inventory v0.1.6 [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: `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::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: `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: 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: 11 warnings emitted [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: 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 type 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 type or module `action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type 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] 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] 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: 18 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: 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 type 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 type or module `action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type 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 type or module `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 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: 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[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] [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "d85ebf1d3464711a5d9e6893aa6a1c8d35d65eaa1ba1dae7dc9e478ab803e722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d85ebf1d3464711a5d9e6893aa6a1c8d35d65eaa1ba1dae7dc9e478ab803e722", kill_on_drop: false }` [INFO] [stdout] d85ebf1d3464711a5d9e6893aa6a1c8d35d65eaa1ba1dae7dc9e478ab803e722