[INFO] cloning repository https://github.com/s7g4/qsafe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s7g4/qsafe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs7g4%2Fqsafe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs7g4%2Fqsafe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fd3b27698d8b094bf256d5ebb31a8a7156a02afa [INFO] checking s7g4/qsafe against master#d0835adc4e114eac911150b3692b830b5583223a for pr-149195-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs7g4%2Fqsafe" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/s7g4/qsafe [INFO] finished tweaking git repo https://github.com/s7g4/qsafe [INFO] tweaked toml for git repo https://github.com/s7g4/qsafe written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s7g4/qsafe on toolchain d0835adc4e114eac911150b3692b830b5583223a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/s7g4/qsafe 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" "+d0835adc4e114eac911150b3692b830b5583223a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dwrote v0.11.5 [INFO] [stderr] Downloaded weezl v0.1.11 [INFO] [stderr] Downloaded hyper v1.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b90e69a6bdc3895c32c29db062e1d3f121a75829fe91393aaf30dc5983786a2d [INFO] running `Command { std: "docker" "start" "-a" "b90e69a6bdc3895c32c29db062e1d3f121a75829fe91393aaf30dc5983786a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b90e69a6bdc3895c32c29db062e1d3f121a75829fe91393aaf30dc5983786a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b90e69a6bdc3895c32c29db062e1d3f121a75829fe91393aaf30dc5983786a2d", kill_on_drop: false }` [INFO] [stdout] b90e69a6bdc3895c32c29db062e1d3f121a75829fe91393aaf30dc5983786a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+d0835adc4e114eac911150b3692b830b5583223a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35f9cd383ed2f102ea762dc15cd4dc32cf7f05534cc27b01bf3071dcf8d255ac [INFO] running `Command { std: "docker" "start" "-a" "35f9cd383ed2f102ea762dc15cd4dc32cf7f05534cc27b01bf3071dcf8d255ac", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking hyper v1.8.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking pem v3.0.6 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking qsafe-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/crypto.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use aes_gcm::{Aes256Gcm, Key, Nonce, KeyInit}; [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: `rand::RngCore` [INFO] [stdout] --> src/qrng.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Algorithm` [INFO] [stdout] --> src/auth.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey, errors::Error}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Key` [INFO] [stdout] --> src/crypto.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use aes_gcm::{Aes256Gcm, Key, Nonce, KeyInit}; [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: `rand::RngCore` [INFO] [stdout] --> src/qrng.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::RngCore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Algorithm` [INFO] [stdout] --> src/auth.rs:3:44 [INFO] [stdout] | [INFO] [stdout] 3 | use jsonwebtoken::{encode, decode, Header, Algorithm, Validation, EncodingKey, DecodingKey, errors::Error}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let nonce = Nonce::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let nonce = Nonce::from_slice(nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:85:28 [INFO] [stdout] | [INFO] [stdout] 85 | let nonce = Nonce::from_slice(&nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aes_gcm::aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:96:28 [INFO] [stdout] | [INFO] [stdout] 96 | let nonce = Nonce::from_slice(nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/crypto.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn encapsulate(&mut self, public_key: &[u8]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/crypto.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decapsulate(&mut self, secret_key: &[u8], ciphertext: &[u8]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/crypto.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decapsulate(&mut self, secret_key: &[u8], ciphertext: &[u8]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/crypto.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn sign(&mut self, secret_key: &[u8], message: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/crypto.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify(&mut self, public_key: &[u8], signature: &Signature) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/crypto.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify(&mut self, public_key: &[u8], signature: &Signature) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/crypto.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn encapsulate(&mut self, public_key: &[u8]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/crypto.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decapsulate(&mut self, secret_key: &[u8], ciphertext: &[u8]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ciphertext` [INFO] [stdout] --> src/crypto.rs:56:54 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn decapsulate(&mut self, secret_key: &[u8], ciphertext: &[u8]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ciphertext` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `secret_key` [INFO] [stdout] --> src/crypto.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn sign(&mut self, secret_key: &[u8], message: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_secret_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> src/crypto.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify(&mut self, public_key: &[u8], signature: &Signature) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `signature` [INFO] [stdout] --> src/crypto.rs:75:49 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn verify(&mut self, public_key: &[u8], signature: &Signature) -> Result> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws::WebSocketUpgrade` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, State, ws::WebSocketUpgrade}, [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: `Deserialize` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectedClients` [INFO] [stdout] --> src/main.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | websocket::{handle_websocket, ConnectedClients}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ws::WebSocketUpgrade` [INFO] [stdout] --> src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{Path, State, ws::WebSocketUpgrade}, [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: `Deserialize` [INFO] [stdout] --> src/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConnectedClients` [INFO] [stdout] --> src/main.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | websocket::{handle_websocket, ConnectedClients}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | Path(user_id): Path, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qkd` and `qrng` are never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | qkd: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | qrng: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/main.rs:164:10 [INFO] [stdout] | [INFO] [stdout] 164 | Path(user_id): Path, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:176:10 [INFO] [stdout] | [INFO] [stdout] 176 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:187:11 [INFO] [stdout] | [INFO] [stdout] 187 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:198:11 [INFO] [stdout] | [INFO] [stdout] 198 | State(state): State>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `payload` [INFO] [stdout] --> src/main.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | Json(payload): Json, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payload` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `qkd` and `qrng` are never read [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct AppState { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | qkd: Arc>, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | qrng: Arc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 6` [INFO] running `Command { std: "docker" "inspect" "35f9cd383ed2f102ea762dc15cd4dc32cf7f05534cc27b01bf3071dcf8d255ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f9cd383ed2f102ea762dc15cd4dc32cf7f05534cc27b01bf3071dcf8d255ac", kill_on_drop: false }` [INFO] [stdout] 35f9cd383ed2f102ea762dc15cd4dc32cf7f05534cc27b01bf3071dcf8d255ac