[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 try#173780a87744406b7489b28349c0176f14bb3881 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrsbyrk%2Fbitsink" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brsbyrk/bitsink on toolchain 173780a87744406b7489b28349c0176f14bb3881 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+173780a87744406b7489b28349c0176f14bb3881" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fee865b88a9143b9626c93060f65ea51f9b6521339da0ef6cf0a762408b2d3dd [INFO] running `Command { std: "docker" "start" "-a" "fee865b88a9143b9626c93060f65ea51f9b6521339da0ef6cf0a762408b2d3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fee865b88a9143b9626c93060f65ea51f9b6521339da0ef6cf0a762408b2d3dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fee865b88a9143b9626c93060f65ea51f9b6521339da0ef6cf0a762408b2d3dd", kill_on_drop: false }` [INFO] [stdout] fee865b88a9143b9626c93060f65ea51f9b6521339da0ef6cf0a762408b2d3dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+173780a87744406b7489b28349c0176f14bb3881" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18699be7c9fe9a55c6058cb004dd503551bc152f7738177ab0a6e9f866a1bcd7 [INFO] running `Command { std: "docker" "start" "-a" "18699be7c9fe9a55c6058cb004dd503551bc152f7738177ab0a6e9f866a1bcd7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling rustls v0.23.16 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling rustix v0.38.40 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling cc v1.2.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.15 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling unicase v2.8.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking miniz_oxide v0.8.0 [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] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking brotli-decompressor v4.0.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking brotli v7.0.0 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking option-ext v0.2.0 [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 nu-ansi-term v0.46.0 [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 tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking axum-core v0.4.5 [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 matchit v0.7.3 [INFO] [stderr] Checking iri-string v0.7.7 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking zstd v0.13.2 [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] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Checking tower v0.5.1 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Compiling url v2.5.3 [INFO] [stderr] Checking tower-http v0.6.1 [INFO] [stderr] Checking axum v0.7.7 [INFO] [stderr] Checking sqlx-core v0.8.2 [INFO] [stderr] Checking sysinfo v0.32.0 [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)]` 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)]` 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)]` 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 { [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>>>) -> Html { [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 `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 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn validate_token(&self, token: &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: 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] = 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: 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 { [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) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn validate_auth(&self, req: &Request) -> 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)]` 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 { [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>>>) -> Html { [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 `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 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn validate_token(&self, token: &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: 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] = 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: 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 { [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) -> Response { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn validate_auth(&self, req: &Request) -> 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)]` 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)]` 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>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 { [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>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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 { [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" "18699be7c9fe9a55c6058cb004dd503551bc152f7738177ab0a6e9f866a1bcd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18699be7c9fe9a55c6058cb004dd503551bc152f7738177ab0a6e9f866a1bcd7", kill_on_drop: false }` [INFO] [stdout] 18699be7c9fe9a55c6058cb004dd503551bc152f7738177ab0a6e9f866a1bcd7