[INFO] cloning repository https://github.com/Christian7573/glap-rs-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Christian7573/glap-rs-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChristian7573%2Fglap-rs-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChristian7573%2Fglap-rs-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74f3a24bdd4841d4c80f193485ad02c57c32436a [INFO] testing Christian7573/glap-rs-server against try#eafdee2dfae8c2233b74f98b123308be7ccefcc6 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChristian7573%2Fglap-rs-server" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Christian7573/glap-rs-server on toolchain eafdee2dfae8c2233b74f98b123308be7ccefcc6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Christian7573/glap-rs-server [INFO] finished tweaking git repo https://github.com/Christian7573/glap-rs-server [INFO] tweaked toml for git repo https://github.com/Christian7573/glap-rs-server written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Christian7573/glap-rs-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sluice v0.5.2 [INFO] [stderr] Downloaded slotmap v0.4.0 [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded byte-pool v0.2.2 [INFO] [stderr] Downloaded serde_qs v0.6.1 [INFO] [stderr] Downloaded simba v0.2.0 [INFO] [stderr] Downloaded event-listener v2.3.0 [INFO] [stderr] Downloaded hkdf v0.9.0 [INFO] [stderr] Downloaded blocking v0.4.7 [INFO] [stderr] Downloaded async-h1 v2.1.2 [INFO] [stderr] Downloaded futures-lite v0.1.10 [INFO] [stderr] Downloaded concurrent-queue v1.2.0 [INFO] [stderr] Downloaded polyval v0.4.0 [INFO] [stderr] Downloaded block-cipher v0.7.1 [INFO] [stderr] Downloaded curl v0.4.33 [INFO] [stderr] Downloaded ghash v0.3.0 [INFO] [stderr] Downloaded aead v0.3.2 [INFO] [stderr] Downloaded aes-soft v0.4.0 [INFO] [stderr] Downloaded nphysics2d v0.17.0 [INFO] [stderr] Downloaded isahc v0.9.8 [INFO] [stderr] Downloaded aes-gcm v0.6.0 [INFO] [stderr] Downloaded aesni v0.7.0 [INFO] [stderr] Downloaded curl-sys v0.4.36+curl-7.71.1 [INFO] [stderr] Downloaded tungstenite v0.11.0 [INFO] [stderr] Downloaded aes v0.4.0 [INFO] [stderr] Downloaded universal-hash v0.4.0 [INFO] [stderr] Downloaded infer v0.1.7 [INFO] [stderr] Downloaded data-encoding v2.3.0 [INFO] [stderr] Downloaded surf v2.0.0-alpha.5 [INFO] [stderr] Downloaded nalgebra v0.22.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Downloaded byte v0.2.4 [INFO] [stderr] Downloaded bswap v1.0.0 [INFO] [stderr] Downloaded sha v1.0.3 [INFO] [stderr] Downloaded http-client v4.0.0 [INFO] [stderr] Downloaded ncollide2d v0.24.0 [INFO] [stderr] Downloaded http-types v2.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d27e2bffec1f19fb8df946c6de769aa60098a7cda469e33fca6fbc8781641007 [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" "d27e2bffec1f19fb8df946c6de769aa60098a7cda469e33fca6fbc8781641007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d27e2bffec1f19fb8df946c6de769aa60098a7cda469e33fca6fbc8781641007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d27e2bffec1f19fb8df946c6de769aa60098a7cda469e33fca6fbc8781641007", kill_on_drop: false }` [INFO] [stdout] d27e2bffec1f19fb8df946c6de769aa60098a7cda469e33fca6fbc8781641007 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+eafdee2dfae8c2233b74f98b123308be7ccefcc6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aed83f33df7dacd32f97efd47ebdbe43126f726085baf82d8434d280b071322e [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" "aed83f33df7dacd32f97efd47ebdbe43126f726085baf82d8434d280b071322e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling event-listener v2.3.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling curl v0.4.33 [INFO] [stderr] Compiling isahc v0.9.8 [INFO] [stderr] Compiling infer v0.1.7 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling slotmap v0.4.0 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling bswap v1.0.0 [INFO] [stderr] Compiling byte v0.2.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling curl-sys v0.4.36+curl-7.71.1 [INFO] [stderr] Compiling time v0.2.20 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling generational-arena v0.2.8 [INFO] [stderr] Compiling concurrent-queue v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling sha v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling byte-pool v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling polyval v0.4.0 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling hkdf v0.9.0 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling simba v0.2.0 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling nalgebra v0.22.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.67 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.67 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.67 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling js-sys v0.3.44 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling web-sys v0.3.44 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Compiling sluice v0.5.2 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling ncollide2d v0.24.0 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling serde_qs v0.6.1 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tungstenite v0.11.0 [INFO] [stderr] Compiling nphysics2d v0.17.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling http-types v2.4.0 [INFO] [stderr] Compiling async-tungstenite v0.8.0 [INFO] [stderr] Compiling async-h1 v2.1.2 [INFO] [stderr] Compiling http-client v4.0.0 [INFO] [stderr] Compiling surf v2.0.0-alpha.5 [INFO] [stderr] Compiling glap-rs-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `async_std::sync::Reciever` [INFO] [stdout] --> src/session/mod.rs:5:31 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::sync::{Sender, Reciever, channel}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Reciever` in `sync` [INFO] [stdout] | help: a similar name exists in the module: `Receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_std::net::TcpStream` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use async_std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AttachedPartFacing` [INFO] [stdout] --> src/main.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | use world::parts::{Part, AttachedPartFacing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_tungstenite::tungstenite::Message` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use async_tungstenite::tungstenite::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitComplex` [INFO] [stdout] --> src/main.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | use nalgebra::Vector2; use nalgebra::geometry::{Isometry2, UnitComplex}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ncollide2d::pipeline::object::CollisionGroups` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeSet` [INFO] [stdout] --> src/world/mod.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nphysics2d::force_generator::DefaultForceGeneratorSet` [INFO] [stdout] --> src/world/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nphysics2d::force_generator::DefaultForceGeneratorSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBody` [INFO] [stdout] --> src/world/planets.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use nphysics2d::object::{RigidBody, RigidBodyDesc, BodyStatus, BodyPartHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Collider`, `RigidBody` [INFO] [stdout] --> src/world/parts.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use nphysics2d::object::{RigidBody, Body, RigidBodyDesc, Collider, ColliderDesc, BodyPartHandle, BodyStatus, DefaultColliderHandle}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nphysics2d::math::Isometry` [INFO] [stdout] --> src/world/parts.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nphysics2d::math::Isometry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `One` [INFO] [stdout] --> src/world/parts.rs:7:36 [INFO] [stdout] | [INFO] [stdout] 7 | use num_traits::identities::{Zero, One}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ncollide2d::pipeline::object::CollisionGroups` [INFO] [stdout] --> src/world/parts.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:149:15 [INFO] [stdout] | [INFO] [stdout] 149 | session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:331:21 [INFO] [stdout] | [INFO] [stdout] 331 | owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:354:19 [INFO] [stdout] | [INFO] [stdout] 354 | grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sender` [INFO] [stdout] --> src/session/mod.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::sync::{Sender, Reciever, channel}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_tungstenite::WebSocketStream` [INFO] [stdout] --> src/session/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use async_tungstenite::WebSocketStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error as WsError`, `Message` [INFO] [stdout] --> src/session/mod.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use async_tungstenite::tungstenite::{Error as WsError, Message}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SinkExt`, `Sink`, `Stream` [INFO] [stdout] --> src/session/mod.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{Sink, SinkExt, Stream, StreamExt, FutureExt}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BodySet`, `Body`, `RigidBody` [INFO] [stdout] --> src/session/mod.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use nphysics2d::object::{Body, BodySet, RigidBody}; [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MyHandle`, `MyUnits` [INFO] [stdout] --> src/session/mod.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use super::world::{MyHandle, MyUnits}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PartKind`, `Part` [INFO] [stdout] --> src/session/mod.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use super::world::parts::{Part, PartKind}; [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/session/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/session/mod.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeaminResponse`, `beamin_request`, `spawn_beamout_request` [INFO] [stdout] --> src/session/mod.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::beamout::{RecursivePartDescription, BeaminResponse, beamin_request, spawn_beamout_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sink` [INFO] [stdout] --> src/session/websocket.rs:3:54 [INFO] [stdout] | [INFO] [stdout] 3 | use futures::{Future, AsyncRead, AsyncWrite, Stream, Sink, StreamExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/session/websocket.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `surf::Client` [INFO] [stdout] --> src/beamout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use surf::Client; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/beamout.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::world::{MyHandle, World}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBody` [INFO] [stdout] --> src/beamout.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | use nphysics2d::object::{RigidBody, BodyPart, Body}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:472:37 [INFO] [stdout] | [INFO] [stdout] 472 | ... let mut attachment_msg: Option> = None; [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] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/session/mod.rs:85:34 [INFO] [stdout] | [INFO] [stdout] 85 | let (inbound, to_task) = channel(); [INFO] [stdout] | ^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::FutureExt` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::FutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StreamExt` [INFO] [stdout] --> src/session/mod.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{Sink, SinkExt, Stream, StreamExt, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodyPart` [INFO] [stdout] --> src/beamout.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use nphysics2d::object::{RigidBody, BodyPart, Body}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Body` [INFO] [stdout] --> src/beamout.rs:9:47 [INFO] [stdout] | [INFO] [stdout] 9 | use nphysics2d::object::{RigidBody, BodyPart, Body}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `glap-rs-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "aed83f33df7dacd32f97efd47ebdbe43126f726085baf82d8434d280b071322e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aed83f33df7dacd32f97efd47ebdbe43126f726085baf82d8434d280b071322e", kill_on_drop: false }` [INFO] [stdout] aed83f33df7dacd32f97efd47ebdbe43126f726085baf82d8434d280b071322e