[INFO] cloning repository https://github.com/volundmush/thermite
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/volundmush/thermite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fthermite", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fthermite'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f941bd889249351574237f5ac955aa14feafc5b6
[INFO] testing volundmush/thermite against 1.76.0 for beta-1.77-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvolundmush%2Fthermite" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/volundmush/thermite on toolchain 1.76.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/volundmush/thermite
[INFO] finished tweaking git repo https://github.com/volundmush/thermite
[INFO] tweaked toml for git repo https://github.com/volundmush/thermite written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.76.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded iana-time-zone v0.1.60
[INFO] [stderr]   Downloaded toml v0.7.8
[INFO] [stderr]   Downloaded slug v0.1.5
[INFO] [stderr]   Downloaded chrono-tz-build v0.2.1
[INFO] [stderr]   Downloaded pest_generator v2.7.7
[INFO] [stderr]   Downloaded pest_derive v2.7.7
[INFO] [stderr]   Downloaded data-encoding v2.5.0
[INFO] [stderr]   Downloaded tokio-tungstenite v0.20.1
[INFO] [stderr]   Downloaded tungstenite v0.20.1
[INFO] [stderr]   Downloaded warp v0.3.6
[INFO] [stderr]   Downloaded chrono-tz v0.8.6
[INFO] [stderr]   Downloaded deunicode v1.4.2
[INFO] [stderr]   Downloaded pest_meta v2.7.7
[INFO] [stderr]   Downloaded pest v2.7.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+1.76.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f42c49b2bf3cffc8090e5fe8ef452a0ac044ce3a7787391d87ea08ef2282796
[INFO] running `Command { std: "docker" "start" "-a" "0f42c49b2bf3cffc8090e5fe8ef452a0ac044ce3a7787391d87ea08ef2282796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f42c49b2bf3cffc8090e5fe8ef452a0ac044ce3a7787391d87ea08ef2282796", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f42c49b2bf3cffc8090e5fe8ef452a0ac044ce3a7787391d87ea08ef2282796", kill_on_drop: false }`
[INFO] [stdout] 0f42c49b2bf3cffc8090e5fe8ef452a0ac044ce3a7787391d87ea08ef2282796
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] da15b9591bdd1aea77d3886487eabac145eb67154daedd86a9bfb9c6e70abadf
[INFO] running `Command { std: "docker" "start" "-a" "da15b9591bdd1aea77d3886487eabac145eb67154daedd86a9bfb9c6e70abadf", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.78
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling pin-project-lite v0.2.13
[INFO] [stderr]    Compiling bytes v1.5.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.9
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.1
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.57
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling serde v1.0.196
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling http v0.2.11
[INFO] [stderr]    Compiling aho-corasick v1.1.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling getrandom v0.2.12
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling mio v0.8.10
[INFO] [stderr]    Compiling socket2 v0.5.5
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling regex-automata v0.4.5
[INFO] [stderr]    Compiling url v2.5.0
[INFO] [stderr]    Compiling indexmap v2.2.3
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling crc32fast v1.4.0
[INFO] [stderr]    Compiling ucd-trie v0.1.6
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling data-encoding v2.5.0
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling alloc-stdlib v0.2.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling bstr v1.9.0
[INFO] [stderr]    Compiling unic-common v0.9.0
[INFO] [stderr]    Compiling unic-char-range v0.9.0
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling utf8parse v0.2.1
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling serde_json v1.0.113
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling miniz_oxide v0.7.2
[INFO] [stderr]    Compiling anstyle-parse v0.2.3
[INFO] [stderr]    Compiling walkdir v2.4.0
[INFO] [stderr]    Compiling unic-char-property v0.9.0
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling mime_guess v2.0.4
[INFO] [stderr]    Compiling unic-ucd-version v0.9.0
[INFO] [stderr]    Compiling brotli-decompressor v2.5.1
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling colorchoice v1.0.0
[INFO] [stderr]    Compiling anstyle-query v1.0.2
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling anstyle v1.0.6
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling anstream v0.6.11
[INFO] [stderr]    Compiling chrono v0.4.34
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling unic-ucd-segment v0.9.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.33
[INFO] [stderr]    Compiling clap_lex v0.7.0
[INFO] [stderr]    Compiling brotli v3.4.0
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling regex v1.10.3
[INFO] [stderr]    Compiling globset v0.4.14
[INFO] [stderr]    Compiling strsim v0.11.0
[INFO] [stderr]    Compiling parse-zoneinfo v0.3.0
[INFO] [stderr]    Compiling ignore v0.4.22
[INFO] [stderr]    Compiling ipnet v2.9.0
[INFO] [stderr]    Compiling deunicode v1.4.2
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling slug v0.1.5
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling chrono-tz-build v0.2.1
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling globwalk v0.8.1
[INFO] [stderr]    Compiling humansize v2.1.3
[INFO] [stderr]    Compiling clap_builder v4.5.0
[INFO] [stderr]    Compiling unic-segment v0.9.0
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling enum-as-inner v0.5.1
[INFO] [stderr]    Compiling thread_local v1.1.7
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling chrono-tz v0.8.6
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling thiserror-impl v1.0.57
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling serde_derive v1.0.196
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling pin-project-internal v1.1.4
[INFO] [stderr]    Compiling lazy-regex-proc_macros v3.1.0
[INFO] [stderr]    Compiling clap_derive v4.5.0
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio v1.36.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling lazy-regex v3.1.0
[INFO] [stderr]    Compiling pest v2.7.7
[INFO] [stderr]    Compiling tungstenite v0.20.1
[INFO] [stderr]    Compiling pin-project v1.1.4
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling clap v4.5.0
[INFO] [stderr]    Compiling pest_meta v2.7.7
[INFO] [stderr]    Compiling pest_generator v2.7.7
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling pest_derive v2.7.7
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling tokio-tungstenite v0.20.1
[INFO] [stderr]    Compiling tokio-stream v0.1.14
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling trust-dns-proto v0.22.0
[INFO] [stderr]    Compiling async-compression v0.3.15
[INFO] [stderr]    Compiling serde_spanned v0.6.5
[INFO] [stderr]    Compiling toml_datetime v0.6.5
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling h2 v0.3.24
[INFO] [stderr]    Compiling tera v1.19.1
[INFO] [stderr]    Compiling toml v0.7.8
[INFO] [stderr]    Compiling trust-dns-resolver v0.22.0
[INFO] [stderr]    Compiling hyper v0.14.28
[INFO] [stderr]    Compiling warp v0.3.6
[INFO] [stderr]    Compiling thermite v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Arc`, `AtomicUsize`, `IpAddr`, `PathBuf`, `fs::File`, `io::BufReader`
[INFO] [stdout]  --> src/networking/link.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 4 |     path::{PathBuf},
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 5 |     sync::{Arc},
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 6 |     sync::atomic::{AtomicUsize, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 7 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     io::BufReader
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/networking/link.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/networking/link.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncBufRead`, `BufStream`
[INFO] [stdout]   --> src/networking/link.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     io::{BufStream, AsyncBufRead, AsyncBufReadExt}
[INFO] [stdout]    |          ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_rustls::rustls`
[INFO] [stdout]   --> src/networking/link.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio_rustls::rustls;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TlsAcceptor`, `TlsStream`
[INFO] [stdout]   --> src/networking/link.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 | use tokio_rustls::{TlsStream, TlsAcceptor};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Certificate`, `PrivateKey`, `ServerConfig`, `server::NoClientAuth`
[INFO] [stdout]   --> src/networking/link.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Certificate, PrivateKey, ServerConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 26 |     server::NoClientAuth
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/networking/link.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use tokio::io::{AsyncRead, AsyncWrite, AsyncReadExt};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::timeout`
[INFO] [stdout]   --> src/networking/link.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use tokio::time::timeout;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::codec::Framed`
[INFO] [stdout]   --> src/networking/link.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tokio_util::codec::Framed;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientHelloStatus`, `HttpRequestStatus`, `check_http_request`, `check_tls_client_hello`, `generate_id`
[INFO] [stdout]   --> src/networking/link.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | use crate::util::{ClientHelloStatus, check_tls_client_hello, check_http_request, HttpRequestStatus, generate_id};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocketStream`
[INFO] [stdout]   --> src/networking/link.rs:40:38
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_tungstenite::{tungstenite, WebSocketStream, accept_async};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tungstenite::Error as WsError`
[INFO] [stdout]   --> src/networking/link.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use tungstenite::Error as WsError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reply`
[INFO] [stdout]  --> src/networking/web.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use warp::{Filter, Reply};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/protocols/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/protocols/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Msg2MudProtocol`
[INFO] [stdout]   --> src/protocols/link/protocol.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::msg::{Msg2Link, Msg2MudProtocol, Msg2Portal, Msg2PortalFromLink};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `Read`
[INFO] [stdout]   --> src/protocols/telnet/codec.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::{Cursor, Read, Write};
[INFO] [stdout]    |               ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value as JsonValue`
[INFO] [stdout]   --> src/protocols/telnet/codec.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use serde_json::{Result as JsonResult, Value as JsonValue};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:169:72
[INFO] [stdout]     |
[INFO] [stdout] 169 |             matches!(item, TelnetEvent::SubNegotiate(codes::MCCP2, _));;
[INFO] [stdout]     |                                                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:212:15
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if(tel_op.start_local) {
[INFO] [stdout]     |               ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -             if(tel_op.start_local) {
[INFO] [stdout] 212 +             if tel_op.start_local {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:217:15
[INFO] [stdout]     |
[INFO] [stdout] 217 |             if(tel_op.start_remote) {
[INFO] [stdout]     |               ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 217 -             if(tel_op.start_remote) {
[INFO] [stdout] 217 +             if tel_op.start_remote {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:267:11
[INFO] [stdout]     |
[INFO] [stdout] 267 |         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stdout]     |           ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 267 -         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stdout] 267 +         if self.time_activity.elapsed().as_secs() > (60 * 30) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `net::SocketAddr`
[INFO] [stdout]  --> src/protocols/websocket/protocol.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^^^
[INFO] [stdout] 3 |     vec::Vec,
[INFO] [stdout] 4 |     net::SocketAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/protocols/websocket/protocol.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     io::{AsyncRead, AsyncWrite},
[INFO] [stdout]   |          ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Framed`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio_util::codec::{Framed};
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, `Bytes`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use bytes::{BytesMut, Bytes, BufMut, Buf};
[INFO] [stdout]    |             ^^^^^^^^  ^^^^^  ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as JsonValue`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde_json::{json, Value as JsonValue};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use once_cell::sync::Lazy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::ensure_crlf`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     util::ensure_crlf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/portal.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     time::{Duration, Instant}
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/portal.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `task::JoinHandle`
[INFO] [stdout]  --> src/portal.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     task::JoinHandle,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::yield_now`
[INFO] [stdout]   --> src/portal.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio::task::yield_now;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue`
[INFO] [stdout]  --> src/msg.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value as JsonValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/protocols/link/protocol.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/protocols/link/protocol.rs:222:30
[INFO] [stdout]     |
[INFO] [stdout] 222 |             WsMessage::Close(c) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/networking/telnet.rs:138:57
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub async fn handle_telnet_connection<S>(&mut self, mut socket: S,tls_engaged: bool) -> Result<(), Box<dyn std::error::Error>>
[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 variable: `e`
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:586:45
[INFO] [stdout]     |
[INFO] [stdout] 586 |     async fn receive_sub(&mut self, op: u8, mut data: Bytes) {
[INFO] [stdout]     |                                             ----^^^^
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `handshake` is assigned to, but never used
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |         let mut handshake: u8 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_handshake` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:441:25
[INFO] [stdout]     |
[INFO] [stdout] 441 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:451:25
[INFO] [stdout]     |
[INFO] [stdout] 451 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:470:25
[INFO] [stdout]     |
[INFO] [stdout] 470 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:480:25
[INFO] [stdout]     |
[INFO] [stdout] 480 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ins`
[INFO] [stdout]    --> src/protocols/websocket/protocol.rs:122:47
[INFO] [stdout]     |
[INFO] [stdout] 122 |     async fn handle_interval_timer(&mut self, ins: Instant) {
[INFO] [stdout]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:336:49
[INFO] [stdout]     |
[INFO] [stdout] 336 |     async fn handle_protocol_command(&mut self, cmd: String) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/protocols/websocket/protocol.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |     async fn handle_binary_message(&mut self, v: Vec<u8>) {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]   --> src/portal.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for (conn_id, client) in self.clients.iter_mut() {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]    --> src/portal.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Msg2Portal::FromLink(conn_id, m) => {
[INFO] [stdout]     |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/portal.rs:115:71
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     Msg2PortalFromLink::ClientDisconnected(client_id, reason) => {
[INFO] [stdout]     |                                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]    --> src/portal.rs:150:42
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stdout]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/portal.rs:150:51
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stdout]     |                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]   --> src/portal.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     sink::{SinkExt},
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/networking/web.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut tera = match tera::Tera::new("webroot/**/*.html") {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hostnames`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn new(conn_id: usize, conn: WebSocket, addr: String, port: u16, hostnames: Vec<String>) -> Self {
[INFO] [stdout]    |                                                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostnames`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `newline_pos`
[INFO] [stdout]   --> src/util.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |             if let Some(newline_pos) = data.iter().position(|&byte| byte == b'\n') {
[INFO] [stdout]    |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `tls` are never read
[INFO] [stdout]   --> src/protocols/link/protocol.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct LinkProtocol<T> {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 93 |     conn_id: usize,
[INFO] [stdout] 94 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 95 |     tls: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time_created` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TelnetProtocol<T> {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 131 |     time_created: Instant,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `time_created` and `time_activity` are never read
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct WebsocketProtocol {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     time_created: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 50 |     time_activity: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             encoder.write_all(b.as_ref());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let _ = encoder.write_all(b.as_ref());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |             &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let _ = &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 62 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 36.69s
[INFO] running `Command { std: "docker" "inspect" "da15b9591bdd1aea77d3886487eabac145eb67154daedd86a9bfb9c6e70abadf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da15b9591bdd1aea77d3886487eabac145eb67154daedd86a9bfb9c6e70abadf", kill_on_drop: false }`
[INFO] [stdout] da15b9591bdd1aea77d3886487eabac145eb67154daedd86a9bfb9c6e70abadf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6475ffbbb07d6e060375bcceae8ca1e3e798046e5b631a8900177ee1cb8b3ce2
[INFO] running `Command { std: "docker" "start" "-a" "6475ffbbb07d6e060375bcceae8ca1e3e798046e5b631a8900177ee1cb8b3ce2", kill_on_drop: false }`
[INFO] [stdout] warning: unused imports: `Arc`, `AtomicUsize`, `IpAddr`, `PathBuf`, `fs::File`, `io::BufReader`
[INFO] [stdout]  --> src/networking/link.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 4 |     path::{PathBuf},
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 5 |     sync::{Arc},
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 6 |     sync::atomic::{AtomicUsize, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 7 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     io::BufReader
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/networking/link.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/networking/link.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncBufRead`, `BufStream`
[INFO] [stdout]   --> src/networking/link.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     io::{BufStream, AsyncBufRead, AsyncBufReadExt}
[INFO] [stdout]    |          ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_rustls::rustls`
[INFO] [stdout]   --> src/networking/link.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio_rustls::rustls;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TlsAcceptor`, `TlsStream`
[INFO] [stdout]   --> src/networking/link.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 | use tokio_rustls::{TlsStream, TlsAcceptor};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Certificate`, `PrivateKey`, `ServerConfig`, `server::NoClientAuth`
[INFO] [stdout]   --> src/networking/link.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Certificate, PrivateKey, ServerConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 26 |     server::NoClientAuth
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/networking/link.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use tokio::io::{AsyncRead, AsyncWrite, AsyncReadExt};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::timeout`
[INFO] [stdout]   --> src/networking/link.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use tokio::time::timeout;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::codec::Framed`
[INFO] [stdout]   --> src/networking/link.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tokio_util::codec::Framed;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientHelloStatus`, `HttpRequestStatus`, `check_http_request`, `check_tls_client_hello`, `generate_id`
[INFO] [stdout]   --> src/networking/link.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | use crate::util::{ClientHelloStatus, check_tls_client_hello, check_http_request, HttpRequestStatus, generate_id};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocketStream`
[INFO] [stdout]   --> src/networking/link.rs:40:38
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_tungstenite::{tungstenite, WebSocketStream, accept_async};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tungstenite::Error as WsError`
[INFO] [stdout]   --> src/networking/link.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use tungstenite::Error as WsError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reply`
[INFO] [stdout]  --> src/networking/web.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use warp::{Filter, Reply};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/protocols/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/protocols/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Msg2MudProtocol`
[INFO] [stdout]   --> src/protocols/link/protocol.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::msg::{Msg2Link, Msg2MudProtocol, Msg2Portal, Msg2PortalFromLink};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `Read`
[INFO] [stdout]   --> src/protocols/telnet/codec.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::{Cursor, Read, Write};
[INFO] [stdout]    |               ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value as JsonValue`
[INFO] [stdout]   --> src/protocols/telnet/codec.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use serde_json::{Result as JsonResult, Value as JsonValue};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:169:72
[INFO] [stdout]     |
[INFO] [stdout] 169 |             matches!(item, TelnetEvent::SubNegotiate(codes::MCCP2, _));;
[INFO] [stdout]     |                                                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:212:15
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if(tel_op.start_local) {
[INFO] [stdout]     |               ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -             if(tel_op.start_local) {
[INFO] [stdout] 212 +             if tel_op.start_local {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:217:15
[INFO] [stdout]     |
[INFO] [stdout] 217 |             if(tel_op.start_remote) {
[INFO] [stdout]     |               ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 217 -             if(tel_op.start_remote) {
[INFO] [stdout] 217 +             if tel_op.start_remote {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:267:11
[INFO] [stdout]     |
[INFO] [stdout] 267 |         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stdout]     |           ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 267 -         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stdout] 267 +         if self.time_activity.elapsed().as_secs() > (60 * 30) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `net::SocketAddr`
[INFO] [stdout]  --> src/protocols/websocket/protocol.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^^^
[INFO] [stdout] 3 |     vec::Vec,
[INFO] [stdout] 4 |     net::SocketAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/protocols/websocket/protocol.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     io::{AsyncRead, AsyncWrite},
[INFO] [stdout]   |          ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Framed`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio_util::codec::{Framed};
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, `Bytes`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use bytes::{BytesMut, Bytes, BufMut, Buf};
[INFO] [stdout]    |             ^^^^^^^^  ^^^^^  ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as JsonValue`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde_json::{json, Value as JsonValue};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use once_cell::sync::Lazy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::ensure_crlf`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     util::ensure_crlf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/portal.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     time::{Duration, Instant}
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/portal.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `task::JoinHandle`
[INFO] [stdout]  --> src/portal.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     task::JoinHandle,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::yield_now`
[INFO] [stdout]   --> src/portal.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio::task::yield_now;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue`
[INFO] [stdout]  --> src/msg.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value as JsonValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/protocols/link/protocol.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/protocols/link/protocol.rs:222:30
[INFO] [stdout]     |
[INFO] [stdout] 222 |             WsMessage::Close(c) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/networking/telnet.rs:138:57
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub async fn handle_telnet_connection<S>(&mut self, mut socket: S,tls_engaged: bool) -> Result<(), Box<dyn std::error::Error>>
[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 variable: `e`
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:586:45
[INFO] [stdout]     |
[INFO] [stdout] 586 |     async fn receive_sub(&mut self, op: u8, mut data: Bytes) {
[INFO] [stdout]     |                                             ----^^^^
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `handshake` is assigned to, but never used
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |         let mut handshake: u8 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_handshake` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:441:25
[INFO] [stdout]     |
[INFO] [stdout] 441 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:451:25
[INFO] [stdout]     |
[INFO] [stdout] 451 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:470:25
[INFO] [stdout]     |
[INFO] [stdout] 470 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:480:25
[INFO] [stdout]     |
[INFO] [stdout] 480 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ins`
[INFO] [stdout]    --> src/protocols/websocket/protocol.rs:122:47
[INFO] [stdout]     |
[INFO] [stdout] 122 |     async fn handle_interval_timer(&mut self, ins: Instant) {
[INFO] [stdout]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:336:49
[INFO] [stdout]     |
[INFO] [stdout] 336 |     async fn handle_protocol_command(&mut self, cmd: String) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/protocols/websocket/protocol.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |     async fn handle_binary_message(&mut self, v: Vec<u8>) {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]   --> src/portal.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for (conn_id, client) in self.clients.iter_mut() {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]    --> src/portal.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Msg2Portal::FromLink(conn_id, m) => {
[INFO] [stdout]     |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/portal.rs:115:71
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     Msg2PortalFromLink::ClientDisconnected(client_id, reason) => {
[INFO] [stdout]     |                                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]    --> src/portal.rs:150:42
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stdout]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/portal.rs:150:51
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stdout]     |                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]   --> src/portal.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     sink::{SinkExt},
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/networking/web.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut tera = match tera::Tera::new("webroot/**/*.html") {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hostnames`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn new(conn_id: usize, conn: WebSocket, addr: String, port: u16, hostnames: Vec<String>) -> Self {
[INFO] [stdout]    |                                                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostnames`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `newline_pos`
[INFO] [stdout]   --> src/util.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |             if let Some(newline_pos) = data.iter().position(|&byte| byte == b'\n') {
[INFO] [stdout]    |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `tls` are never read
[INFO] [stdout]   --> src/protocols/link/protocol.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct LinkProtocol<T> {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 93 |     conn_id: usize,
[INFO] [stdout] 94 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 95 |     tls: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time_created` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TelnetProtocol<T> {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 131 |     time_created: Instant,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `time_created` and `time_activity` are never read
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct WebsocketProtocol {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     time_created: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 50 |     time_activity: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             encoder.write_all(b.as_ref());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let _ = encoder.write_all(b.as_ref());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |             &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let _ = &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling thermite v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 62 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `IpAddr`
[INFO] [stdout]  --> src/main.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Arc`, `AtomicUsize`, `IpAddr`, `PathBuf`, `fs::File`, `io::BufReader`
[INFO] [stdout]  --> src/networking/link.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 4 |     path::{PathBuf},
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout] 5 |     sync::{Arc},
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 6 |     sync::atomic::{AtomicUsize, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^^^
[INFO] [stdout] 7 |     fs::File,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 8 |     io::BufReader
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]   --> src/networking/link.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::Read;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/networking/link.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncBufReadExt`, `AsyncBufRead`, `BufStream`
[INFO] [stdout]   --> src/networking/link.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 |     io::{BufStream, AsyncBufRead, AsyncBufReadExt}
[INFO] [stdout]    |          ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_rustls::rustls`
[INFO] [stdout]   --> src/networking/link.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio_rustls::rustls;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TlsAcceptor`, `TlsStream`
[INFO] [stdout]   --> src/networking/link.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 | use tokio_rustls::{TlsStream, TlsAcceptor};
[INFO] [stdout]    |                    ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Certificate`, `PrivateKey`, `ServerConfig`, `server::NoClientAuth`
[INFO] [stdout]   --> src/networking/link.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     Certificate, PrivateKey, ServerConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 26 |     server::NoClientAuth
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncWrite`
[INFO] [stdout]   --> src/networking/link.rs:31:17
[INFO] [stdout]    |
[INFO] [stdout] 31 | use tokio::io::{AsyncRead, AsyncWrite, AsyncReadExt};
[INFO] [stdout]    |                 ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::timeout`
[INFO] [stdout]   --> src/networking/link.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | use tokio::time::timeout;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_util::codec::Framed`
[INFO] [stdout]   --> src/networking/link.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tokio_util::codec::Framed;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `ClientHelloStatus`, `HttpRequestStatus`, `check_http_request`, `check_tls_client_hello`, `generate_id`
[INFO] [stdout]   --> src/networking/link.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | use crate::util::{ClientHelloStatus, check_tls_client_hello, check_http_request, HttpRequestStatus, generate_id};
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `WebSocketStream`
[INFO] [stdout]   --> src/networking/link.rs:40:38
[INFO] [stdout]    |
[INFO] [stdout] 40 | use tokio_tungstenite::{tungstenite, WebSocketStream, accept_async};
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tungstenite::Error as WsError`
[INFO] [stdout]   --> src/networking/link.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 | use tungstenite::Error as WsError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Reply`
[INFO] [stdout]  --> src/networking/web.rs:1:20
[INFO] [stdout]   |
[INFO] [stdout] 1 | use warp::{Filter, Reply};
[INFO] [stdout]   |                    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]  --> src/protocols/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::net::SocketAddr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::sync::Arc`
[INFO] [stdout]  --> src/protocols/mod.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Msg2MudProtocol`
[INFO] [stdout]   --> src/protocols/link/protocol.rs:20:28
[INFO] [stdout]    |
[INFO] [stdout] 20 | use crate::msg::{Msg2Link, Msg2MudProtocol, Msg2Portal, Msg2PortalFromLink};
[INFO] [stdout]    |                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Cursor`, `Read`
[INFO] [stdout]   --> src/protocols/telnet/codec.rs:10:15
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::{Cursor, Read, Write};
[INFO] [stdout]    |               ^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Result as JsonResult`, `Value as JsonValue`
[INFO] [stdout]   --> src/protocols/telnet/codec.rs:20:18
[INFO] [stdout]    |
[INFO] [stdout] 20 | use serde_json::{Result as JsonResult, Value as JsonValue};
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:169:72
[INFO] [stdout]     |
[INFO] [stdout] 169 |             matches!(item, TelnetEvent::SubNegotiate(codes::MCCP2, _));;
[INFO] [stdout]     |                                                                        ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:212:15
[INFO] [stdout]     |
[INFO] [stdout] 212 |             if(tel_op.start_local) {
[INFO] [stdout]     |               ^                  ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 212 -             if(tel_op.start_local) {
[INFO] [stdout] 212 +             if tel_op.start_local {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:217:15
[INFO] [stdout]     |
[INFO] [stdout] 217 |             if(tel_op.start_remote) {
[INFO] [stdout]     |               ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 217 -             if(tel_op.start_remote) {
[INFO] [stdout] 217 +             if tel_op.start_remote {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:267:11
[INFO] [stdout]     |
[INFO] [stdout] 267 |         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stdout]     |           ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 267 -         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stdout] 267 +         if self.time_activity.elapsed().as_secs() > (60 * 30) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `net::SocketAddr`
[INFO] [stdout]  --> src/protocols/websocket/protocol.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 |     collections::{HashMap, HashSet},
[INFO] [stdout]   |                   ^^^^^^^  ^^^^^^^
[INFO] [stdout] 3 |     vec::Vec,
[INFO] [stdout] 4 |     net::SocketAddr,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stdout]  --> src/protocols/websocket/protocol.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 |     io::{AsyncRead, AsyncWrite},
[INFO] [stdout]   |          ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Framed`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:14:25
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tokio_util::codec::{Framed};
[INFO] [stdout]    |                         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, `Bytes`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use bytes::{BytesMut, Bytes, BufMut, Buf};
[INFO] [stdout]    |             ^^^^^^^^  ^^^^^  ^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Value as JsonValue`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:25:24
[INFO] [stdout]    |
[INFO] [stdout] 25 | use serde_json::{json, Value as JsonValue};
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use once_cell::sync::Lazy;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `util::ensure_crlf`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     util::ensure_crlf,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Instant`
[INFO] [stdout]  --> src/portal.rs:3:22
[INFO] [stdout]   |
[INFO] [stdout] 3 |     time::{Duration, Instant}
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/portal.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `task::JoinHandle`
[INFO] [stdout]  --> src/portal.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     task::JoinHandle,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::task::yield_now`
[INFO] [stdout]   --> src/portal.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use tokio::task::yield_now;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::Value as JsonValue`
[INFO] [stdout]  --> src/msg.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use serde_json::Value as JsonValue;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/protocols/link/protocol.rs:126:33
[INFO] [stdout]     |
[INFO] [stdout] 126 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/protocols/link/protocol.rs:222:30
[INFO] [stdout]     |
[INFO] [stdout] 222 |             WsMessage::Close(c) => {
[INFO] [stdout]     |                              ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/networking/telnet.rs:138:57
[INFO] [stdout]     |
[INFO] [stdout] 138 |     pub async fn handle_telnet_connection<S>(&mut self, mut socket: S,tls_engaged: bool) -> Result<(), Box<dyn std::error::Error>>
[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 variable: `e`
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:184:21
[INFO] [stdout]     |
[INFO] [stdout] 184 |                 Err(e) => {
[INFO] [stdout]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:586:45
[INFO] [stdout]     |
[INFO] [stdout] 586 |     async fn receive_sub(&mut self, op: u8, mut data: Bytes) {
[INFO] [stdout]     |                                             ----^^^^
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `handshake` is assigned to, but never used
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:418:17
[INFO] [stdout]     |
[INFO] [stdout] 418 |         let mut handshake: u8 = 0;
[INFO] [stdout]     |                 ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_handshake` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:441:25
[INFO] [stdout]     |
[INFO] [stdout] 441 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:451:25
[INFO] [stdout]     |
[INFO] [stdout] 451 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:470:25
[INFO] [stdout]     |
[INFO] [stdout] 470 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `handshake` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:480:25
[INFO] [stdout]     |
[INFO] [stdout] 480 |                         handshake = op;
[INFO] [stdout]     |                         ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ins`
[INFO] [stdout]    --> src/protocols/websocket/protocol.rs:122:47
[INFO] [stdout]     |
[INFO] [stdout] 122 |     async fn handle_interval_timer(&mut self, ins: Instant) {
[INFO] [stdout]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ins`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cmd`
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:336:49
[INFO] [stdout]     |
[INFO] [stdout] 336 |     async fn handle_protocol_command(&mut self, cmd: String) {
[INFO] [stdout]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout]    --> src/protocols/websocket/protocol.rs:203:47
[INFO] [stdout]     |
[INFO] [stdout] 203 |     async fn handle_binary_message(&mut self, v: Vec<u8>) {
[INFO] [stdout]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]   --> src/portal.rs:72:14
[INFO] [stdout]    |
[INFO] [stdout] 72 |         for (conn_id, client) in self.clients.iter_mut() {
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]    --> src/portal.rs:108:34
[INFO] [stdout]     |
[INFO] [stdout] 108 |             Msg2Portal::FromLink(conn_id, m) => {
[INFO] [stdout]     |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/portal.rs:115:71
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     Msg2PortalFromLink::ClientDisconnected(client_id, reason) => {
[INFO] [stdout]     |                                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `conn_id`
[INFO] [stdout]    --> src/portal.rs:150:42
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stdout]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/portal.rs:150:51
[INFO] [stdout]     |
[INFO] [stdout] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stdout]     |                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SinkExt`
[INFO] [stdout]   --> src/portal.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 |     sink::{SinkExt},
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/networking/web.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut tera = match tera::Tera::new("webroot/**/*.html") {
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hostnames`
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:55:74
[INFO] [stdout]    |
[INFO] [stdout] 55 |     pub fn new(conn_id: usize, conn: WebSocket, addr: String, port: u16, hostnames: Vec<String>) -> Self {
[INFO] [stdout]    |                                                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostnames`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `newline_pos`
[INFO] [stdout]   --> src/util.rs:95:25
[INFO] [stdout]    |
[INFO] [stdout] 95 |             if let Some(newline_pos) = data.iter().position(|&byte| byte == b'\n') {
[INFO] [stdout]    |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `tls` are never read
[INFO] [stdout]   --> src/protocols/link/protocol.rs:94:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct LinkProtocol<T> {
[INFO] [stdout]    |            ------------ fields in this struct
[INFO] [stdout] 93 |     conn_id: usize,
[INFO] [stdout] 94 |     addr: SocketAddr,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 95 |     tls: bool,
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `time_created` is never read
[INFO] [stdout]    --> src/protocols/telnet/protocol.rs:131:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TelnetProtocol<T> {
[INFO] [stdout]     |            -------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 131 |     time_created: Instant,
[INFO] [stdout]     |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `time_created` and `time_activity` are never read
[INFO] [stdout]   --> src/protocols/websocket/protocol.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct WebsocketProtocol {
[INFO] [stdout]    |            ----------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 49 |     time_created: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 50 |     time_activity: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:174:13
[INFO] [stdout]     |
[INFO] [stdout] 174 |             encoder.write_all(b.as_ref());
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 174 |             let _ = encoder.write_all(b.as_ref());
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/protocols/telnet/codec.rs:176:13
[INFO] [stdout]     |
[INFO] [stdout] 176 |             &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 176 |             let _ = &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 62 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 3.87s
[INFO] running `Command { std: "docker" "inspect" "6475ffbbb07d6e060375bcceae8ca1e3e798046e5b631a8900177ee1cb8b3ce2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6475ffbbb07d6e060375bcceae8ca1e3e798046e5b631a8900177ee1cb8b3ce2", kill_on_drop: false }`
[INFO] [stdout] 6475ffbbb07d6e060375bcceae8ca1e3e798046e5b631a8900177ee1cb8b3ce2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.76.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 72005d99247d702c4c4225e93cc48bfe2beced770425d9f5888dc17f44b7cd0b
[INFO] running `Command { std: "docker" "start" "-a" "72005d99247d702c4c4225e93cc48bfe2beced770425d9f5888dc17f44b7cd0b", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `Arc`, `AtomicUsize`, `IpAddr`, `PathBuf`, `fs::File`, `io::BufReader`
[INFO] [stderr]  --> src/networking/link.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr] 4 |     path::{PathBuf},
[INFO] [stderr]   |            ^^^^^^^
[INFO] [stderr] 5 |     sync::{Arc},
[INFO] [stderr]   |            ^^^
[INFO] [stderr] 6 |     sync::atomic::{AtomicUsize, Ordering},
[INFO] [stderr]   |                    ^^^^^^^^^^^
[INFO] [stderr] 7 |     fs::File,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 8 |     io::BufReader
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::Read`
[INFO] [stderr]   --> src/networking/link.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::io::Read;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::time::Duration`
[INFO] [stderr]   --> src/networking/link.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use std::time::Duration;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncBufReadExt`, `AsyncBufRead`, `BufStream`
[INFO] [stderr]   --> src/networking/link.rs:18:10
[INFO] [stderr]    |
[INFO] [stderr] 18 |     io::{BufStream, AsyncBufRead, AsyncBufReadExt}
[INFO] [stderr]    |          ^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_rustls::rustls`
[INFO] [stderr]   --> src/networking/link.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use tokio_rustls::rustls;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `TlsAcceptor`, `TlsStream`
[INFO] [stderr]   --> src/networking/link.rs:22:20
[INFO] [stderr]    |
[INFO] [stderr] 22 | use tokio_rustls::{TlsStream, TlsAcceptor};
[INFO] [stderr]    |                    ^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Certificate`, `PrivateKey`, `ServerConfig`, `server::NoClientAuth`
[INFO] [stderr]   --> src/networking/link.rs:25:5
[INFO] [stderr]    |
[INFO] [stderr] 25 |     Certificate, PrivateKey, ServerConfig,
[INFO] [stderr]    |     ^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 26 |     server::NoClientAuth
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncReadExt`, `AsyncRead`, `AsyncWrite`
[INFO] [stderr]   --> src/networking/link.rs:31:17
[INFO] [stderr]    |
[INFO] [stderr] 31 | use tokio::io::{AsyncRead, AsyncWrite, AsyncReadExt};
[INFO] [stderr]    |                 ^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::time::timeout`
[INFO] [stderr]   --> src/networking/link.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 | use tokio::time::timeout;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio_util::codec::Framed`
[INFO] [stderr]   --> src/networking/link.rs:33:5
[INFO] [stderr]    |
[INFO] [stderr] 33 | use tokio_util::codec::Framed;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `ClientHelloStatus`, `HttpRequestStatus`, `check_http_request`, `check_tls_client_hello`, `generate_id`
[INFO] [stderr]   --> src/networking/link.rs:38:19
[INFO] [stderr]    |
[INFO] [stderr] 38 | use crate::util::{ClientHelloStatus, check_tls_client_hello, check_http_request, HttpRequestStatus, generate_id};
[INFO] [stderr]    |                   ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `WebSocketStream`
[INFO] [stderr]   --> src/networking/link.rs:40:38
[INFO] [stderr]    |
[INFO] [stderr] 40 | use tokio_tungstenite::{tungstenite, WebSocketStream, accept_async};
[INFO] [stderr]    |                                      ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tungstenite::Error as WsError`
[INFO] [stderr]   --> src/networking/link.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 | use tungstenite::Error as WsError;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Reply`
[INFO] [stderr]  --> src/networking/web.rs:1:20
[INFO] [stderr]   |
[INFO] [stderr] 1 | use warp::{Filter, Reply};
[INFO] [stderr]   |                    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::net::SocketAddr`
[INFO] [stderr]  --> src/protocols/mod.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use std::net::SocketAddr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::sync::Arc`
[INFO] [stderr]  --> src/protocols/mod.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Msg2MudProtocol`
[INFO] [stderr]   --> src/protocols/link/protocol.rs:20:28
[INFO] [stderr]    |
[INFO] [stderr] 20 | use crate::msg::{Msg2Link, Msg2MudProtocol, Msg2Portal, Msg2PortalFromLink};
[INFO] [stderr]    |                            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Cursor`, `Read`
[INFO] [stderr]   --> src/protocols/telnet/codec.rs:10:15
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::io::{Cursor, Read, Write};
[INFO] [stderr]    |               ^^^^^^  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Result as JsonResult`, `Value as JsonValue`
[INFO] [stderr]   --> src/protocols/telnet/codec.rs:20:18
[INFO] [stderr]    |
[INFO] [stderr] 20 | use serde_json::{Result as JsonResult, Value as JsonValue};
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/protocols/telnet/codec.rs:169:72
[INFO] [stderr]     |
[INFO] [stderr] 169 |             matches!(item, TelnetEvent::SubNegotiate(codes::MCCP2, _));;
[INFO] [stderr]     |                                                                        ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:212:15
[INFO] [stderr]     |
[INFO] [stderr] 212 |             if(tel_op.start_local) {
[INFO] [stderr]     |               ^                  ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 212 -             if(tel_op.start_local) {
[INFO] [stderr] 212 +             if tel_op.start_local {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:217:15
[INFO] [stderr]     |
[INFO] [stderr] 217 |             if(tel_op.start_remote) {
[INFO] [stderr]     |               ^                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 217 -             if(tel_op.start_remote) {
[INFO] [stderr] 217 +             if tel_op.start_remote {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:267:11
[INFO] [stderr]     |
[INFO] [stderr] 267 |         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stderr]     |           ^                                                  ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 267 -         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stderr] 267 +         if self.time_activity.elapsed().as_secs() > (60 * 30) {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `HashMap`, `HashSet`, `net::SocketAddr`
[INFO] [stderr]  --> src/protocols/websocket/protocol.rs:2:19
[INFO] [stderr]   |
[INFO] [stderr] 2 |     collections::{HashMap, HashSet},
[INFO] [stderr]   |                   ^^^^^^^  ^^^^^^^
[INFO] [stderr] 3 |     vec::Vec,
[INFO] [stderr] 4 |     net::SocketAddr,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AsyncRead`, `AsyncWrite`
[INFO] [stderr]  --> src/protocols/websocket/protocol.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 |     io::{AsyncRead, AsyncWrite},
[INFO] [stderr]   |          ^^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Framed`
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:14:25
[INFO] [stderr]    |
[INFO] [stderr] 14 | use tokio_util::codec::{Framed};
[INFO] [stderr]    |                         ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `BufMut`, `Buf`, `BytesMut`, `Bytes`
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:18:13
[INFO] [stderr]    |
[INFO] [stderr] 18 | use bytes::{BytesMut, Bytes, BufMut, Buf};
[INFO] [stderr]    |             ^^^^^^^^  ^^^^^  ^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Value as JsonValue`
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:25:24
[INFO] [stderr]    |
[INFO] [stderr] 25 | use serde_json::{json, Value as JsonValue};
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `once_cell::sync::Lazy`
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | use once_cell::sync::Lazy;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `util::ensure_crlf`
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     util::ensure_crlf,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Instant`
[INFO] [stderr]  --> src/portal.rs:3:22
[INFO] [stderr]   |
[INFO] [stderr] 3 |     time::{Duration, Instant}
[INFO] [stderr]   |                      ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::error::Error`
[INFO] [stderr]  --> src/portal.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::error::Error;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `task::JoinHandle`
[INFO] [stderr]  --> src/portal.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     task::JoinHandle,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `tokio::task::yield_now`
[INFO] [stderr]   --> src/portal.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 | use tokio::task::yield_now;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::Value as JsonValue`
[INFO] [stderr]  --> src/msg.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use serde_json::Value as JsonValue;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/protocols/link/protocol.rs:126:33
[INFO] [stderr]     |
[INFO] [stderr] 126 | ...                   Err(e) => {
[INFO] [stderr]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]    --> src/protocols/link/protocol.rs:222:30
[INFO] [stderr]     |
[INFO] [stderr] 222 |             WsMessage::Close(c) => {
[INFO] [stderr]     |                              ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/networking/telnet.rs:138:57
[INFO] [stderr]     |
[INFO] [stderr] 138 |     pub async fn handle_telnet_connection<S>(&mut self, mut socket: S,tls_engaged: bool) -> Result<(), Box<dyn std::error::Error>>
[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 variable: `e`
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:184:21
[INFO] [stderr]     |
[INFO] [stderr] 184 |                 Err(e) => {
[INFO] [stderr]     |                     ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:586:45
[INFO] [stderr]     |
[INFO] [stderr] 586 |     async fn receive_sub(&mut self, op: u8, mut data: Bytes) {
[INFO] [stderr]     |                                             ----^^^^
[INFO] [stderr]     |                                             |
[INFO] [stderr]     |                                             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: variable `handshake` is assigned to, but never used
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:418:17
[INFO] [stderr]     |
[INFO] [stderr] 418 |         let mut handshake: u8 = 0;
[INFO] [stderr]     |                 ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_handshake` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `handshake` is never read
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:441:25
[INFO] [stderr]     |
[INFO] [stderr] 441 |                         handshake = op;
[INFO] [stderr]     |                         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `handshake` is never read
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:451:25
[INFO] [stderr]     |
[INFO] [stderr] 451 |                         handshake = op;
[INFO] [stderr]     |                         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `handshake` is never read
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:470:25
[INFO] [stderr]     |
[INFO] [stderr] 470 |                         handshake = op;
[INFO] [stderr]     |                         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `handshake` is never read
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:480:25
[INFO] [stderr]     |
[INFO] [stderr] 480 |                         handshake = op;
[INFO] [stderr]     |                         ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ins`
[INFO] [stderr]    --> src/protocols/websocket/protocol.rs:122:47
[INFO] [stderr]     |
[INFO] [stderr] 122 |     async fn handle_interval_timer(&mut self, ins: Instant) {
[INFO] [stderr]     |                                               ^^^ help: if this is intentional, prefix it with an underscore: `_ins`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cmd`
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:336:49
[INFO] [stderr]     |
[INFO] [stderr] 336 |     async fn handle_protocol_command(&mut self, cmd: String) {
[INFO] [stderr]     |                                                 ^^^ help: if this is intentional, prefix it with an underscore: `_cmd`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `v`
[INFO] [stderr]    --> src/protocols/websocket/protocol.rs:203:47
[INFO] [stderr]     |
[INFO] [stderr] 203 |     async fn handle_binary_message(&mut self, v: Vec<u8>) {
[INFO] [stderr]     |                                               ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `conn_id`
[INFO] [stderr]   --> src/portal.rs:72:14
[INFO] [stderr]    |
[INFO] [stderr] 72 |         for (conn_id, client) in self.clients.iter_mut() {
[INFO] [stderr]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `conn_id`
[INFO] [stderr]    --> src/portal.rs:108:34
[INFO] [stderr]     |
[INFO] [stderr] 108 |             Msg2Portal::FromLink(conn_id, m) => {
[INFO] [stderr]     |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]    --> src/portal.rs:115:71
[INFO] [stderr]     |
[INFO] [stderr] 115 |                     Msg2PortalFromLink::ClientDisconnected(client_id, reason) => {
[INFO] [stderr]     |                                                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `conn_id`
[INFO] [stderr]    --> src/portal.rs:150:42
[INFO] [stderr]     |
[INFO] [stderr] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stderr]     |                                          ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_conn_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]    --> src/portal.rs:150:51
[INFO] [stderr]     |
[INFO] [stderr] 150 |             Msg2Portal::LinkDisconnected(conn_id, reason) => {
[INFO] [stderr]     |                                                   ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `SinkExt`
[INFO] [stderr]   --> src/portal.rs:18:12
[INFO] [stderr]    |
[INFO] [stderr] 18 |     sink::{SinkExt},
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/networking/web.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let mut tera = match tera::Tera::new("webroot/**/*.html") {
[INFO] [stderr]    |         ----^^^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hostnames`
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:55:74
[INFO] [stderr]    |
[INFO] [stderr] 55 |     pub fn new(conn_id: usize, conn: WebSocket, addr: String, port: u16, hostnames: Vec<String>) -> Self {
[INFO] [stderr]    |                                                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hostnames`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `newline_pos`
[INFO] [stderr]   --> src/util.rs:95:25
[INFO] [stderr]    |
[INFO] [stderr] 95 |             if let Some(newline_pos) = data.iter().position(|&byte| byte == b'\n') {
[INFO] [stderr]    |                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_newline_pos`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `addr` and `tls` are never read
[INFO] [stderr]   --> src/protocols/link/protocol.rs:94:5
[INFO] [stderr]    |
[INFO] [stderr] 92 | pub struct LinkProtocol<T> {
[INFO] [stderr]    |            ------------ fields in this struct
[INFO] [stderr] 93 |     conn_id: usize,
[INFO] [stderr] 94 |     addr: SocketAddr,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 95 |     tls: bool,
[INFO] [stderr]    |     ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field `time_created` is never read
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:131:5
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub struct TelnetProtocol<T> {
[INFO] [stderr]     |            -------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 131 |     time_created: Instant,
[INFO] [stderr]     |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `time_created` and `time_activity` are never read
[INFO] [stderr]   --> src/protocols/websocket/protocol.rs:49:5
[INFO] [stderr]    |
[INFO] [stderr] 42 | pub struct WebsocketProtocol {
[INFO] [stderr]    |            ----------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 49 |     time_created: Instant,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 50 |     time_activity: Instant,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/protocols/telnet/codec.rs:174:13
[INFO] [stderr]     |
[INFO] [stderr] 174 |             encoder.write_all(b.as_ref());
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 174 |             let _ = encoder.write_all(b.as_ref());
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> src/protocols/telnet/codec.rs:176:13
[INFO] [stderr]     |
[INFO] [stderr] 176 |             &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 176 |             let _ = &dst.writer().write_all(encoder.get_mut().get_mut())?;
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `thermite` (lib) generated 62 warnings (run `cargo fix --lib -p thermite` to apply 50 suggestions)
[INFO] [stderr] warning: `thermite` (lib test) generated 62 warnings (62 duplicates)
[INFO] [stderr] warning: unused import: `IpAddr`
[INFO] [stderr]  --> src/main.rs:3:11
[INFO] [stderr]   |
[INFO] [stderr] 3 |     net::{IpAddr, SocketAddr},
[INFO] [stderr]   |           ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `thermite` (bin "thermite" test) generated 1 warning (run `cargo fix --bin "thermite" --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thermite-36b96494cb47b236)
[INFO] [stdout] 
[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] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/thermite-65801d417a9659f3)
[INFO] [stdout] 
[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] [stderr]    Doc-tests thermite
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/protocols/telnet/codec.rs:169:72
[INFO] [stderr]     |
[INFO] [stderr] 169 |             matches!(item, TelnetEvent::SubNegotiate(codes::MCCP2, _));;
[INFO] [stderr]     |                                                                        ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:212:15
[INFO] [stderr]     |
[INFO] [stderr] 212 |             if(tel_op.start_local) {
[INFO] [stderr]     |               ^                  ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 212 -             if(tel_op.start_local) {
[INFO] [stderr] 212 +             if tel_op.start_local {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:217:15
[INFO] [stderr]     |
[INFO] [stderr] 217 |             if(tel_op.start_remote) {
[INFO] [stderr]     |               ^                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 217 -             if(tel_op.start_remote) {
[INFO] [stderr] 217 +             if tel_op.start_remote {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/protocols/telnet/protocol.rs:267:11
[INFO] [stderr]     |
[INFO] [stderr] 267 |         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stderr]     |           ^                                                  ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 267 -         if(self.time_activity.elapsed().as_secs() > (60 * 30)) {
[INFO] [stderr] 267 +         if self.time_activity.elapsed().as_secs() > (60 * 30) {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: 4 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[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" "72005d99247d702c4c4225e93cc48bfe2beced770425d9f5888dc17f44b7cd0b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72005d99247d702c4c4225e93cc48bfe2beced770425d9f5888dc17f44b7cd0b", kill_on_drop: false }`
[INFO] [stdout] 72005d99247d702c4c4225e93cc48bfe2beced770425d9f5888dc17f44b7cd0b
