[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLHolten%2FGridentify" "/workspace/builds/worker-40/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-40/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LHolten/Gridentify on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-40/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array-init v0.1.1 [INFO] [stderr] Downloaded indoc-impl v0.3.5 [INFO] [stderr] Downloaded security-framework-sys v0.3.3 [INFO] [stderr] Downloaded dict_derive v0.2.0 [INFO] [stderr] Downloaded simple-error v0.2.1 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded ctor v0.1.14 [INFO] [stderr] Downloaded inventory-impl v0.1.6 [INFO] [stderr] Downloaded security-framework v0.3.4 [INFO] [stderr] Downloaded paste-impl v0.1.12 [INFO] [stderr] Downloaded indoc v0.3.5 [INFO] [stderr] Downloaded inventory v0.1.6 [INFO] [stderr] Downloaded rusqlite v0.21.0 [INFO] [stderr] Downloaded nonzero_ext v0.1.5 [INFO] [stderr] Downloaded evmap v6.0.1 [INFO] [stderr] Downloaded ratelimit_meter v5.0.0 [INFO] [stderr] Downloaded openssl-sys v0.9.53 [INFO] [stderr] Downloaded pyo3cls v0.8.5 [INFO] [stderr] Downloaded openssl v0.10.26 [INFO] [stderr] Downloaded pyo3 v0.8.5 [INFO] [stderr] Downloaded ghost v0.1.1 [INFO] [stderr] Downloaded paste v0.1.12 [INFO] [stderr] Downloaded unindent v0.1.5 [INFO] [stderr] Downloaded libsqlite3-sys v0.17.1 [INFO] [stderr] Downloaded pyo3-derive-backend v0.8.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded unicode-normalization v0.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aef52b3d820ad82d6640e238ca9068f7def33b64f455bc9708b73a3c70143566 [INFO] running `Command { std: "docker" "start" "-a" "aef52b3d820ad82d6640e238ca9068f7def33b64f455bc9708b73a3c70143566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aef52b3d820ad82d6640e238ca9068f7def33b64f455bc9708b73a3c70143566", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aef52b3d820ad82d6640e238ca9068f7def33b64f455bc9708b73a3c70143566", kill_on_drop: false }` [INFO] [stdout] aef52b3d820ad82d6640e238ca9068f7def33b64f455bc9708b73a3c70143566 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-40/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef5de752d98b5a8b92407a2cec6776fa58d6f6f3aafe65137179bb1b357710e3 [INFO] running `Command { std: "docker" "start" "-a" "ef5de752d98b5a8b92407a2cec6776fa58d6f6f3aafe65137179bb1b357710e3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling inventory v0.1.6 [INFO] [stderr] Compiling unindent v0.1.5 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking nonzero_ext v0.1.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking array-init v0.1.1 [INFO] [stderr] Checking simple-error v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking evmap v6.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking generic-array v0.12.3 [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] Checking bytes v0.4.12 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking ratelimit_meter v5.0.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [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 ghost v0.1.1 [INFO] [stderr] Compiling indoc-impl v0.3.5 [INFO] [stderr] Compiling paste-impl v0.1.12 [INFO] [stderr] Compiling ctor v0.1.14 [INFO] [stderr] Compiling dict_derive v0.2.0 [INFO] [stderr] Compiling pyo3cls v0.8.5 [INFO] [stderr] Checking indoc v0.3.5 [INFO] [stderr] Checking paste v0.1.12 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Compiling pyo3 v0.8.5 [INFO] [stderr] Checking gridentify v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/bot.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/py_lib.rs from 2018 edition to 2021 [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] [stderr] Fixed src/bot.rs (3 fixes) [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: 15 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] 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] 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 the attribute macro `pymodule` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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 the attribute macro `pymodule` (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] 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ef5de752d98b5a8b92407a2cec6776fa58d6f6f3aafe65137179bb1b357710e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef5de752d98b5a8b92407a2cec6776fa58d6f6f3aafe65137179bb1b357710e3", kill_on_drop: false }` [INFO] [stdout] ef5de752d98b5a8b92407a2cec6776fa58d6f6f3aafe65137179bb1b357710e3