[INFO] cloning repository https://github.com/sjtlehbie/meow-ssh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sjtlehbie/meow-ssh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjtlehbie%2Fmeow-ssh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjtlehbie%2Fmeow-ssh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 873b8d0521dbede98ff348666055da7f569bf49b [INFO] linting sjtlehbie/meow-ssh against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsjtlehbie%2Fmeow-ssh" "/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/sjtlehbie/meow-ssh [INFO] finished tweaking git repo https://github.com/sjtlehbie/meow-ssh [INFO] tweaked toml for git repo https://github.com/sjtlehbie/meow-ssh written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sjtlehbie/meow-ssh on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sjtlehbie/meow-ssh 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webauthn-rs v0.5.4 [INFO] [stderr] Downloaded webauthn-attestation-ca v0.5.4 [INFO] [stderr] Downloaded rust-embed-impl v8.11.0 [INFO] [stderr] Downloaded rust-embed-utils v8.11.0 [INFO] [stderr] Downloaded base64urlsafedata v0.5.4 [INFO] [stderr] Downloaded webauthn-rs-proto v0.5.4 [INFO] [stderr] Downloaded serde_cbor_2 v0.13.0 [INFO] [stderr] Downloaded hax-lib-macros-types v0.3.5 [INFO] [stderr] Downloaded russh-cryptovec v0.52.0 [INFO] [stderr] Downloaded libcrux-secrets v0.0.4 [INFO] [stderr] Downloaded crypto-common v0.2.0 [INFO] [stderr] Downloaded libcrux-intrinsics v0.0.4 [INFO] [stderr] Downloaded bcrypt-pbkdf v0.10.0 [INFO] [stderr] Downloaded hax-lib-macros v0.3.5 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.11 [INFO] [stderr] Downloaded core-models v0.0.4 [INFO] [stderr] Downloaded sha1 v0.11.0-rc.5 [INFO] [stderr] Downloaded libcrux-sha3 v0.0.4 [INFO] [stderr] Downloaded sha2 v0.11.0-rc.5 [INFO] [stderr] Downloaded rsa v0.10.0-rc.12 [INFO] [stderr] Downloaded internal-russh-forked-ssh-key v0.6.16+upstream-0.6.7 [INFO] [stderr] Downloaded libcrux-ml-kem v0.0.4 [INFO] [stderr] Downloaded der v0.8.0 [INFO] [stderr] Downloaded hax-lib v0.3.5 [INFO] [stderr] Downloaded russh v0.57.0 [INFO] [stderr] Downloaded crypto-primes v0.7.0-pre.6 [INFO] [stderr] Downloaded webauthn-rs-core v0.5.4 [INFO] [stderr] Downloaded crypto-bigint v0.7.0-rc.18 [INFO] [stderr] Downloaded libcrux-traits v0.0.4 [INFO] [stderr] Downloaded digest v0.11.0 [INFO] [stderr] Downloaded hybrid-array v0.4.7 [INFO] [stderr] Downloaded libcrux-platform v0.0.2 [INFO] [stderr] Downloaded russh-util v0.52.0 [INFO] [stderr] Downloaded pageant v0.2.0 [INFO] [stderr] Downloaded rust-embed v8.11.0 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96bc2c292307375a3825df87bf124033454effd77967c567279c2257afc9d1dd [INFO] running `Command { std: "docker" "start" "-a" "96bc2c292307375a3825df87bf124033454effd77967c567279c2257afc9d1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96bc2c292307375a3825df87bf124033454effd77967c567279c2257afc9d1dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96bc2c292307375a3825df87bf124033454effd77967c567279c2257afc9d1dd", kill_on_drop: false }` [INFO] [stdout] 96bc2c292307375a3825df87bf124033454effd77967c567279c2257afc9d1dd [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65c73d56a86da21cba74903f166fc3fb9cce0f1314878ad080ae452d0ac8858d [INFO] running `Command { std: "docker" "start" "-a" "65c73d56a86da21cba74903f166fc3fb9cce0f1314878ad080ae452d0ac8858d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hax-lib v0.3.5 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking data-encoding v2.10.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking rand_core v0.10.0-rc-3 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking cmov v0.5.0-pre.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling libcrux-intrinsics v0.0.4 [INFO] [stderr] Checking ctutils v0.3.2 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling libcrux-sha3 v0.0.4 [INFO] [stderr] Compiling num-bigint-dig v0.8.6 [INFO] [stderr] Compiling webauthn-attestation-ca v0.5.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling webauthn-rs-core v0.5.4 [INFO] [stderr] Compiling libcrux-ml-kem v0.0.4 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking pem-rfc7468 v1.0.0 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling aws-lc-rs v1.16.0 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking hybrid-array v0.4.7 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking block-buffer v0.11.0 [INFO] [stderr] Checking crypto-common v0.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking socket2 v0.6.2 [INFO] [stderr] Checking getrandom v0.4.1 [INFO] [stderr] Checking libcrux-platform v0.0.2 [INFO] [stderr] Compiling rust-embed-utils v8.11.0 [INFO] [stderr] Checking uuid v1.21.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking digest v0.11.0 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking sha2 v0.11.0-rc.5 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking signature v3.0.0-rc.6 [INFO] [stderr] Checking sha1 v0.11.0-rc.5 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling aws-lc-sys v0.37.1 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling zerocopy-derive v0.8.39 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling hax-lib-macros v0.3.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Checking tokio v1.49.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking libcrux-secrets v0.0.4 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling tls_codec_derive v0.4.2 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking der v0.8.0 [INFO] [stderr] Checking crypto-bigint v0.7.0-rc.18 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling rust-embed-impl v8.11.0 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking asn1-rs v0.6.2 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.8.0-rc.4 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking ssh-encoding v0.2.0 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking oid-registry v0.7.1 [INFO] [stderr] Checking pkcs1 v0.8.0-rc.4 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs8 v0.11.0-rc.11 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking bcrypt-pbkdf v0.10.0 [INFO] [stderr] Checking tls_codec v0.4.2 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Checking russh-cryptovec v0.52.0 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking generic-array v1.3.5 [INFO] [stderr] Checking ssh-cipher v0.2.0 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling delegate v0.13.5 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking rust-embed v8.11.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking base64urlsafedata v0.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking crypto-primes v0.7.0-pre.6 [INFO] [stderr] Checking ed25519-dalek v2.2.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p521 v0.13.3 [INFO] [stderr] Checking p384 v0.13.1 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking russh-util v0.52.0 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking pty-process v0.5.3 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking rsa v0.10.0-rc.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking serde_cbor_2 v0.13.0 [INFO] [stderr] Checking webauthn-rs-proto v0.5.4 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking libcrux-traits v0.0.4 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking internal-russh-forked-ssh-key v0.6.16+upstream-0.6.7 [INFO] [stderr] Checking rusqlite v0.34.0 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking webauthn-rs v0.5.4 [INFO] [stderr] Checking russh v0.57.0 [INFO] [stderr] Checking meow-ssh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `token` and `expires_at` are never read [INFO] [stdout] --> src/db.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub expires_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `transports`, and `device_type` are never read [INFO] [stdout] --> src/db.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StoredCredential { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub transports: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub device_type: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredCredential` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_counter` and `has_credentials` are never used [INFO] [stdout] --> src/db.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Db { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn update_counter(&self, id: &str, new_counter: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn has_credentials(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `token` and `expires_at` are never read [INFO] [stdout] --> src/db.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Session { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | pub token: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub expires_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Session` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `counter`, `transports`, and `device_type` are never read [INFO] [stdout] --> src/db.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct StoredCredential { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | pub transports: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | pub device_type: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StoredCredential` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_counter` and `has_credentials` are never used [INFO] [stdout] --> src/db.rs:177:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Db { [INFO] [stdout] | ------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn update_counter(&self, id: &str, new_counter: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn has_credentials(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/http.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 447 | / if pty_writer.write_all(text.as_bytes()).await.is_err() { [INFO] [stdout] 448 | | break; [INFO] [stdout] 449 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 446 ~ Message::Text(text) [INFO] [stdout] 447 ~ if pty_writer.write_all(text.as_bytes()).await.is_err() => { [INFO] [stdout] 448 | break; [INFO] [stdout] 449 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/http.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | / if let Some(stored) = db.get_credential(&cred_id) { [INFO] [stdout] 473 | | if let Ok(mut passkey) = serde_json::from_slice::(&stored.public_key) { [INFO] [stdout] 474 | | let _ = passkey.update_credential(auth_result); [INFO] [stdout] 475 | | if let Ok(updated) = serde_json::to_vec(&passkey) { [INFO] [stdout] ... | [INFO] [stdout] 479 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 472 ~ if let Some(stored) = db.get_credential(&cred_id) [INFO] [stdout] 473 ~ && let Ok(mut passkey) = serde_json::from_slice::(&stored.public_key) { [INFO] [stdout] 474 | let _ = passkey.update_credential(auth_result); [INFO] [stdout] ... [INFO] [stdout] 477 | } [INFO] [stdout] 478 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | fn auth_none(&mut self, _user: &str) -> impl std::future::Future> + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] = note: `#[warn(clippy::manual_async_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / fn auth_keyboard_interactive<'a>( [INFO] [stdout] 74 | | &'a mut self, [INFO] [stdout] 75 | | _user: &str, [INFO] [stdout] 76 | | _submethods: &str, [INFO] [stdout] 77 | | response: Option>, [INFO] [stdout] 78 | | ) -> impl std::future::Future> + Send { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/ssh.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / if let Some(session) = self.db.get_session(&token) { [INFO] [stdout] 115 | | if session.status == "approved" { [INFO] [stdout] 116 | | self.user_id = session.user_id.clone(); [INFO] [stdout] 117 | | tracing::info!("SSH: User {:?} authenticated", self.user_id); [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 114 ~ if let Some(session) = self.db.get_session(&token) [INFO] [stdout] 115 ~ && session.status == "approved" { [INFO] [stdout] 116 | self.user_id = session.user_id.clone(); [INFO] [stdout] 117 | tracing::info!("SSH: User {:?} authenticated", self.user_id); [INFO] [stdout] 118 | return Ok(Auth::Accept); [INFO] [stdout] 119 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / fn auth_publickey( [INFO] [stdout] 135 | | &mut self, [INFO] [stdout] 136 | | _user: &str, [INFO] [stdout] 137 | | _public_key: &russh::keys::PublicKey, [INFO] [stdout] 138 | | ) -> impl std::future::Future> + Send { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / fn channel_open_session( [INFO] [stdout] 148 | | &mut self, [INFO] [stdout] 149 | | _channel: Channel, [INFO] [stdout] 150 | | _session: &mut Session, [INFO] [stdout] 151 | | ) -> impl std::future::Future> + Send { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/ssh.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | / if let Some(writer) = writers.get_mut(&channel) { [INFO] [stdout] 264 | | if writer.write_all(&data).await.is_err() { [INFO] [stdout] 265 | | writers.remove(&channel); [INFO] [stdout] 266 | | } [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 263 ~ if let Some(writer) = writers.get_mut(&channel) [INFO] [stdout] 264 ~ && writer.write_all(&data).await.is_err() { [INFO] [stdout] 265 | writers.remove(&channel); [INFO] [stdout] 266 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` can be collapsed into the outer `match` [INFO] [stdout] --> src/http.rs:447:21 [INFO] [stdout] | [INFO] [stdout] 447 | / if pty_writer.write_all(text.as_bytes()).await.is_err() { [INFO] [stdout] 448 | | break; [INFO] [stdout] 449 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_match [INFO] [stdout] = note: `#[warn(clippy::collapsible_match)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 446 ~ Message::Text(text) [INFO] [stdout] 447 ~ if pty_writer.write_all(text.as_bytes()).await.is_err() => { [INFO] [stdout] 448 | break; [INFO] [stdout] 449 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/http.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | / if let Some(stored) = db.get_credential(&cred_id) { [INFO] [stdout] 473 | | if let Ok(mut passkey) = serde_json::from_slice::(&stored.public_key) { [INFO] [stdout] 474 | | let _ = passkey.update_credential(auth_result); [INFO] [stdout] 475 | | if let Ok(updated) = serde_json::to_vec(&passkey) { [INFO] [stdout] ... | [INFO] [stdout] 479 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 472 ~ if let Some(stored) = db.get_credential(&cred_id) [INFO] [stdout] 473 ~ && let Ok(mut passkey) = serde_json::from_slice::(&stored.public_key) { [INFO] [stdout] 474 | let _ = passkey.update_credential(auth_result); [INFO] [stdout] ... [INFO] [stdout] 477 | } [INFO] [stdout] 478 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | fn auth_none(&mut self, _user: &str) -> impl std::future::Future> + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] = note: `#[warn(clippy::manual_async_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | / fn auth_keyboard_interactive<'a>( [INFO] [stdout] 74 | | &'a mut self, [INFO] [stdout] 75 | | _user: &str, [INFO] [stdout] 76 | | _submethods: &str, [INFO] [stdout] 77 | | response: Option>, [INFO] [stdout] 78 | | ) -> impl std::future::Future> + Send { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/ssh.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / if let Some(session) = self.db.get_session(&token) { [INFO] [stdout] 115 | | if session.status == "approved" { [INFO] [stdout] 116 | | self.user_id = session.user_id.clone(); [INFO] [stdout] 117 | | tracing::info!("SSH: User {:?} authenticated", self.user_id); [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 114 ~ if let Some(session) = self.db.get_session(&token) [INFO] [stdout] 115 ~ && session.status == "approved" { [INFO] [stdout] 116 | self.user_id = session.user_id.clone(); [INFO] [stdout] 117 | tracing::info!("SSH: User {:?} authenticated", self.user_id); [INFO] [stdout] 118 | return Ok(Auth::Accept); [INFO] [stdout] 119 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | / fn auth_publickey( [INFO] [stdout] 135 | | &mut self, [INFO] [stdout] 136 | | _user: &str, [INFO] [stdout] 137 | | _public_key: &russh::keys::PublicKey, [INFO] [stdout] 138 | | ) -> impl std::future::Future> + Send { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function can be simplified using the `async fn` syntax [INFO] [stdout] --> src/ssh.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | / fn channel_open_session( [INFO] [stdout] 148 | | &mut self, [INFO] [stdout] 149 | | _channel: Channel, [INFO] [stdout] 150 | | _session: &mut Session, [INFO] [stdout] 151 | | ) -> impl std::future::Future> + Send { [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_async_fn [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/ssh.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | / if let Some(writer) = writers.get_mut(&channel) { [INFO] [stdout] 264 | | if writer.write_all(&data).await.is_err() { [INFO] [stdout] 265 | | writers.remove(&channel); [INFO] [stdout] 266 | | } [INFO] [stdout] 267 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 263 ~ if let Some(writer) = writers.get_mut(&channel) [INFO] [stdout] 264 ~ && writer.write_all(&data).await.is_err() { [INFO] [stdout] 265 | writers.remove(&channel); [INFO] [stdout] 266 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "65c73d56a86da21cba74903f166fc3fb9cce0f1314878ad080ae452d0ac8858d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c73d56a86da21cba74903f166fc3fb9cce0f1314878ad080ae452d0ac8858d", kill_on_drop: false }` [INFO] [stdout] 65c73d56a86da21cba74903f166fc3fb9cce0f1314878ad080ae452d0ac8858d