[INFO] cloning repository https://github.com/decaruju/lycan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/decaruju/lycan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecaruju%2Flycan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecaruju%2Flycan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bbcdd9f8f0e9ca1311904ff68d79fd1e8bca777 [INFO] checking decaruju/lycan against try#8ea250bdb76176ecb0225baa34aa634b024ae0e2 for pr-101692 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecaruju%2Flycan" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/decaruju/lycan on toolchain 8ea250bdb76176ecb0225baa34aa634b024ae0e2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/decaruju/lycan [INFO] finished tweaking git repo https://github.com/decaruju/lycan [INFO] tweaked toml for git repo https://github.com/decaruju/lycan written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/decaruju/lycan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 326f2726947c5a3fd43c3b1702ae9c63032ce7b58a46e8bb468f990a7e0681f1 [INFO] running `Command { std: "docker" "start" "-a" "326f2726947c5a3fd43c3b1702ae9c63032ce7b58a46e8bb468f990a7e0681f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "326f2726947c5a3fd43c3b1702ae9c63032ce7b58a46e8bb468f990a7e0681f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "326f2726947c5a3fd43c3b1702ae9c63032ce7b58a46e8bb468f990a7e0681f1", kill_on_drop: false }` [INFO] [stdout] 326f2726947c5a3fd43c3b1702ae9c63032ce7b58a46e8bb468f990a7e0681f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+8ea250bdb76176ecb0225baa34aa634b024ae0e2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e7e5daf00dea4891869673234838dd86836ee7257e8a3eabca266c42dcf4023 [INFO] running `Command { std: "docker" "start" "-a" "5e7e5daf00dea4891869673234838dd86836ee7257e8a3eabca266c42dcf4023", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sfml-build v0.3.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Compiling serde v1.0.107 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 [INFO] [stderr] Compiling csfml-window-sys v0.5.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking sfml v0.15.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.107 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling enum_dispatch v0.3.0 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking pin-project v0.4.13 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking lycan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/shared/gamestate.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 154 | x: u32, [INFO] [stdout] | ^ [INFO] [stdout] 155 | y: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/shared/gamestate.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 154 | x: u32, [INFO] [stdout] | ^ [INFO] [stdout] 155 | y: u32, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Position` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderTarget`, `SfBox` [INFO] [stdout] --> src/client/main.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | graphics::{Font, RenderWindow, RenderTarget}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | window::{ContextSettings, Style}, [INFO] [stdout] 8 | system::{SfBox} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RectangleShape` [INFO] [stdout] --> src/client/menu/label.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | RectangleShape, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SfBox` [INFO] [stdout] --> src/client/menu/text_field.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | system::{SfBox, Vector2, Vector2f, Vector2i}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `button::Button`, `menu::Menu`, `text_field::TextField` [INFO] [stdout] --> src/client/interfaces/waiting_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | menu::Menu, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | button::Button, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | text_field::TextField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderTarget`, `SfBox` [INFO] [stdout] --> src/client/main.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | graphics::{Font, RenderWindow, RenderTarget}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | window::{ContextSettings, Style}, [INFO] [stdout] 8 | system::{SfBox} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RectangleShape` [INFO] [stdout] --> src/client/menu/label.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | RectangleShape, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SfBox` [INFO] [stdout] --> src/client/menu/text_field.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | system::{SfBox, Vector2, Vector2f, Vector2i}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `button::Button`, `menu::Menu`, `text_field::TextField` [INFO] [stdout] --> src/client/interfaces/waiting_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | menu::Menu, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | button::Button, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | text_field::TextField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/server/main.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/server/main.rs:122:15: 122:96]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lycan` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/client/menu/label.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/client/displayer.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | _ => return, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/client_state.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | for (x, row) in &self.gamestate.map.rooms { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/client_state.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (y, room) in row { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/client/displayer.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | for (id, player) in gamestate.read().unwrap().get_players() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/game.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/game.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/client/game.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | window: &mut RenderWindow, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamestate` [INFO] [stdout] --> src/client/game.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | gamestate: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamestate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_sprite` [INFO] [stdout] --> src/client/game.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | wall_sprite: &Sprite, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/button.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | fn focus(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/label.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/text_field.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/client/menu/label.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/client/displayer.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | _ => return, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/client_state.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | for (x, row) in &self.gamestate.map.rooms { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/client_state.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (y, room) in row { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/client/displayer.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | for (id, player) in gamestate.read().unwrap().get_players() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/game.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/game.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/client/game.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | window: &mut RenderWindow, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamestate` [INFO] [stdout] --> src/client/game.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | gamestate: Arc>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamestate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_sprite` [INFO] [stdout] --> src/client/game.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | wall_sprite: &Sprite, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/button.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | fn focus(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/label.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/text_field.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0391]: cycle detected when type-checking `main` [INFO] [stdout] --> src/server/main.rs:125:38 [INFO] [stdout] | [INFO] [stdout] 125 | let server = Server::bind(&addr).serve(new_service); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ...which requires evaluating trait selection obligation `[generator interior@src/server/main.rs:122:15: 122:96]: core::marker::Send`... [INFO] [stdout] note: ...which requires generator glue MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires elaborating drops for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires borrow-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires processing MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires unsafety-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires building MIR for `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...which requires type-checking `main::{closure#0}::{closure#0}::{closure#0}`... [INFO] [stdout] --> src/server/main.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | async { Ok::<_, GenericError>(service_fn(move |req| router(req, Arc::clone(&state)))) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: ...which again requires type-checking `main`, completing the cycle [INFO] [stdout] = note: cycle used when type-checking all item bodies [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0391`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut gamestate: Arc> = Arc::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lycan` due to 2 previous errors [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/client/game.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/client/menu/text_field.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TextField<'a, T> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_bounds` is never used [INFO] [stdout] --> src/client/menu/text_field.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_bounds(&mut self) -> FloatRect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut gamestate: Arc> = Arc::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw` is never used [INFO] [stdout] --> src/client/game.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/client/menu/text_field.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct TextField<'a, T> { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_bounds` is never used [INFO] [stdout] --> src/client/menu/text_field.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_bounds(&mut self) -> FloatRect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e7e5daf00dea4891869673234838dd86836ee7257e8a3eabca266c42dcf4023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e7e5daf00dea4891869673234838dd86836ee7257e8a3eabca266c42dcf4023", kill_on_drop: false }` [INFO] [stdout] 5e7e5daf00dea4891869673234838dd86836ee7257e8a3eabca266c42dcf4023