[INFO] cloning repository https://github.com/brsbyrk/bitsink
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brsbyrk/bitsink" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsbyrk%2Fbitsink", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsbyrk%2Fbitsink'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52773f12aee4ac37105f5a8679cce6a87be2fb2d
[INFO] checking brsbyrk/bitsink against 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6 for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsbyrk%2Fbitsink" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/brsbyrk/bitsink
[INFO] finished tweaking git repo https://github.com/brsbyrk/bitsink
[INFO] tweaked toml for git repo https://github.com/brsbyrk/bitsink written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/brsbyrk/bitsink on toolchain 36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/brsbyrk/bitsink 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" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e
[INFO] running `Command { std: "docker" "start" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e" "/opt/rustwide/cargo-home/bin/cargo" "+36e0a7eac2392bdd51fab6e7ff1d8c0e42d33bf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.87
[INFO] [stderr]    Compiling libc v0.2.162
[INFO] [stderr]    Compiling serde v1.0.215
[INFO] [stderr]     Checking pin-project-lite v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.31
[INFO] [stderr]     Checking bytes v1.8.0
[INFO] [stderr]    Compiling litemap v0.7.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde_json v1.0.132
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.0
[INFO] [stderr]    Compiling rustls v0.23.16
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling icu_properties_data v1.5.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling rustix v0.38.40
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.0
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking hashbrown v0.15.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling allocator-api2 v0.2.20
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]    Compiling cc v1.2.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking indexmap v2.6.0
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.61
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.15
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling crc v3.2.1
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling webpki-roots v0.26.6
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling httparse v1.9.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling zstd-safe v7.2.1
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling fastrand v2.2.0
[INFO] [stderr]    Compiling rustversion v1.0.18
[INFO] [stderr]    Compiling unicase v2.8.0
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]     Checking brotli-decompressor v4.0.1
[INFO] [stderr]     Checking hdrhistogram v7.5.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking flate2 v1.0.34
[INFO] [stderr]     Checking rayon-core v1.12.1
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling zstd-sys v2.0.13+zstd.1.5.6
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking brotli v7.0.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]    Compiling anyhow v1.0.93
[INFO] [stderr]     Checking clap_builder v4.5.20
[INFO] [stderr]     Checking console v0.15.8
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking pem v3.0.4
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking thread_local v1.1.8
[INFO] [stderr]     Checking http-range-header v0.4.1
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking iri-string v0.7.7
[INFO] [stderr]     Checking directories v5.0.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling tempfile v3.14.0
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerofrom-derive v0.1.4
[INFO] [stderr]    Compiling yoke-derive v0.7.4
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.215
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-stream v0.1.16
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling zerofrom v0.1.4
[INFO] [stderr]    Compiling yoke v0.7.4
[INFO] [stderr]    Compiling clap_derive v4.5.18
[INFO] [stderr]    Compiling zerovec v0.10.4
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking simple_asn1 v0.6.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking dialoguer v0.11.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling tinystr v0.7.6
[INFO] [stderr]    Compiling icu_collections v1.5.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking zstd v0.13.2
[INFO] [stderr]    Compiling icu_locid v1.5.0
[INFO] [stderr]    Compiling icu_provider v1.5.0
[INFO] [stderr]     Checking clap v4.5.20
[INFO] [stderr]    Compiling icu_locid_transform v1.5.0
[INFO] [stderr]    Compiling icu_properties v1.5.1
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.16
[INFO] [stderr]     Checking uuid v1.11.0
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking hyper v1.5.0
[INFO] [stderr]     Checking async-compression v0.4.17
[INFO] [stderr]     Checking tower v0.5.1
[INFO] [stderr]     Checking jsonwebtoken v9.3.0
[INFO] [stderr]     Checking hyper-util v0.1.10
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling url v2.5.3
[INFO] [stderr]     Checking axum v0.7.7
[INFO] [stderr]     Checking tower-http v0.6.1
[INFO] [stderr]     Checking sysinfo v0.32.0
[INFO] [stderr]    Compiling sqlx-core v0.8.2
[INFO] [stderr]     Checking sqlx-sqlite v0.8.2
[INFO] [stderr]    Compiling sqlx-macros-core v0.8.2
[INFO] [stderr]    Compiling sqlx-macros v0.8.2
[INFO] [stderr]     Checking sqlx v0.8.2
[INFO] [stderr]     Checking bitsink v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use collection::Collection;
[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: `FieldType`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use field::{Field, FieldType};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower::util::BoxLayer`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tower::util::BoxLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServiceBuilder`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tower::{ServiceBuilder, ServiceExt};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use collection::Collection;
[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: `FieldType`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use field::{Field, FieldType};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower::util::BoxLayer`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tower::util::BoxLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServiceBuilder`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tower::{ServiceBuilder, ServiceExt};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_PORT` is never used
[INFO] [stdout]   --> src/bitsink/mod.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const DEFAULT_PORT: u16 = 3195;
[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 `BitSink` is never constructed
[INFO] [stdout]   --> src/bitsink/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BitSink {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `projects`, `start`, `stop`, `router`, `projects_handler`, and `dynamic_route_handler` are never used
[INFO] [stdout]   --> src/bitsink/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl BitSink {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 23 |     pub async fn projects(&self) -> Vec<Project> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn start(&mut self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn stop(&mut self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn router(&self) -> Router {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     async fn projects_handler(State(projects): State<Arc<RwLock<Vec<Project>>>>) -> Html<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     async fn dynamic_route_handler(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_project`, and `remove_project` are never used
[INFO] [stdout]    --> src/bitsink/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl BitSink {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 121 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub async fn add_project(&self, project: Project) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn remove_project(&self, project_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]  --> src/bitsink/auth/jwt.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Claims {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JwtAuth` is never constructed
[INFO] [stdout]   --> src/bitsink/auth/jwt.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct JwtAuth {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate_token`, and `validate_token` are never used
[INFO] [stdout]   --> src/bitsink/auth/jwt.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl JwtAuth {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 18 |     /// Creates a new JwtAuth instance
[INFO] [stdout] 19 |     pub fn new(secret: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn generate_token(&self, project_id: &str) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn validate_token(&self, token: &str) -> Result<Claims> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Collection` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/collection.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Collection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Field` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/field.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Field {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FieldType` is never used
[INFO] [stdout]   --> src/bitsink/collection/field.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum FieldType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Project` is never constructed
[INFO] [stdout]   --> src/bitsink/project/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Project {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:41:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl Project {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  40 |     /// Creates a new [`Project`].
[INFO] [stdout]  41 |     pub fn new(name: String, description: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     pub fn id(&self) -> &Uuid {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn short_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn name(&self) -> &str {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn description(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn allow_origin(&mut self, origin: Url) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn allow_method(&mut self, method: Method) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub fn allow_header(&mut self, header: HeaderName) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn add_route(&mut self, path: &str, handler: MethodRouter) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn allow_all_origins(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn allow_all_methods(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn allow_all_headers(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn allow_defaults(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn validate_token(&self, token: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn add_default_routes(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub async fn handle_request(&self, req: Request<Body>) -> Response<Body> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn validate_auth(&self, req: &Request<Body>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `cors`, `uuid_to_short_id`, and `secret_key` are never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Project {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 174 |     fn cors(&self) -> CorsLayer {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn uuid_to_short_id(uuid: Uuid) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn secret_key(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `auth_middleware`, `validate_project_token`, and `generate_secret_key` are never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:234:14
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl Project {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     async fn auth_middleware(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn validate_project_token(project_id: Uuid, token: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     fn generate_secret_key(project_id: Uuid) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_PORT` is never used
[INFO] [stdout]   --> src/bitsink/mod.rs:14:7
[INFO] [stdout]    |
[INFO] [stdout] 14 | const DEFAULT_PORT: u16 = 3195;
[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 `BitSink` is never constructed
[INFO] [stdout]   --> src/bitsink/mod.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BitSink {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `projects`, `start`, `stop`, `router`, `projects_handler`, and `dynamic_route_handler` are never used
[INFO] [stdout]   --> src/bitsink/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl BitSink {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 23 |     pub async fn projects(&self) -> Vec<Project> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub async fn start(&mut self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn stop(&mut self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     pub fn router(&self) -> Router {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     async fn projects_handler(State(projects): State<Arc<RwLock<Vec<Project>>>>) -> Html<String> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     async fn dynamic_route_handler(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add_project`, and `remove_project` are never used
[INFO] [stdout]    --> src/bitsink/mod.rs:121:12
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl BitSink {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 121 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 129 |     pub async fn add_project(&self, project: Project) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn remove_project(&self, project_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Claims` is never constructed
[INFO] [stdout]  --> src/bitsink/auth/jwt.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct Claims {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JwtAuth` is never constructed
[INFO] [stdout]   --> src/bitsink/auth/jwt.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct JwtAuth {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `generate_token`, and `validate_token` are never used
[INFO] [stdout]   --> src/bitsink/auth/jwt.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl JwtAuth {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 18 |     /// Creates a new JwtAuth instance
[INFO] [stdout] 19 |     pub fn new(secret: String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn generate_token(&self, project_id: &str) -> Result<String> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     pub fn validate_token(&self, token: &str) -> Result<Claims> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Collection` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/collection.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Collection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Field` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/field.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Field {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FieldType` is never used
[INFO] [stdout]   --> src/bitsink/collection/field.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum FieldType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Project` is never constructed
[INFO] [stdout]   --> src/bitsink/project/mod.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Project {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:41:12
[INFO] [stdout]     |
[INFO] [stdout]  39 | impl Project {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  40 |     /// Creates a new [`Project`].
[INFO] [stdout]  41 |     pub fn new(name: String, description: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  61 |     pub fn id(&self) -> &Uuid {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout]  65 |     pub fn short_id(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn name(&self) -> &str {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  73 |     pub fn description(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  77 |     pub fn allow_origin(&mut self, origin: Url) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn allow_method(&mut self, method: Method) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  85 |     pub fn allow_header(&mut self, header: HeaderName) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  89 |     pub fn add_route(&mut self, path: &str, handler: MethodRouter) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn allow_all_origins(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn allow_all_methods(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn allow_all_headers(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn allow_defaults(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn validate_token(&self, token: &str) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn add_default_routes(&mut self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub async fn handle_request(&self, req: Request<Body>) -> Response<Body> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     fn validate_auth(&self, req: &Request<Body>) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `cors`, `uuid_to_short_id`, and `secret_key` are never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:174:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Project {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] 174 |     fn cors(&self) -> CorsLayer {
[INFO] [stdout]     |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 215 |     fn uuid_to_short_id(uuid: Uuid) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn secret_key(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `auth_middleware`, `validate_project_token`, and `generate_secret_key` are never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:234:14
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl Project {
[INFO] [stdout]     | ------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     async fn auth_middleware(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     fn validate_project_token(project_id: Uuid, token: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 262 |     fn generate_secret_key(project_id: Uuid) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use collection::Collection;
[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: `FieldType`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use field::{Field, FieldType};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower::util::BoxLayer`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tower::util::BoxLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServiceBuilder`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tower::{ServiceBuilder, ServiceExt};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `collection::Collection`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use collection::Collection;
[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: `FieldType`
[INFO] [stdout]  --> src/bitsink/collection/mod.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use field::{Field, FieldType};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tower::util::BoxLayer`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tower::util::BoxLayer;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ServiceBuilder`
[INFO] [stdout]   --> src/bitsink/project/mod.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tower::{ServiceBuilder, ServiceExt};
[INFO] [stdout]    |             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_task` is never read
[INFO] [stdout]   --> src/bitsink/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BitSink {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     server_task: Option<JoinHandle<Result<()>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `projects` and `stop` are never used
[INFO] [stdout]   --> src/bitsink/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl BitSink {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 23 |     pub async fn projects(&self) -> Vec<Project> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn stop(&mut self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_project` is never used
[INFO] [stdout]    --> src/bitsink/mod.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl BitSink {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn remove_project(&self, project_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Collection` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/collection.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Collection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Field` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/field.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Field {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FieldType` is never used
[INFO] [stdout]   --> src/bitsink/collection/field.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum FieldType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/bitsink/project/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Project {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Project` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `description`, `allow_method`, and `allow_header` are never used
[INFO] [stdout]   --> src/bitsink/project/mod.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Project {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn id(&self) -> &Uuid {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn description(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn allow_method(&mut self, method: Method) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn allow_header(&mut self, header: HeaderName) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `secret_key` is never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:226:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Project {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn secret_key(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `auth_middleware` is never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:234:14
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl Project {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     async fn auth_middleware(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_task` is never read
[INFO] [stdout]   --> src/bitsink/mod.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub struct BitSink {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 19 |     server_task: Option<JoinHandle<Result<()>>>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `projects` and `stop` are never used
[INFO] [stdout]   --> src/bitsink/mod.rs:23:18
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl BitSink {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] 23 |     pub async fn projects(&self) -> Vec<Project> {
[INFO] [stdout]    |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub async fn stop(&mut self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `remove_project` is never used
[INFO] [stdout]    --> src/bitsink/mod.rs:135:18
[INFO] [stdout]     |
[INFO] [stdout] 120 | impl BitSink {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 135 |     pub async fn remove_project(&self, project_id: &str) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Collection` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/collection.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Collection {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Field` is never constructed
[INFO] [stdout]  --> src/bitsink/collection/field.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Field {
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `FieldType` is never used
[INFO] [stdout]   --> src/bitsink/collection/field.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum FieldType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `description` is never read
[INFO] [stdout]   --> src/bitsink/project/mod.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct Project {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     description: String,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Project` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `id`, `description`, `allow_method`, and `allow_header` are never used
[INFO] [stdout]   --> src/bitsink/project/mod.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl Project {
[INFO] [stdout]    | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn id(&self) -> &Uuid {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn description(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     pub fn allow_method(&mut self, method: Method) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     pub fn allow_header(&mut self, header: HeaderName) {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `secret_key` is never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:226:8
[INFO] [stdout]     |
[INFO] [stdout] 173 | impl Project {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 226 |     fn secret_key(&self) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `auth_middleware` is never used
[INFO] [stdout]    --> src/bitsink/project/mod.rs:234:14
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl Project {
[INFO] [stdout]     | ------------ associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 234 |     async fn auth_middleware(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s
[INFO] running `Command { std: "docker" "inspect" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e", kill_on_drop: false }`
[INFO] [stdout] b8cfcbb099949b485cc8ca5ae90396c359af2b9d806a155831fcfef63d075a7e
