[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] ab4abb02830ef185b7392da4d0b3c0845e2b65a3 [INFO] testing Christian7573/glap-rs-server against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChristian7573%2Fglap-rs-server" "/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/Christian7573/glap-rs-server on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-9/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" "+1.59.0" "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] 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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7b53ae687a856df049d1147beddd0e16940776bfc00f3eea1d38a44cf804ac3 [INFO] running `Command { std: "docker" "start" "-a" "e7b53ae687a856df049d1147beddd0e16940776bfc00f3eea1d38a44cf804ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7b53ae687a856df049d1147beddd0e16940776bfc00f3eea1d38a44cf804ac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7b53ae687a856df049d1147beddd0e16940776bfc00f3eea1d38a44cf804ac3", kill_on_drop: false }` [INFO] [stdout] e7b53ae687a856df049d1147beddd0e16940776bfc00f3eea1d38a44cf804ac3 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9eec919d095ce128228c272d3400932b0f84f4318533d7e8eb0fb31189085f8 [INFO] running `Command { std: "docker" "start" "-a" "e9eec919d095ce128228c272d3400932b0f84f4318533d7e8eb0fb31189085f8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.67 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling bumpalo v3.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling waker-fn v1.0.0 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling fastrand v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.67 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling event-listener v2.3.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling parking v1.0.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling send_wrapper v0.4.0 [INFO] [stderr] Compiling async-task v3.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling curl v0.4.33 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling data-encoding v2.3.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling isahc v0.9.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling infer v0.1.7 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling signal-hook v0.3.7 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling slotmap v0.4.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling vec-arena v1.1.0 [INFO] [stderr] Compiling bswap v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byte v0.2.4 [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 unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [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 http v0.2.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.10 [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 unicase v2.6.0 [INFO] [stderr] Compiling futures-lite v0.1.10 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling async-channel v1.4.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling curl-sys v0.4.36+curl-7.71.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling blocking v0.4.7 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling polling v1.1.0 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling block-cipher v0.7.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling universal-hash v0.4.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling async-io v1.1.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aes-soft v0.4.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling polyval v0.4.0 [INFO] [stderr] Compiling aes v0.4.0 [INFO] [stderr] Compiling byte-pool v0.2.2 [INFO] [stderr] Compiling signal-hook-async-std v0.2.1 [INFO] [stderr] Compiling ghash v0.3.0 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling hkdf v0.9.0 [INFO] [stderr] Compiling aes-gcm v0.6.0 [INFO] [stderr] Compiling simba v0.2.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 time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [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 thiserror v1.0.20 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling js-sys v0.3.44 [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 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 futures-timer v3.0.2 [INFO] [stderr] Compiling async-std v1.6.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling serde_qs v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling nphysics2d v0.17.0 [INFO] [stderr] Compiling http-types v2.4.0 [INFO] [stderr] Compiling async-native-tls v0.3.3 [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] warning: unused imports: `AttachedPartFacing`, `Part` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use world::parts::{Part, AttachedPartFacing}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitComplex` [INFO] [stdout] --> src/main.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use async_std::sync::{Sender, Receiver, channel}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBody` [INFO] [stdout] --> src/world/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use nphysics2d::object::{RigidBody, Body, BodyPartHandle, DefaultColliderHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/world/mod.rs:3:24 [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: `crate::PartOfPlayer` [INFO] [stdout] --> src/world/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::PartOfPlayer; [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: `One` [INFO] [stdout] --> src/world/parts.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/world/parts.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{WorldAddHandle, World, WorldlyObject}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 153 - session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] 153 + session = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 353 - owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] 353 + owning_player = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 376 - grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] 376 + grabed_part = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `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: `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:36 [INFO] [stdout] | [INFO] [stdout] 10 | use super::world::nphysics_types::{MyHandle, MyUnits}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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 imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/session/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeaminResponse`, `spawn_beamout_request` [INFO] [stdout] --> src/session/mod.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::beamout::{BeaminResponse, beamin_request, spawn_beamout_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/session/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `Ordering` [INFO] [stdout] --> src/session/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::{AtomicBool, Ordering}; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:542:37 [INFO] [stdout] | [INFO] [stdout] 542 | ... 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] warning: unused import: `FutureExt` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/session/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{Sink, SinkExt, Stream, StreamExt, FutureExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodySet` [INFO] [stdout] --> src/session/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nphysics2d::object::{Body, BodySet, RigidBody}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part_id` [INFO] [stdout] --> src/main.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some((part_id, constraint, x, y)) = player.grabbed_part { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deflated_ship` [INFO] [stdout] --> src/main.rs:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | ... let deflated_ship = simulation.world.get_part(player.core).unwrap().deflate(&simulation.world); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deflated_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planet` [INFO] [stdout] --> src/main.rs:268:54 [INFO] [stdout] | [INFO] [stdout] 268 | PlayerUntouchPlanet{ player, planet, part } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `planet: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/main.rs:482:37 [INFO] [stdout] | [INFO] [stdout] 482 | ... let point = nphysics2d::math::Point::new(x + core_location.x, y + core_location.y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:491:41 [INFO] [stdout] | [INFO] [stdout] 491 | ... let world = &mut simulation.world; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachment_msg` [INFO] [stdout] --> src/main.rs:542:41 [INFO] [stdout] | [INFO] [stdout] 542 | ... let mut attachment_msg: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attachment_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachment_details` [INFO] [stdout] --> src/main.rs:553:78 [INFO] [stdout] | [INFO] [stdout] 553 | ...attachment_slot, attachment_details, teleport_to, thrust_mode, true_facing)) = simulation.world.recurse_part_mut_with_return( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attachment_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_to_me` [INFO] [stdout] --> src/session/mod.rs:214:137 [INFO] [stdout] | [INFO] [stdout] 214 | ...ayers: SuspendedPlayers, send_to_me: Sender>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_to_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/world/planets.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let position = (body.position().translation.x, body.position().translation.y); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRAVITATION_CONSTANT` [INFO] [stdout] --> src/world/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | const GRAVITATION_CONSTANT: f32 = 1.0; //Lolrandom [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_TEXT` [INFO] [stdout] --> src/session/websocket.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | const OP_TEXT: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_CLOSE` [INFO] [stdout] --> src/session/websocket.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | const OP_CLOSE: u8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PlaceholderLol` [INFO] [stdout] --> src/main.rs:706:5 [INFO] [stdout] | [INFO] [stdout] 706 | PlaceholderLol, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | out.write_with::(&mut index, *float, BE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | out.write_with::(&mut index, *ushort, byte::BE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | out.write_with::(&mut index, *uint, byte::BE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/session/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | out.await; //Flush [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/world/parts.rs:500:74 [INFO] [stdout] | [INFO] [stdout] 500 | ...alThrustMode) { std::mem::replace::(self, CompactThrustMode::new(horizontal, self.get_vertical())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/world/parts.rs:501:68 [INFO] [stdout] | [INFO] [stdout] 501 | ...alThrustMode) { std::mem::replace::(self, CompactThrustMode::new(self.get_horizontal(), vertical)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/world/parts.rs:502:93 [INFO] [stdout] | [INFO] [stdout] 502 | ...erticalThrustMode) { std::mem::replace::(self, CompactThrustMode::new(horizontal, vertical)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/session/websocket.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | socket_out.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 41.30s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e9eec919d095ce128228c272d3400932b0f84f4318533d7e8eb0fb31189085f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9eec919d095ce128228c272d3400932b0f84f4318533d7e8eb0fb31189085f8", kill_on_drop: false }` [INFO] [stdout] e9eec919d095ce128228c272d3400932b0f84f4318533d7e8eb0fb31189085f8 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3346ab432aad3963c8f5935091fc860a78f79b88e461c9fc48c7aa246bab524a [INFO] running `Command { std: "docker" "start" "-a" "3346ab432aad3963c8f5935091fc860a78f79b88e461c9fc48c7aa246bab524a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling glap-rs-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `AttachedPartFacing`, `Part` [INFO] [stdout] --> src/main.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | use world::parts::{Part, AttachedPartFacing}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnitComplex` [INFO] [stdout] --> src/main.rs:12:60 [INFO] [stdout] | [INFO] [stdout] 12 | 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:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::any::Any` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use async_std::sync::{Sender, Receiver, channel}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RigidBody` [INFO] [stdout] --> src/world/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | use nphysics2d::object::{RigidBody, Body, BodyPartHandle, DefaultColliderHandle}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BTreeMap` [INFO] [stdout] --> src/world/mod.rs:3:24 [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: `crate::PartOfPlayer` [INFO] [stdout] --> src/world/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::PartOfPlayer; [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: `One` [INFO] [stdout] --> src/world/parts.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | 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:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `World` [INFO] [stdout] --> src/world/parts.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{WorldAddHandle, World, WorldlyObject}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 153 | session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 153 - session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] 153 + session = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:353:21 [INFO] [stdout] | [INFO] [stdout] 353 | owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 353 - owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] 353 + owning_player = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around assigned value [INFO] [stdout] --> src/codec.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} ... [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 376 - grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stdout] 376 + grabed_part = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `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: `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:36 [INFO] [stdout] | [INFO] [stdout] 10 | use super::world::nphysics_types::{MyHandle, MyUnits}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `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 imports: `DerefMut`, `Deref` [INFO] [stdout] --> src/session/mod.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BeaminResponse`, `spawn_beamout_request` [INFO] [stdout] --> src/session/mod.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::beamout::{BeaminResponse, beamin_request, spawn_beamout_request}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Weak` [INFO] [stdout] --> src/session/mod.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Weak}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicBool`, `Ordering` [INFO] [stdout] --> src/session/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::atomic::{AtomicBool, Ordering}; [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:542:37 [INFO] [stdout] | [INFO] [stdout] 542 | ... 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] warning: unused import: `FutureExt` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{FutureExt, StreamExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SinkExt` [INFO] [stdout] --> src/session/mod.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use futures::{Sink, SinkExt, Stream, StreamExt, FutureExt}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BodySet` [INFO] [stdout] --> src/session/mod.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use nphysics2d::object::{Body, BodySet, RigidBody}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `part_id` [INFO] [stdout] --> src/main.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some((part_id, constraint, x, y)) = player.grabbed_part { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `deflated_ship` [INFO] [stdout] --> src/main.rs:246:41 [INFO] [stdout] | [INFO] [stdout] 246 | ... let deflated_ship = simulation.world.get_part(player.core).unwrap().deflate(&simulation.world); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deflated_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planet` [INFO] [stdout] --> src/main.rs:268:54 [INFO] [stdout] | [INFO] [stdout] 268 | PlayerUntouchPlanet{ player, planet, part } => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `planet: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> src/main.rs:482:37 [INFO] [stdout] | [INFO] [stdout] 482 | ... let point = nphysics2d::math::Point::new(x + core_location.x, y + core_location.y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `world` [INFO] [stdout] --> src/main.rs:491:41 [INFO] [stdout] | [INFO] [stdout] 491 | ... let world = &mut simulation.world; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachment_msg` [INFO] [stdout] --> src/main.rs:542:41 [INFO] [stdout] | [INFO] [stdout] 542 | ... let mut attachment_msg: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attachment_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attachment_details` [INFO] [stdout] --> src/main.rs:553:78 [INFO] [stdout] | [INFO] [stdout] 553 | ...attachment_slot, attachment_details, teleport_to, thrust_mode, true_facing)) = simulation.world.recurse_part_mut_with_return( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attachment_details` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_to_me` [INFO] [stdout] --> src/session/mod.rs:214:137 [INFO] [stdout] | [INFO] [stdout] 214 | ...ayers: SuspendedPlayers, send_to_me: Sender>) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_to_me` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `position` [INFO] [stdout] --> src/world/planets.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | let position = (body.position().translation.x, body.position().translation.y); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `GRAVITATION_CONSTANT` [INFO] [stdout] --> src/world/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | const GRAVITATION_CONSTANT: f32 = 1.0; //Lolrandom [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_TEXT` [INFO] [stdout] --> src/session/websocket.rs:202:1 [INFO] [stdout] | [INFO] [stdout] 202 | const OP_TEXT: u8 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `OP_CLOSE` [INFO] [stdout] --> src/session/websocket.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | const OP_CLOSE: u8 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PlaceholderLol` [INFO] [stdout] --> src/main.rs:706:5 [INFO] [stdout] | [INFO] [stdout] 706 | PlaceholderLol, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | out.write_with::(&mut index, *float, BE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | out.write_with::(&mut index, *ushort, byte::BE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/codec.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | out.write_with::(&mut index, *uint, byte::BE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/session/mod.rs:357:5 [INFO] [stdout] | [INFO] [stdout] 357 | out.await; //Flush [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/world/parts.rs:500:74 [INFO] [stdout] | [INFO] [stdout] 500 | ...alThrustMode) { std::mem::replace::(self, CompactThrustMode::new(horizontal, self.get_vertical())); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/world/parts.rs:501:68 [INFO] [stdout] | [INFO] [stdout] 501 | ...alThrustMode) { std::mem::replace::(self, CompactThrustMode::new(self.get_horizontal(), vertical)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/world/parts.rs:502:93 [INFO] [stdout] | [INFO] [stdout] 502 | ...erticalThrustMode) { std::mem::replace::(self, CompactThrustMode::new(horizontal, vertical)); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/session/websocket.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | socket_out.await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "3346ab432aad3963c8f5935091fc860a78f79b88e461c9fc48c7aa246bab524a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3346ab432aad3963c8f5935091fc860a78f79b88e461c9fc48c7aa246bab524a", kill_on_drop: false }` [INFO] [stdout] 3346ab432aad3963c8f5935091fc860a78f79b88e461c9fc48c7aa246bab524a [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 29887098296f47e32c69aac62821187b5c1c3a1b6a7ed85799a8da1da3659e6b [INFO] running `Command { std: "docker" "start" "-a" "29887098296f47e32c69aac62821187b5c1c3a1b6a7ed85799a8da1da3659e6b", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `AttachedPartFacing`, `Part` [INFO] [stderr] --> src/main.rs:11:20 [INFO] [stderr] | [INFO] [stderr] 11 | use world::parts::{Part, AttachedPartFacing}; [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `UnitComplex` [INFO] [stderr] --> src/main.rs:12:60 [INFO] [stderr] | [INFO] [stderr] 12 | use nalgebra::Vector2; use nalgebra::geometry::{Isometry2, UnitComplex}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ncollide2d::pipeline::object::CollisionGroups` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::any::Any` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::any::Any; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Receiver`, `Sender` [INFO] [stderr] --> src/main.rs:16:23 [INFO] [stderr] | [INFO] [stderr] 16 | use async_std::sync::{Sender, Receiver, channel}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RigidBody` [INFO] [stderr] --> src/world/mod.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use nphysics2d::object::{RigidBody, Body, BodyPartHandle, DefaultColliderHandle}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BTreeMap` [INFO] [stderr] --> src/world/mod.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use std::collections::{BTreeMap, BTreeSet}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nphysics2d::force_generator::DefaultForceGeneratorSet` [INFO] [stderr] --> src/world/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use nphysics2d::force_generator::DefaultForceGeneratorSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::PartOfPlayer` [INFO] [stderr] --> src/world/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::PartOfPlayer; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `RigidBody` [INFO] [stderr] --> src/world/planets.rs:2:26 [INFO] [stderr] | [INFO] [stderr] 2 | use nphysics2d::object::{RigidBody, RigidBodyDesc, BodyStatus, BodyPartHandle}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Collider`, `RigidBody` [INFO] [stderr] --> src/world/parts.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use nphysics2d::object::{RigidBody, Body, RigidBodyDesc, Collider, ColliderDesc, BodyPartHandle, BodyStatus, DefaultColliderHandle}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `One` [INFO] [stderr] --> src/world/parts.rs:6:36 [INFO] [stderr] | [INFO] [stderr] 6 | use num_traits::identities::{Zero, One}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ncollide2d::pipeline::object::CollisionGroups` [INFO] [stderr] --> src/world/parts.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use ncollide2d::pipeline::object::CollisionGroups; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `World` [INFO] [stderr] --> src/world/parts.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | use super::{WorldAddHandle, World, WorldlyObject}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/codec.rs:153:15 [INFO] [stderr] | [INFO] [stderr] 153 | session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} ... [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 153 - session = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stderr] 153 + session = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_string_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/codec.rs:353:21 [INFO] [stderr] | [INFO] [stderr] 353 | owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} ... [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 353 - owning_player = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stderr] 353 + owning_player = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around assigned value [INFO] [stderr] --> src/codec.rs:376:19 [INFO] [stderr] | [INFO] [stderr] 376 | grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} ... [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 376 - grabed_part = {if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }}; [INFO] [stderr] 376 + grabed_part = if stream.next().await.ok_or(())? > 0 { let tmp; tmp = type_u16_deserialize(stream).await?; Some(tmp)} else { None }; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Sink`, `Stream` [INFO] [stderr] --> src/session/mod.rs:8:15 [INFO] [stderr] | [INFO] [stderr] 8 | use futures::{Sink, SinkExt, Stream, StreamExt, FutureExt}; [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Body`, `RigidBody` [INFO] [stderr] --> src/session/mod.rs:9:26 [INFO] [stderr] | [INFO] [stderr] 9 | use nphysics2d::object::{Body, BodySet, RigidBody}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MyHandle`, `MyUnits` [INFO] [stderr] --> src/session/mod.rs:10:36 [INFO] [stderr] | [INFO] [stderr] 10 | use super::world::nphysics_types::{MyHandle, MyUnits}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Part` [INFO] [stderr] --> src/session/mod.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | use super::world::parts::{Part, PartKind}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DerefMut`, `Deref` [INFO] [stderr] --> src/session/mod.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use std::ops::{Deref, DerefMut}; [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BeaminResponse`, `spawn_beamout_request` [INFO] [stderr] --> src/session/mod.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | use crate::beamout::{BeaminResponse, beamin_request, spawn_beamout_request}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Weak` [INFO] [stderr] --> src/session/mod.rs:16:22 [INFO] [stderr] | [INFO] [stderr] 16 | use std::sync::{Arc, Weak}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AtomicBool`, `Ordering` [INFO] [stderr] --> src/session/mod.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deref` [INFO] [stderr] --> src/session/websocket.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ops::{Deref, DerefMut}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:542:37 [INFO] [stderr] | [INFO] [stderr] 542 | ... let mut attachment_msg: Option> = None; [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `FutureExt` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use futures::{FutureExt, StreamExt}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SinkExt` [INFO] [stderr] --> src/session/mod.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use futures::{Sink, SinkExt, Stream, StreamExt, FutureExt}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `BodySet` [INFO] [stderr] --> src/session/mod.rs:9:32 [INFO] [stderr] | [INFO] [stderr] 9 | use nphysics2d::object::{Body, BodySet, RigidBody}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `part_id` [INFO] [stderr] --> src/main.rs:191:34 [INFO] [stderr] | [INFO] [stderr] 191 | if let Some((part_id, constraint, x, y)) = player.grabbed_part { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_part_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `deflated_ship` [INFO] [stderr] --> src/main.rs:246:41 [INFO] [stderr] | [INFO] [stderr] 246 | ... let deflated_ship = simulation.world.get_part(player.core).unwrap().deflate(&simulation.world); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_deflated_ship` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `planet` [INFO] [stderr] --> src/main.rs:268:54 [INFO] [stderr] | [INFO] [stderr] 268 | PlayerUntouchPlanet{ player, planet, part } => { [INFO] [stderr] | ^^^^^^ help: try ignoring the field: `planet: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `point` [INFO] [stderr] --> src/main.rs:482:37 [INFO] [stderr] | [INFO] [stderr] 482 | ... let point = nphysics2d::math::Point::new(x + core_location.x, y + core_location.y); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `world` [INFO] [stderr] --> src/main.rs:491:41 [INFO] [stderr] | [INFO] [stderr] 491 | ... let world = &mut simulation.world; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_world` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attachment_msg` [INFO] [stderr] --> src/main.rs:542:41 [INFO] [stderr] | [INFO] [stderr] 542 | ... let mut attachment_msg: Option> = None; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attachment_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `attachment_details` [INFO] [stderr] --> src/main.rs:553:78 [INFO] [stderr] | [INFO] [stderr] 553 | ...attachment_slot, attachment_details, teleport_to, thrust_mode, true_facing)) = simulation.world.recurse_part_mut_with_return( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attachment_details` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `send_to_me` [INFO] [stderr] --> src/session/mod.rs:214:137 [INFO] [stderr] | [INFO] [stderr] 214 | ...ayers: SuspendedPlayers, send_to_me: Sender>) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_to_me` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `position` [INFO] [stderr] --> src/world/planets.rs:38:17 [INFO] [stderr] | [INFO] [stderr] 38 | let position = (body.position().translation.x, body.position().translation.y); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_position` [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `GRAVITATION_CONSTANT` [INFO] [stderr] --> src/world/mod.rs:72:13 [INFO] [stderr] | [INFO] [stderr] 72 | const GRAVITATION_CONSTANT: f32 = 1.0; //Lolrandom [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OP_TEXT` [INFO] [stderr] --> src/session/websocket.rs:202:1 [INFO] [stderr] | [INFO] [stderr] 202 | const OP_TEXT: u8 = 1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `OP_CLOSE` [INFO] [stderr] --> src/session/websocket.rs:204:1 [INFO] [stderr] | [INFO] [stderr] 204 | const OP_CLOSE: u8 = 8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `PlaceholderLol` [INFO] [stderr] --> src/main.rs:706:5 [INFO] [stderr] | [INFO] [stderr] 706 | PlaceholderLol, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/codec.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | out.write_with::(&mut index, *float, BE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/codec.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | out.write_with::(&mut index, *ushort, byte::BE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/codec.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | out.write_with::(&mut index, *uint, byte::BE); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/session/mod.rs:357:5 [INFO] [stderr] | [INFO] [stderr] 357 | out.await; //Flush [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/world/parts.rs:500:74 [INFO] [stderr] | [INFO] [stderr] 500 | ...alThrustMode) { std::mem::replace::(self, CompactThrustMode::new(horizontal, self.get_vertical())); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/world/parts.rs:501:68 [INFO] [stderr] | [INFO] [stderr] 501 | ...alThrustMode) { std::mem::replace::(self, CompactThrustMode::new(self.get_horizontal(), vertical)); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/world/parts.rs:502:93 [INFO] [stderr] | [INFO] [stderr] 502 | ...erticalThrustMode) { std::mem::replace::(self, CompactThrustMode::new(horizontal, vertical)); } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/session/websocket.rs:185:9 [INFO] [stderr] | [INFO] [stderr] 185 | socket_out.await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `glap-rs-server` (bin "glap-rs-server" test) generated 51 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: time-macros-impl v0.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/glap_rs_server-8d6fb1320180e566) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "29887098296f47e32c69aac62821187b5c1c3a1b6a7ed85799a8da1da3659e6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29887098296f47e32c69aac62821187b5c1c3a1b6a7ed85799a8da1da3659e6b", kill_on_drop: false }` [INFO] [stdout] 29887098296f47e32c69aac62821187b5c1c3a1b6a7ed85799a8da1da3659e6b