[INFO] cloning repository https://github.com/fschuetz/mud-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fschuetz/mud-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschuetz%2Fmud-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschuetz%2Fmud-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea196d26811bdaefecae0cbcc207e7666cff6734 [INFO] checking fschuetz/mud-server against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschuetz%2Fmud-server" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 61% (3288/5336) Updating files: 62% (3309/5336) Updating files: 63% (3362/5336) Updating files: 64% (3416/5336) Updating files: 64% (3418/5336) Updating files: 64% (3427/5336) Updating files: 65% (3469/5336) Updating files: 66% (3522/5336) Updating files: 66% (3553/5336) Updating files: 67% (3576/5336) Updating files: 67% (3619/5336) Updating files: 68% (3629/5336) Updating files: 68% (3656/5336) Updating files: 69% (3682/5336) Updating files: 70% (3736/5336) Updating files: 71% (3789/5336) Updating files: 72% (3842/5336) Updating files: 73% (3896/5336) Updating files: 73% (3937/5336) Updating files: 74% (3949/5336) Updating files: 75% (4002/5336) Updating files: 76% (4056/5336) Updating files: 77% (4109/5336) Updating files: 78% (4163/5336) Updating files: 79% (4216/5336) Updating files: 80% (4269/5336) Updating files: 81% (4323/5336) Updating files: 82% (4376/5336) Updating files: 83% (4429/5336) Updating files: 84% (4483/5336) Updating files: 85% (4536/5336) Updating files: 86% (4589/5336) Updating files: 87% (4643/5336) Updating files: 88% (4696/5336) Updating files: 89% (4750/5336) Updating files: 90% (4803/5336) Updating files: 91% (4856/5336) Updating files: 92% (4910/5336) Updating files: 93% (4963/5336) Updating files: 94% (5016/5336) Updating files: 95% (5070/5336) Updating files: 95% (5112/5336) Updating files: 96% (5123/5336) Updating files: 97% (5176/5336) Updating files: 98% (5230/5336) Updating files: 99% (5283/5336) Updating files: 100% (5336/5336) Updating files: 100% (5336/5336), done. [INFO] validating manifest of git repo https://github.com/fschuetz/mud-server on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/fschuetz/mud-server [INFO] finished tweaking git repo https://github.com/fschuetz/mud-server [INFO] tweaked toml for git repo https://github.com/fschuetz/mud-server written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/fschuetz/mud-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thrussh-libsodium v0.2.1 [INFO] [stderr] Downloaded bcrypt-pbkdf v0.6.2 [INFO] [stderr] Downloaded data-encoding v2.3.2 [INFO] [stderr] Downloaded base64ct v1.3.3 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded tonic-build v0.6.2 [INFO] [stderr] Downloaded tonic v0.6.2 [INFO] [stderr] Downloaded console-subscriber v0.1.0 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded hdrhistogram v7.4.0 [INFO] [stderr] Downloaded console-api v0.1.0 [INFO] [stderr] Downloaded thrussh v0.33.5 [INFO] [stderr] Downloaded blowfish v0.8.0 [INFO] [stderr] Downloaded thrussh-keys v0.21.0 [INFO] [stderr] Downloaded tracing-subscriber v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a877ee05f67345de737e68c615d9aa75b298406f2de2cbc1f95b31cda2a3d7bb [INFO] running `Command { std: "docker" "start" "-a" "a877ee05f67345de737e68c615d9aa75b298406f2de2cbc1f95b31cda2a3d7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a877ee05f67345de737e68c615d9aa75b298406f2de2cbc1f95b31cda2a3d7bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a877ee05f67345de737e68c615d9aa75b298406f2de2cbc1f95b31cda2a3d7bb", kill_on_drop: false }` [INFO] [stdout] a877ee05f67345de737e68c615d9aa75b298406f2de2cbc1f95b31cda2a3d7bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2dbc0c822fd961bc1524cf862d0c477e7902f4849b948ddfc69e1833e3ba2db [INFO] running `Command { std: "docker" "start" "-a" "b2dbc0c822fd961bc1524cf862d0c477e7902f4849b948ddfc69e1833e3ba2db", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking indexmap v1.8.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking base64ct v1.3.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking blowfish v0.8.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking cryptovec v0.6.1 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking bcrypt-pbkdf v0.6.2 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking hdrhistogram v7.4.0 [INFO] [stderr] Checking yasna v0.4.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.6 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling prost-types v0.9.0 [INFO] [stderr] Checking serde v1.0.133 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling console-api v0.1.0 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking serde_json v1.0.74 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.6.2 [INFO] [stderr] Checking console-subscriber v0.1.0 [INFO] [stderr] Checking thrussh-libsodium v0.2.1 [INFO] [stderr] Checking thrussh-keys v0.21.0 [INFO] [stderr] Checking thrussh v0.33.5 [INFO] [stderr] Checking mud-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/world/states.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/world/states.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Auth`, `Session` [INFO] [stdout] --> src/tests.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use thrussh::server::{Auth, Session}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/world/assets.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:135:57 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:238:58 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/world/grammar.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | ... Some(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hangup` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Hangup(ClientId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSHKey` is never constructed [INFO] [stdout] --> src/connection_manager/ssh_server.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct SSHKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, and `players` are never read [INFO] [stdout] --> src/world/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct GameWorld { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 162 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | players: Vec, // Not sure we should include the players in the world? TODO replace with arena [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameWorld` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_node` is never used [INFO] [stdout] --> src/world/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl GameWorld { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn add_node(&mut self, node: assets::Node) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifiable` is never used [INFO] [stdout] --> src/world/mod.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252 | pub trait Identifiable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Observable` is never used [INFO] [stdout] --> src/world/mod.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | pub trait Observable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `properties` are never used [INFO] [stdout] --> src/world/assets.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait GameAsset : std::fmt::Debug + Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn name(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn properties(&self) -> Option<&Vec>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_asset` is never used [INFO] [stdout] --> src/world/assets.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn remove_asset(&mut self, asset_uid: AssetID) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connects_to` is never read [INFO] [stdout] --> src/world/assets.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Port { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | connects_to: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/world/assets.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Port { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_id(&self) -> AssetID { self.id } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GameWorldResult` is never used [INFO] [stdout] --> src/world/errors.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GameWorldResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCommand`, `InvalidDataMessage`, `PlayerDoesNotExist`, and `UnknownError` are never constructed [INFO] [stdout] --> src/world/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | /// Command is not valid [INFO] [stdout] 18 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | /// Data message is not valid [INFO] [stdout] 20 | InvalidDataMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | /// Player does not exist [INFO] [stdout] 22 | PlayerDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Color(Color), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Color(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(Rigidity), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(Temperature), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(Lighting), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/settings/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct General { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `General` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_ssh` is never read [INFO] [stdout] --> src/settings/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SSHServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | pub start_ssh: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `general` is never read [INFO] [stdout] --> src/settings/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub general: General, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/connection_manager/ssh_server.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 115 | session.data(channel, CryptoVec::from_slice(data.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/world/assets.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:135:57 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:238:58 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/world/grammar.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | ... Some(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_data_rx` [INFO] [stdout] --> src/tests.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | sender_data_rx, sender_command_rx) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_data_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_command_rx` [INFO] [stdout] --> src/tests.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | sender_data_rx, sender_command_rx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_command_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_packet_size` [INFO] [stdout] --> src/tests.rs:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | ...channel: ChannelId, max_packet_size: u32, window_size: u32, session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_packet_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/tests.rs:132:81 [INFO] [stdout] | [INFO] [stdout] 132 | ..., max_packet_size: u32, window_size: u32, session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hangup` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Hangup(ClientId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSHKey` is never constructed [INFO] [stdout] --> src/connection_manager/ssh_server.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct SSHKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, and `players` are never read [INFO] [stdout] --> src/world/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct GameWorld { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 162 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | players: Vec, // Not sure we should include the players in the world? TODO replace with arena [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameWorld` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_node` is never used [INFO] [stdout] --> src/world/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl GameWorld { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn add_node(&mut self, node: assets::Node) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifiable` is never used [INFO] [stdout] --> src/world/mod.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252 | pub trait Identifiable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Observable` is never used [INFO] [stdout] --> src/world/mod.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | pub trait Observable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `properties` are never used [INFO] [stdout] --> src/world/assets.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait GameAsset : std::fmt::Debug + Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn name(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn properties(&self) -> Option<&Vec>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_asset` is never used [INFO] [stdout] --> src/world/assets.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn remove_asset(&mut self, asset_uid: AssetID) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connects_to` is never read [INFO] [stdout] --> src/world/assets.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Port { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | connects_to: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/world/assets.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Port { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_id(&self) -> AssetID { self.id } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GameWorldResult` is never used [INFO] [stdout] --> src/world/errors.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GameWorldResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCommand`, `InvalidDataMessage`, `PlayerDoesNotExist`, and `UnknownError` are never constructed [INFO] [stdout] --> src/world/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | /// Command is not valid [INFO] [stdout] 18 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | /// Data message is not valid [INFO] [stdout] 20 | InvalidDataMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | /// Player does not exist [INFO] [stdout] 22 | PlayerDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Color(Color), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Color(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(Rigidity), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(Temperature), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(Lighting), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/settings/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct General { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `General` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_ssh` is never read [INFO] [stdout] --> src/settings/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SSHServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | pub start_ssh: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `general` is never read [INFO] [stdout] --> src/settings/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub general: General, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings`, `client_config`, `server_config`, and `client` are never read [INFO] [stdout] --> src/tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TestEnvironment { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 64 | settings: Settings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | keys: Vec, [INFO] [stdout] 66 | client_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | server_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/connection_manager/ssh_server.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 115 | session.data(channel, CryptoVec::from_slice(data.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "b2dbc0c822fd961bc1524cf862d0c477e7902f4849b948ddfc69e1833e3ba2db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2dbc0c822fd961bc1524cf862d0c477e7902f4849b948ddfc69e1833e3ba2db", kill_on_drop: false }` [INFO] [stdout] b2dbc0c822fd961bc1524cf862d0c477e7902f4849b948ddfc69e1833e3ba2db [INFO] checking fschuetz/mud-server against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffschuetz%2Fmud-server" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 51% (2727/5336) Updating files: 52% (2775/5336) Updating files: 53% (2829/5336) Updating files: 54% (2882/5336) Updating files: 55% (2935/5336) Updating files: 56% (2989/5336) Updating files: 57% (3042/5336) Updating files: 58% (3095/5336) Updating files: 59% (3149/5336) Updating files: 60% (3202/5336) Updating files: 61% (3255/5336) Updating files: 62% (3309/5336) Updating files: 62% (3343/5336) Updating files: 63% (3362/5336) Updating files: 64% (3416/5336) Updating files: 64% (3422/5336) Updating files: 64% (3425/5336) Updating files: 65% (3469/5336) Updating files: 65% (3488/5336) Updating files: 66% (3522/5336) Updating files: 66% (3558/5336) Updating files: 67% (3576/5336) Updating files: 67% (3615/5336) Updating files: 68% (3629/5336) Updating files: 68% (3638/5336) Updating files: 69% (3682/5336) Updating files: 69% (3686/5336) Updating files: 70% (3736/5336) Updating files: 71% (3789/5336) Updating files: 72% (3842/5336) Updating files: 73% (3896/5336) Updating files: 74% (3949/5336) Updating files: 75% (4002/5336) Updating files: 76% (4056/5336) Updating files: 76% (4106/5336) Updating files: 77% (4109/5336) Updating files: 78% (4163/5336) Updating files: 79% (4216/5336) Updating files: 80% (4269/5336) Updating files: 81% (4323/5336) Updating files: 82% (4376/5336) Updating files: 83% (4429/5336) Updating files: 84% (4483/5336) Updating files: 85% (4536/5336) Updating files: 86% (4589/5336) Updating files: 87% (4643/5336) Updating files: 88% (4696/5336) Updating files: 89% (4750/5336) Updating files: 90% (4803/5336) Updating files: 91% (4856/5336) Updating files: 92% (4910/5336) Updating files: 92% (4922/5336) Updating files: 93% (4963/5336) Updating files: 94% (5016/5336) Updating files: 95% (5070/5336) Updating files: 96% (5123/5336) Updating files: 97% (5176/5336) Updating files: 98% (5230/5336) Updating files: 99% (5283/5336) Updating files: 100% (5336/5336) Updating files: 100% (5336/5336), done. [INFO] validating manifest of git repo https://github.com/fschuetz/mud-server on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/fschuetz/mud-server [INFO] finished tweaking git repo https://github.com/fschuetz/mud-server [INFO] tweaked toml for git repo https://github.com/fschuetz/mud-server written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fschuetz/mud-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ea600be3cc96b4c57686672220df093a378388a049305a6f0a1f841b8340b53 [INFO] running `Command { std: "docker" "start" "-a" "4ea600be3cc96b4c57686672220df093a378388a049305a6f0a1f841b8340b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ea600be3cc96b4c57686672220df093a378388a049305a6f0a1f841b8340b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ea600be3cc96b4c57686672220df093a378388a049305a6f0a1f841b8340b53", kill_on_drop: false }` [INFO] [stdout] 4ea600be3cc96b4c57686672220df093a378388a049305a6f0a1f841b8340b53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8153cc4d6c5c43398729d2cbfebcf8521fc675a368c476000edc7324cf21baf2 [INFO] running `Command { std: "docker" "start" "-a" "8153cc4d6c5c43398729d2cbfebcf8521fc675a368c476000edc7324cf21baf2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking futures-io v0.3.19 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Checking indexmap v1.8.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling fastrand v1.6.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Checking base64ct v1.3.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling libsodium-sys v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking password-hash v0.2.3 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling prost-build v0.9.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking ctr v0.8.0 [INFO] [stderr] Checking blowfish v0.8.0 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking pbkdf2 v0.8.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking block-modes v0.8.1 [INFO] [stderr] Checking aes v0.7.5 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking bcrypt-pbkdf v0.6.2 [INFO] [stderr] Checking cryptovec v0.6.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking yasna v0.4.0 [INFO] [stderr] Checking hdrhistogram v7.4.0 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling prost-derive v0.9.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking tracing-subscriber v0.3.6 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling prost v0.9.0 [INFO] [stderr] Checking prost-types v0.9.0 [INFO] [stderr] Checking serde v1.0.133 [INFO] [stderr] Compiling tonic-build v0.6.2 [INFO] [stderr] Checking futures-executor v0.3.19 [INFO] [stderr] Checking futures v0.3.19 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling console-api v0.1.0 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Checking tower v0.4.11 [INFO] [stderr] Checking serde_json v1.0.74 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.6.2 [INFO] [stderr] Checking console-subscriber v0.1.0 [INFO] [stderr] Checking thrussh-libsodium v0.2.1 [INFO] [stderr] Checking thrussh-keys v0.21.0 [INFO] [stderr] Checking thrussh v0.33.5 [INFO] [stderr] Checking mud-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/world/states.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `futures` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures; [INFO] [stdout] | ^^^^^^^ the item `futures` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `anyhow` is imported redundantly [INFO] [stdout] --> src/connection_manager/ssh_server.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use anyhow; [INFO] [stdout] | ^^^^^^ the item `anyhow` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::debug` [INFO] [stdout] --> src/world/states.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tracing::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Auth`, `Session` [INFO] [stdout] --> src/tests.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use thrussh::server::{Auth, Session}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::Future` [INFO] [stdout] --> src/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use futures::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/world/assets.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:135:57 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:238:58 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/world/grammar.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | ... Some(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/world/assets.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:135:44 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:135:57 [INFO] [stdout] | [INFO] [stdout] 135 | Action::Look{ target: Some(t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preposition` [INFO] [stdout] --> src/world/assets.rs:238:45 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `preposition: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `properties` [INFO] [stdout] --> src/world/assets.rs:238:58 [INFO] [stdout] | [INFO] [stdout] 238 | Action::Look{ target: Some(_t), preposition, properties} => { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `properties: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/world/grammar.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | ... Some(m) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hangup` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Hangup(ClientId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSHKey` is never constructed [INFO] [stdout] --> src/connection_manager/ssh_server.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct SSHKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, and `players` are never read [INFO] [stdout] --> src/world/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct GameWorld { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 162 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | players: Vec, // Not sure we should include the players in the world? TODO replace with arena [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameWorld` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_node` is never used [INFO] [stdout] --> src/world/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl GameWorld { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn add_node(&mut self, node: assets::Node) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifiable` is never used [INFO] [stdout] --> src/world/mod.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252 | pub trait Identifiable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Observable` is never used [INFO] [stdout] --> src/world/mod.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | pub trait Observable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `properties` are never used [INFO] [stdout] --> src/world/assets.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait GameAsset : std::fmt::Debug + Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn name(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn properties(&self) -> Option<&Vec>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_asset` is never used [INFO] [stdout] --> src/world/assets.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn remove_asset(&mut self, asset_uid: AssetID) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connects_to` is never read [INFO] [stdout] --> src/world/assets.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Port { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | connects_to: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/world/assets.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Port { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_id(&self) -> AssetID { self.id } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GameWorldResult` is never used [INFO] [stdout] --> src/world/errors.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GameWorldResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCommand`, `InvalidDataMessage`, `PlayerDoesNotExist`, and `UnknownError` are never constructed [INFO] [stdout] --> src/world/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | /// Command is not valid [INFO] [stdout] 18 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | /// Data message is not valid [INFO] [stdout] 20 | InvalidDataMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | /// Player does not exist [INFO] [stdout] 22 | PlayerDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Color(Color), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Color(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(Rigidity), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(Temperature), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(Lighting), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/settings/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct General { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `General` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_ssh` is never read [INFO] [stdout] --> src/settings/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SSHServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | pub start_ssh: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `general` is never read [INFO] [stdout] --> src/settings/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub general: General, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/connection_manager/ssh_server.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 115 | session.data(channel, CryptoVec::from_slice(data.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_data_rx` [INFO] [stdout] --> src/tests.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | sender_data_rx, sender_command_rx) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_data_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_command_rx` [INFO] [stdout] --> src/tests.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | sender_data_rx, sender_command_rx) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_command_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_packet_size` [INFO] [stdout] --> src/tests.rs:132:59 [INFO] [stdout] | [INFO] [stdout] 132 | ...channel: ChannelId, max_packet_size: u32, window_size: u32, session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_packet_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_size` [INFO] [stdout] --> src/tests.rs:132:81 [INFO] [stdout] | [INFO] [stdout] 132 | ..., max_packet_size: u32, window_size: u32, session: client::Session) -> Self::FutureUnit { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_window_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Hangup` is never constructed [INFO] [stdout] --> src/connection_manager/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Hangup(ClientId), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SSHKey` is never constructed [INFO] [stdout] --> src/connection_manager/ssh_server.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub struct SSHKey { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHKey` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, and `players` are never read [INFO] [stdout] --> src/world/mod.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct GameWorld { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 162 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 163 | description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | players: Vec, // Not sure we should include the players in the world? TODO replace with arena [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameWorld` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_node` is never used [INFO] [stdout] --> src/world/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 169 | impl GameWorld { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn add_node(&mut self, node: assets::Node) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Identifiable` is never used [INFO] [stdout] --> src/world/mod.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 252 | pub trait Identifiable { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Observable` is never used [INFO] [stdout] --> src/world/mod.rs:266:11 [INFO] [stdout] | [INFO] [stdout] 266 | pub trait Observable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `properties` are never used [INFO] [stdout] --> src/world/assets.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub trait GameAsset : std::fmt::Debug + Send + Sync { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | fn name(&self) -> String; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | fn properties(&self) -> Option<&Vec>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_asset` is never used [INFO] [stdout] --> src/world/assets.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Node { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn remove_asset(&mut self, asset_uid: AssetID) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connects_to` is never read [INFO] [stdout] --> src/world/assets.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct Port { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 166 | connects_to: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Port` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_id` is never used [INFO] [stdout] --> src/world/assets.rs:185:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Port { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn get_id(&self) -> AssetID { self.id } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `GameWorldResult` is never used [INFO] [stdout] --> src/world/errors.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type GameWorldResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCommand`, `InvalidDataMessage`, `PlayerDoesNotExist`, and `UnknownError` are never constructed [INFO] [stdout] --> src/world/errors.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Error { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 17 | /// Command is not valid [INFO] [stdout] 18 | InvalidCommand, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 19 | /// Data message is not valid [INFO] [stdout] 20 | InvalidDataMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | /// Player does not exist [INFO] [stdout] 22 | PlayerDoesNotExist, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | UnknownError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | Color(Color), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | Color(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(Rigidity), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Rigidity(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(Temperature), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Temperature(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(Lighting), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Lighting(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/world/properties.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | Custom(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | Custom(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/settings/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct General { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `General` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_ssh` is never read [INFO] [stdout] --> src/settings/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SSHServer { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 10 | pub start_ssh: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SSHServer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `general` is never read [INFO] [stdout] --> src/settings/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Settings { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 22 | pub general: General, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Settings` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `settings`, `client_config`, `server_config`, and `client` are never read [INFO] [stdout] --> src/tests.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct TestEnvironment { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 64 | settings: Settings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 65 | keys: Vec, [INFO] [stdout] 66 | client_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 67 | server_config: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/connection_manager/ssh_server.rs:115:65 [INFO] [stdout] | [INFO] [stdout] 115 | session.data(channel, CryptoVec::from_slice(data.clone())); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "8153cc4d6c5c43398729d2cbfebcf8521fc675a368c476000edc7324cf21baf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8153cc4d6c5c43398729d2cbfebcf8521fc675a368c476000edc7324cf21baf2", kill_on_drop: false }` [INFO] [stdout] 8153cc4d6c5c43398729d2cbfebcf8521fc675a368c476000edc7324cf21baf2