[INFO] cloning repository https://github.com/LeyviRose/qsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeyviRose/qsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeyviRose%2Fqsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeyviRose%2Fqsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a928746a027dfaf0f9ece450fefdba93f2a326f3 [INFO] checking LeyviRose/qsh against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeyviRose%2Fqsh" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LeyviRose/qsh [INFO] finished tweaking git repo https://github.com/LeyviRose/qsh [INFO] tweaked toml for git repo https://github.com/LeyviRose/qsh written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LeyviRose/qsh on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LeyviRose/qsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dtt v0.0.6 [INFO] [stderr] Downloaded vrd v0.0.5 [INFO] [stderr] Downloaded quote v1.0.39 [INFO] [stderr] Downloaded bincode_derive v2.0.1 [INFO] [stderr] Downloaded rustc-std-workspace-core v1.0.1 [INFO] [stderr] Downloaded nasm-rs v0.3.0 [INFO] [stderr] Downloaded dtt v0.0.5 [INFO] [stderr] Downloaded arbitrary-int v1.3.0 [INFO] [stderr] Downloaded virtue v0.0.18 [INFO] [stderr] Downloaded vrd v0.0.7 [INFO] [stderr] Downloaded rlg v0.0.4 [INFO] [stderr] Downloaded rlg v0.0.3 [INFO] [stderr] Downloaded pqc_core v0.3.0 [INFO] [stderr] Downloaded kyberlib v0.0.6 [INFO] [stderr] Downloaded fips204 v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89235841e193718d176945539bc01f036230ea1aac69b3ff9d7d94cdf99f8a1a [INFO] running `Command { std: "docker" "start" "-a" "89235841e193718d176945539bc01f036230ea1aac69b3ff9d7d94cdf99f8a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89235841e193718d176945539bc01f036230ea1aac69b3ff9d7d94cdf99f8a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89235841e193718d176945539bc01f036230ea1aac69b3ff9d7d94cdf99f8a1a", kill_on_drop: false }` [INFO] [stdout] 89235841e193718d176945539bc01f036230ea1aac69b3ff9d7d94cdf99f8a1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16fb39dad20430198fbe89627d14e4d9111f24ce9aa5b9f3cf3c42d560ad6a54 [INFO] running `Command { std: "docker" "start" "-a" "16fb39dad20430198fbe89627d14e4d9111f24ce9aa5b9f3cf3c42d560ad6a54", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking time-core v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking rustc-std-workspace-core v1.0.1 [INFO] [stderr] Compiling dtt v0.0.5 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling vrd v0.0.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Compiling rlg v0.0.3 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling vrd v0.0.7 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling dtt v0.0.6 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Checking time v0.3.39 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling rlg v0.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling nasm-rs v0.3.0 [INFO] [stderr] Checking once_cell v1.21.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking hostname v0.4.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking lz4_flex v0.11.3 [INFO] [stderr] Checking arbitrary-int v1.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling kyberlib v0.0.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking pqc_core v0.3.0 [INFO] [stderr] Checking fips204 v0.4.6 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Checking wasm-bindgen v0.2.100 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde-big-array v0.5.1 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking qsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PrivateKey` [INFO] [stdout] --> src/qsh-keygen/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | PrivateKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zeroize::Zeroizing` [INFO] [stdout] --> src/qsh-keygen/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use zeroize::Zeroizing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions`, `net::Ipv6Addr`, and `read` [INFO] [stdout] --> src/qsh-keygen/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | env, fs::{read, set_permissions, write, File, Permissions, OpenOptions}, io::{Read, Seek, Write, SeekFrom}, net::Ipv6Addr, os::unix::fs:... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encode` and `config` [INFO] [stdout] --> src/qsh/daemon.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | self, config, Encode [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `self`, and `self` [INFO] [stdout] --> src/qsh/daemon.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | File, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PrivateKey` [INFO] [stdout] --> src/qsh-keygen/main.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 7 | PrivateKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `zeroize::Zeroizing` [INFO] [stdout] --> src/qsh-keygen/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use zeroize::Zeroizing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpenOptions`, `net::Ipv6Addr`, and `read` [INFO] [stdout] --> src/qsh-keygen/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | env, fs::{read, set_permissions, write, File, Permissions, OpenOptions}, io::{Read, Seek, Write, SeekFrom}, net::Ipv6Addr, os::unix::fs:... [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptionsExt` [INFO] [stdout] --> src/qsh-keygen/main.rs:21:140 [INFO] [stdout] | [INFO] [stdout] 21 | ...Read, Seek, Write, SeekFrom}, net::Ipv6Addr, os::unix::fs::{OpenOptionsExt, PermissionsExt}, path::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Encode` and `config` [INFO] [stdout] --> src/qsh/daemon.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | self, config, Encode [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `File`, `self`, and `self` [INFO] [stdout] --> src/qsh/daemon.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | File, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncSeekExt`, `Duration`, `SeekFrom`, `self`, `self`, `sleep`, and `sync::watch` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | AsyncSeekExt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | SeekFrom, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | }, [INFO] [stdout] 30 | sync::watch, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | time::{ [INFO] [stdout] 32 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | sleep, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel::*` and `session::*` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | session::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | channel::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::mpsc` and `task` [INFO] [stdout] --> src/qshd/core/server/mod.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | task, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | sync::mpsc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::super::connection::*` [INFO] [stdout] --> src/qshd/core/types/config/connection.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | super::super::super::connection::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lz4_flex::frame` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use lz4_flex::frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/qshd/crypto/mod.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::kex::{KeyExchanger, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | self, PrivateKey, PublicKey, PK_LEN, SIG_LEN, SK_LEN [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | AsyncWriteExt [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zeroizing` [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | Zeroizing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/qsh-keygen/main.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | Operation::Del {name} => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/qsh-keygen/main.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | Operation::Rem {name} => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del` is never used [INFO] [stdout] --> src/qsh-keygen/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn del() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem` is never used [INFO] [stdout] --> src/qsh-keygen/main.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn rem() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> src/qsh/main.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | let service: Daemon = Daemon::new(socketpath, arguments.host, arguments.port, arguments.executable.into()).await.expect("failed to conne... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `direction`, `channel_type`, and `socket` are never read [INFO] [stdout] --> src/qsh/daemon.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 28 | struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | direction: ChannelDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | channel_type: ChannelType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `host`, `socket`, `channels`, and `executable` are never read [INFO] [stdout] --> src/qsh/daemon.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 46 | struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | host: Ipv6Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | channels: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | executable: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `socket` and `session` are never read [INFO] [stdout] --> src/qsh/daemon.rs:69:2 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Daemon { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | session: Session, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OpenOptionsExt` [INFO] [stdout] --> src/qsh-keygen/main.rs:21:140 [INFO] [stdout] | [INFO] [stdout] 21 | ...Read, Seek, Write, SeekFrom}, net::Ipv6Addr, os::unix::fs::{OpenOptionsExt, PermissionsExt}, path::{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/qshd/core/control/configuration.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | return toml::from_str(&contents).unwrap(); [INFO] [stdout] | ^^^^^^^---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `QshConfiguration`, which is uninhabited [INFO] [stdout] --> src/qshd/core/control/configuration.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | return toml::from_str(&contents).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncSeekExt`, `Duration`, `SeekFrom`, `self`, `self`, `sleep`, and `sync::watch` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | AsyncSeekExt, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | SeekFrom, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 29 | }, [INFO] [stdout] 30 | sync::watch, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | time::{ [INFO] [stdout] 32 | self, [INFO] [stdout] | ^^^^ [INFO] [stdout] 33 | sleep, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `channel::*` and `session::*` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:41:2 [INFO] [stdout] | [INFO] [stdout] 41 | session::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 42 | channel::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sync::mpsc` and `task` [INFO] [stdout] --> src/qshd/core/server/mod.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | task, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | sync::mpsc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::super::super::connection::*` [INFO] [stdout] --> src/qshd/core/types/config/connection.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | super::super::super::connection::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lz4_flex::frame` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use lz4_flex::frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/qshd/crypto/mod.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::kex::{KeyExchanger, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | self, PrivateKey, PublicKey, PK_LEN, SIG_LEN, SK_LEN [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | AsyncWriteExt [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Zeroizing` [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 31 | Zeroizing, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/qsh-keygen/main.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | Operation::Del {name} => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/qsh-keygen/main.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | Operation::Rem {name} => todo!(), [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `del` is never used [INFO] [stdout] --> src/qsh-keygen/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn del() { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rem` is never used [INFO] [stdout] --> src/qsh-keygen/main.rs:179:4 [INFO] [stdout] | [INFO] [stdout] 179 | fn rem() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> src/qsh/main.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 24 | let service: Daemon = Daemon::new(socketpath, arguments.host, arguments.port, arguments.executable.into()).await.expect("failed to conne... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `direction`, `channel_type`, and `socket` are never read [INFO] [stdout] --> src/qsh/daemon.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 28 | struct Channel { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 34 | direction: ChannelDirection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | channel_type: ChannelType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `host`, `socket`, `channels`, and `executable` are never read [INFO] [stdout] --> src/qsh/daemon.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 46 | struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 49 | id: u16, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 52 | host: Ipv6Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | channels: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | executable: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `socket` and `session` are never read [INFO] [stdout] --> src/qsh/daemon.rs:69:2 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Daemon { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | socket: UnixStream, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | session: Session, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/qshd/core/control/configuration.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | return toml::from_str(&contents).unwrap(); [INFO] [stdout] | ^^^^^^^---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] note: this expression has type `QshConfiguration`, which is uninhabited [INFO] [stdout] --> src/qshd/core/control/configuration.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 129 | return toml::from_str(&contents).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | crypto::*, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kex` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 44 | kex::*, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/qshd/core/control/configuration.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] ... [INFO] [stdout] 77 | #[serde(default = "default_authentication_method")] [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `AuthenticationMethod`, which is uninhabited [INFO] [stdout] --> src/qshd/core/control/configuration.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | #[serde(default = "default_authentication_method")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crypto` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:43:2 [INFO] [stdout] | [INFO] [stdout] 43 | crypto::*, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `kex` [INFO] [stdout] --> src/qshd/core/control/configuration.rs:44:2 [INFO] [stdout] | [INFO] [stdout] 44 | kex::*, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `configuration` [INFO] [stdout] --> src/qshd/core/server/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(configuration) = ServerConfiguration::load().await { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configuration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/qshd/core/control/configuration.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | #[derive(Debug, Copy, Clone, Deserialize)] [INFO] [stdout] | ^ unreachable expression [INFO] [stdout] ... [INFO] [stdout] 77 | #[serde(default = "default_authentication_method")] [INFO] [stdout] | ------------------------------- any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] note: this expression has type `AuthenticationMethod`, which is uninhabited [INFO] [stdout] --> src/qshd/core/control/configuration.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | #[serde(default = "default_authentication_method")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | async fn i_bound(receiver: Receiver>, socket_path: &PathBuf) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket_path` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | async fn i_bound(receiver: Receiver>, socket_path: &PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket_path` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | async fn o_bound(socket_path: &PathBuf, sender: Sender>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | async fn o_bound(socket_path: &PathBuf, sender: Sender>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `public_key` is never read [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | public_key: PublicKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rng` is never read [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | rng: ChaCha20Rng, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `remote_public_keys` is never read [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | remote_public_keys: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `configuration` [INFO] [stdout] --> src/qshd/core/server/mod.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(configuration) = ServerConfiguration::load().await { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_configuration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `receiver` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | async fn i_bound(receiver: Receiver>, socket_path: &PathBuf) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket_path` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | async fn i_bound(receiver: Receiver>, socket_path: &PathBuf) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket_path` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | async fn o_bound(socket_path: &PathBuf, sender: Sender>) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/qshd/channel/qsh_lz4_flex.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | async fn o_bound(socket_path: &PathBuf, sender: Sender>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `public_key` is never read [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:51:2 [INFO] [stdout] | [INFO] [stdout] 51 | public_key: PublicKey, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `rng` is never read [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:54:2 [INFO] [stdout] | [INFO] [stdout] 54 | rng: ChaCha20Rng, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `remote_public_keys` is never read [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:57:2 [INFO] [stdout] | [INFO] [stdout] 57 | remote_public_keys: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QshConfiguration` is never constructed [INFO] [stdout] --> src/qshd/core/control/configuration.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct QshConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `General` is never constructed [INFO] [stdout] --> src/qshd/core/control/configuration.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct General { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Methods` is never constructed [INFO] [stdout] --> src/qshd/core/control/configuration.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) struct Methods { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthenticationMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | enum AuthenticationMethod {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompressionMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | enum CompressionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CryptographyMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | enum CryptographyMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyExchangeMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | enum KeyExchangeMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 114 | impl QshConfiguration { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 115 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_update_interval` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn default_update_interval() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_authentication_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn default_authentication_method() -> AuthenticationMethod { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_compression_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn default_compression_method() -> CompressionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_cryptography_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn default_cryptography_method() -> CryptographyMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_key_exchange_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn default_key_exchange_method() -> KeyExchangeMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exec`, `connection_settings`, `session_settings`, and `channel_settings` are never read [INFO] [stdout] --> src/qshd/core/server/config.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ServerConfiguration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | exec: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | connection_settings: ConnectionConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | session_settings: SessionConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | channel_settings: ChannelConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `key_type`, and `key_name` are never read [INFO] [stdout] --> src/qshd/core/server/config.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 45 | struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | addr: Ipv6Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | key_type: KeyTypes, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | key_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFSIZE` is never used [INFO] [stdout] --> src/qshd/core/server/exec.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BUFSIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/qshd/core/server/exec.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn start(command: &str, mut i: mpsc::Receiver>, o: mpsc::Sender>, e: mpsc::Sender>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `poll_interval` and `channel` are never read [INFO] [stdout] --> src/qshd/core/types/config/channel.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChannelConfiguration { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | poll_interval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | channel: ChannelTypes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `crypto`, and `kex` are never read [INFO] [stdout] --> src/qshd/core/types/config/session.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SessionConfiguration { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | key: KeyTypes, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | crypto: CryptoTypes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | kex: KexTypes, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection`, `crypto`, and `kex` are never read [INFO] [stdout] --> src/qshd/core/types/config/connection.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ConnectionConfiguration { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | connection: ConnectionTypes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | crypto: CryptoTypes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | kex: KexTypes, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelConfig` is never constructed [INFO] [stdout] --> src/qshd/channel/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct ChannelConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_poll_interval` is never used [INFO] [stdout] --> src/qshd/channel/mod.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn default_poll_interval() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_implementation` is never used [INFO] [stdout] --> src/qshd/channel/mod.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn default_implementation() -> Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Session` is never used [INFO] [stdout] --> src/qshd/session/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CTX` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const CTX: &'static [u8] = b"qsh"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Implementation` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionConfiguration` is never constructed [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct SessionConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_allowed_crypto` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn default_allowed_crypto() -> crypto::Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_allowed_kex` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn default_allowed_kex() -> kex::Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_allowed_key` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn default_allowed_key() -> Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection` is never read [INFO] [stdout] --> src/qshd/connection/mod.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ConnectionConfiguration { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | connection: Implementation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/channel/mod.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | async fn i_bound(receiver: Receiver>, socket_path: &PathBuf); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 26 - async fn i_bound(receiver: Receiver>, socket_path: &PathBuf); [INFO] [stdout] 26 + fn i_bound(receiver: Receiver>, socket_path: &PathBuf) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/channel/mod.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | async fn o_bound(socket_path: &PathBuf, sender: Sender>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 29 - async fn o_bound(socket_path: &PathBuf, sender: Sender>); [INFO] [stdout] 29 + fn o_bound(socket_path: &PathBuf, sender: Sender>) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/qshd/kex/qsh_kyberlib.rs:104:2 [INFO] [stdout] | [INFO] [stdout] 104 | bob.set_remote_pubkey(alice.get_local_pubkey().as_slice()); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = bob.set_remote_pubkey(alice.get_local_pubkey().as_slice()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/qshd/kex/qsh_kyberlib.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 105 | alice.set_remote_pubkey(bob.get_local_pubkey().as_slice()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = alice.set_remote_pubkey(bob.get_local_pubkey().as_slice()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/connection/mod.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | async fn listen(&mut self) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 42 - async fn listen(&mut self) -> Result<(), Self::Error>; [INFO] [stdout] 42 + fn listen(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/connection/mod.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | async fn accept(&mut self) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 45 - async fn accept(&mut self) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] 45 + fn accept(&mut self) -> impl std::future::Future>, Receiver>), Self::Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/connection/mod.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | async fn connect(&mut self, addr: Ipv6Addr, port: u16) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 48 - async fn connect(&mut self, addr: Ipv6Addr, port: u16) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] 48 + fn connect(&mut self, addr: Ipv6Addr, port: u16) -> impl std::future::Future>, Receiver>), Self::Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QshConfiguration` is never constructed [INFO] [stdout] --> src/qshd/core/control/configuration.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct QshConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `General` is never constructed [INFO] [stdout] --> src/qshd/core/control/configuration.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct General { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Methods` is never constructed [INFO] [stdout] --> src/qshd/core/control/configuration.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | pub(crate) struct Methods { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthenticationMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | enum AuthenticationMethod {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CompressionMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:97:6 [INFO] [stdout] | [INFO] [stdout] 97 | enum CompressionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CryptographyMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:103:6 [INFO] [stdout] | [INFO] [stdout] 103 | enum CryptographyMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KeyExchangeMethod` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:109:6 [INFO] [stdout] | [INFO] [stdout] 109 | enum KeyExchangeMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:115:15 [INFO] [stdout] | [INFO] [stdout] 114 | impl QshConfiguration { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 115 | pub async fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_update_interval` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn default_update_interval() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_authentication_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:138:4 [INFO] [stdout] | [INFO] [stdout] 138 | fn default_authentication_method() -> AuthenticationMethod { todo!() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_compression_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn default_compression_method() -> CompressionMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_cryptography_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn default_cryptography_method() -> CryptographyMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_key_exchange_method` is never used [INFO] [stdout] --> src/qshd/core/control/configuration.rs:145:4 [INFO] [stdout] | [INFO] [stdout] 145 | fn default_key_exchange_method() -> KeyExchangeMethod { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `exec`, `connection_settings`, `session_settings`, and `channel_settings` are never read [INFO] [stdout] --> src/qshd/core/server/config.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ServerConfiguration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | exec: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | connection_settings: ConnectionConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | session_settings: SessionConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | channel_settings: ChannelConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `key_type`, and `key_name` are never read [INFO] [stdout] --> src/qshd/core/server/config.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 45 | struct Client { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 48 | addr: Ipv6Addr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | key_type: KeyTypes, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | key_name: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BUFSIZE` is never used [INFO] [stdout] --> src/qshd/core/server/exec.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const BUFSIZE: usize = 4096; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/qshd/core/server/exec.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | async fn start(command: &str, mut i: mpsc::Receiver>, o: mpsc::Sender>, e: mpsc::Sender>) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `poll_interval` and `channel` are never read [INFO] [stdout] --> src/qshd/core/types/config/channel.rs:15:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ChannelConfiguration { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | poll_interval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | channel: ChannelTypes, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `crypto`, and `kex` are never read [INFO] [stdout] --> src/qshd/core/types/config/session.rs:20:2 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct SessionConfiguration { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | key: KeyTypes, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | crypto: CryptoTypes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | kex: KexTypes, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection`, `crypto`, and `kex` are never read [INFO] [stdout] --> src/qshd/core/types/config/connection.rs:31:2 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct ConnectionConfiguration { [INFO] [stdout] | ----------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | connection: ConnectionTypes, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | crypto: CryptoTypes, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | kex: KexTypes, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChannelConfig` is never constructed [INFO] [stdout] --> src/qshd/channel/mod.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct ChannelConfig { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_poll_interval` is never used [INFO] [stdout] --> src/qshd/channel/mod.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn default_poll_interval() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_implementation` is never used [INFO] [stdout] --> src/qshd/channel/mod.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn default_implementation() -> Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Session` is never used [INFO] [stdout] --> src/qshd/session/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | trait Session { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CTX` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const CTX: &'static [u8] = b"qsh"; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Implementation` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | pub enum Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionConfiguration` is never constructed [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct SessionConfiguration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_allowed_crypto` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | fn default_allowed_crypto() -> crypto::Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_allowed_kex` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn default_allowed_kex() -> kex::Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `default_allowed_key` is never used [INFO] [stdout] --> src/qshd/session/qsh_fips204.rs:170:4 [INFO] [stdout] | [INFO] [stdout] 170 | fn default_allowed_key() -> Implementation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection` is never read [INFO] [stdout] --> src/qshd/connection/mod.rs:79:2 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ConnectionConfiguration { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 79 | connection: Implementation, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/channel/mod.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | async fn i_bound(receiver: Receiver>, socket_path: &PathBuf); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 26 - async fn i_bound(receiver: Receiver>, socket_path: &PathBuf); [INFO] [stdout] 26 + fn i_bound(receiver: Receiver>, socket_path: &PathBuf) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/channel/mod.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | async fn o_bound(socket_path: &PathBuf, sender: Sender>); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 29 - async fn o_bound(socket_path: &PathBuf, sender: Sender>); [INFO] [stdout] 29 + fn o_bound(socket_path: &PathBuf, sender: Sender>) -> impl std::future::Future + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/connection/mod.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | async fn listen(&mut self) -> Result<(), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 42 - async fn listen(&mut self) -> Result<(), Self::Error>; [INFO] [stdout] 42 + fn listen(&mut self) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.99s [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/connection/mod.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | async fn accept(&mut self) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 45 - async fn accept(&mut self) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] 45 + fn accept(&mut self) -> impl std::future::Future>, Receiver>), Self::Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/qshd/connection/mod.rs:48:2 [INFO] [stdout] | [INFO] [stdout] 48 | async fn connect(&mut self, addr: Ipv6Addr, port: u16) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 48 - async fn connect(&mut self, addr: Ipv6Addr, port: u16) -> Result<(Sender>, Receiver>), Self::Error>; [INFO] [stdout] 48 + fn connect(&mut self, addr: Ipv6Addr, port: u16) -> impl std::future::Future>, Receiver>), Self::Error>> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "16fb39dad20430198fbe89627d14e4d9111f24ce9aa5b9f3cf3c42d560ad6a54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16fb39dad20430198fbe89627d14e4d9111f24ce9aa5b9f3cf3c42d560ad6a54", kill_on_drop: false }` [INFO] [stdout] 16fb39dad20430198fbe89627d14e4d9111f24ce9aa5b9f3cf3c42d560ad6a54