[INFO] cloning repository https://github.com/pallavi240303/webauthn_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pallavi240303/webauthn_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fwebauthn_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fwebauthn_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ff0683c265c3bce88f3731716b866b8c2485d409 [INFO] building pallavi240303/webauthn_rust against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpallavi240303%2Fwebauthn_rust" "/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/pallavi240303/webauthn_rust [INFO] finished tweaking git repo https://github.com/pallavi240303/webauthn_rust [INFO] tweaked toml for git repo https://github.com/pallavi240303/webauthn_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pallavi240303/webauthn_rust on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/pallavi240303/webauthn_rust 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded asn1-rs-derive v0.1.0 [INFO] [stderr] Downloaded oid-registry v0.4.0 [INFO] [stderr] Downloaded webauthn-rs-proto v0.5.0 [INFO] [stderr] Downloaded der-parser v7.0.0 [INFO] [stderr] Downloaded postgres-native-tls v0.5.0 [INFO] [stderr] Downloaded base64urlsafedata v0.5.0 [INFO] [stderr] Downloaded webauthn-rs v0.5.0 [INFO] [stderr] Downloaded impl-more v0.1.7 [INFO] [stderr] Downloaded base64urlsafedata v0.1.3 [INFO] [stderr] Downloaded actix-ws v0.3.0 [INFO] [stderr] Downloaded actix-session v0.10.1 [INFO] [stderr] Downloaded base64 v0.20.0 [INFO] [stderr] Downloaded x509-parser v0.13.2 [INFO] [stderr] Downloaded webauthn-rs-core v0.5.0 [INFO] [stderr] Downloaded asn1-rs v0.3.1 [INFO] [stderr] Downloaded serde_cbor_2 v0.12.0-dev [INFO] [stderr] Downloaded compact_jwt v0.2.10 [INFO] [stderr] Downloaded webauthn-attestation-ca v0.5.0 [INFO] [stderr] Downloaded openssl v0.10.67 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2753265992de4465e8dbf09060bdc937a8fd125c2dc368e9422ec1fca1ba862 [INFO] running `Command { std: "docker" "start" "-a" "a2753265992de4465e8dbf09060bdc937a8fd125c2dc368e9422ec1fca1ba862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2753265992de4465e8dbf09060bdc937a8fd125c2dc368e9422ec1fca1ba862", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2753265992de4465e8dbf09060bdc937a8fd125c2dc368e9422ec1fca1ba862", kill_on_drop: false }` [INFO] [stdout] a2753265992de4465e8dbf09060bdc937a8fd125c2dc368e9422ec1fca1ba862 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c1da20740cf4d5c37b29b1fc66a9af66f694b3a0498f5df60fd232c33714fb8 [INFO] running `Command { std: "docker" "start" "-a" "2c1da20740cf4d5c37b29b1fc66a9af66f694b3a0498f5df60fd232c33714fb8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.87 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling openssl v0.10.67 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling base64 v0.20.0 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling impl-more v0.1.7 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling cc v1.1.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling actix_derive v0.6.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling asn1-rs v0.3.1 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling der-parser v7.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling x509-parser v0.13.2 [INFO] [stderr] Compiling postgres-protocol v0.6.7 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling webauthn-attestation-ca v0.5.0 [INFO] [stderr] Compiling webauthn-rs-core v0.5.0 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling base64urlsafedata v0.5.0 [INFO] [stderr] Compiling serde_cbor_2 v0.12.0-dev [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix v0.13.5 [INFO] [stderr] Compiling base64urlsafedata v0.1.3 [INFO] [stderr] Compiling webauthn-rs-proto v0.5.0 [INFO] [stderr] Compiling postgres-types v0.2.8 [INFO] [stderr] Compiling compact_jwt v0.2.10 [INFO] [stderr] Compiling tokio-postgres v0.7.12 [INFO] [stderr] Compiling postgres-native-tls v0.5.0 [INFO] [stderr] Compiling webauthn-rs v0.5.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling actix-ws v0.3.0 [INFO] [stderr] Compiling actix-session v0.10.1 [INFO] [stderr] Compiling actix-cors v0.7.0 [INFO] [stderr] Compiling actix-web-actors v4.3.1+deprecated [INFO] [stderr] Compiling backend_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_session::Session` [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::Session; [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: `Sender` and `self` [INFO] [stdout] --> src/handlers/polls_handlers.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::{sync::{broadcast::{self, Sender}, Mutex}, time::timeout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware::Logger`, and `web::Html` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | middleware::Logger, web, web::Html, App, HttpRequest, HttpResponse, HttpServer, Responder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webauthn_rs_core::proto` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webauthn_rs_core::proto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | .map_err(|e| {Error::DeserialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .map_err(|e| {Error::SerialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotEnoughOptions`, `DuplicateOptions`, and `UnauthorizedUser` are never constructed [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RepoError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | NotEnoughOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Duplicate options are not allowed")] [INFO] [stdout] 20 | DuplicateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnauthorizedUser [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoError` has a derived impl for the trait `Debug`, but this is 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: method `get_all_polls` is never used [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> PollRepo<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_all_polls(&self) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Poll` is never constructed [INFO] [stdout] --> src/handlers/polls_handlers.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Poll { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoteUpdate` is never constructed [INFO] [stdout] --> src/handlers/polls_handlers.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct VoteUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "2c1da20740cf4d5c37b29b1fc66a9af66f694b3a0498f5df60fd232c33714fb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1da20740cf4d5c37b29b1fc66a9af66f694b3a0498f5df60fd232c33714fb8", kill_on_drop: false }` [INFO] [stdout] 2c1da20740cf4d5c37b29b1fc66a9af66f694b3a0498f5df60fd232c33714fb8 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 325e8378555bd52cd83bc5d9fca8bba15ea28b196ec4616fae9df8f0c03a162a [INFO] running `Command { std: "docker" "start" "-a" "325e8378555bd52cd83bc5d9fca8bba15ea28b196ec4616fae9df8f0c03a162a", kill_on_drop: false }` [INFO] [stderr] Compiling backend_auth v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `actix_session::Session` [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_session::Session; [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: `Sender` and `self` [INFO] [stdout] --> src/handlers/polls_handlers.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::{sync::{broadcast::{self, Sender}, Mutex}, time::timeout}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, `middleware::Logger`, and `web::Html` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | middleware::Logger, web, web::Html, App, HttpRequest, HttpResponse, HttpServer, Responder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `webauthn_rs_core::proto` [INFO] [stdout] --> src/web_socket_handlers/start_connection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webauthn_rs_core::proto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:195:15 [INFO] [stdout] | [INFO] [stdout] 195 | .map_err(|e| {Error::DeserialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/handlers/handlers.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .map_err(|e| {Error::SerialisationError})?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotEnoughOptions`, `DuplicateOptions`, and `UnauthorizedUser` are never constructed [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum RepoError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 18 | NotEnoughOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | #[error("Duplicate options are not allowed")] [INFO] [stdout] 20 | DuplicateOptions, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | UnauthorizedUser [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RepoError` has a derived impl for the trait `Debug`, but this is 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: method `get_all_polls` is never used [INFO] [stdout] --> src/db_operations_repo/poll_repo.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a> PollRepo<'a> { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub async fn get_all_polls(&self) -> Result, RepoError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Poll` is never constructed [INFO] [stdout] --> src/handlers/polls_handlers.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Poll { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoteUpdate` is never constructed [INFO] [stdout] --> src/handlers/polls_handlers.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct VoteUpdate { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "325e8378555bd52cd83bc5d9fca8bba15ea28b196ec4616fae9df8f0c03a162a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325e8378555bd52cd83bc5d9fca8bba15ea28b196ec4616fae9df8f0c03a162a", kill_on_drop: false }` [INFO] [stdout] 325e8378555bd52cd83bc5d9fca8bba15ea28b196ec4616fae9df8f0c03a162a