[INFO] cloning repository https://github.com/spacewalkwalker/apollo-file-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/spacewalkwalker/apollo-file-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacewalkwalker%2Fapollo-file-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacewalkwalker%2Fapollo-file-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 396894d293b9087784a0fd7a295c167bc6ac6ec1 [INFO] checking spacewalkwalker/apollo-file-server against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155500 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacewalkwalker%2Fapollo-file-server" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/spacewalkwalker/apollo-file-server [INFO] finished tweaking git repo https://github.com/spacewalkwalker/apollo-file-server [INFO] tweaked toml for git repo https://github.com/spacewalkwalker/apollo-file-server written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/spacewalkwalker/apollo-file-server on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/spacewalkwalker/apollo-file-server 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded devise v0.4.2 [INFO] [stderr] Downloaded devise_core v0.4.2 [INFO] [stderr] Downloaded devise_codegen v0.4.2 [INFO] [stderr] Downloaded rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Downloaded rocket_db_pools v0.2.0 [INFO] [stderr] Downloaded dynosaur v0.3.0 [INFO] [stderr] Downloaded aws-smithy-json v0.61.9 [INFO] [stderr] Downloaded aws-smithy-checksums v0.63.12 [INFO] [stderr] Downloaded aws-smithy-http v0.62.6 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.19 [INFO] [stderr] Downloaded dynosaur_derive v0.3.0 [INFO] [stderr] Downloaded rocket_http v0.5.1 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded rocket_codegen v0.5.1 [INFO] [stderr] Downloaded crc-fast v1.6.0 [INFO] [stderr] Downloaded rocket v0.5.1 [INFO] [stderr] Downloaded aws-sdk-s3 v1.119.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c89e23a865f2862e5b8d9924e6e297792c3f555614c6867d9ebf419cb161bfba [INFO] running `Command { std: "docker" "start" "-a" "c89e23a865f2862e5b8d9924e6e297792c3f555614c6867d9ebf419cb161bfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c89e23a865f2862e5b8d9924e6e297792c3f555614c6867d9ebf419cb161bfba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89e23a865f2862e5b8d9924e6e297792c3f555614c6867d9ebf419cb161bfba", kill_on_drop: false }` [INFO] [stdout] c89e23a865f2862e5b8d9924e6e297792c3f555614c6867d9ebf419cb161bfba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67ea270c10d76841230904912b908de1500a663c9d0428dda89556efdfc7049c [INFO] running `Command { std: "docker" "start" "-a" "67ea270c10d76841230904912b908de1500a663c9d0428dda89556efdfc7049c", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.40 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Checking is-terminal v0.4.17 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.32 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling futures v0.3.32 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking tempfile v3.26.0 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.25 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling ref-cast v1.0.25 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Compiling rocket_db_pools_codegen v0.2.0 [INFO] [stderr] Compiling dynosaur_derive v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking dynosaur v0.3.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking sqlx-postgres v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking rocket_db_pools v0.2.0 [INFO] [stderr] Checking apollo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | #[get("/search-charts", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[get("/search-charts", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | #[get("/search-charts", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | #[get("/search-charts", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/bin/file-server/storage.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Mutex, RwLock}; [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: `self` [INFO] [stdout] --> src/bin/file-server/storage.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | use std::{error::{self, Error}, fmt::Display}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChartMetadata` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{guards::DBPool, metadata::{self, ChartMetadata, MetadataValue}, routes::get_chart::ChartObject}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/bin/file-server/storage.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Mutex, RwLock}; [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: `self` [INFO] [stdout] --> src/bin/file-server/storage.rs:177:23 [INFO] [stdout] | [INFO] [stdout] 177 | use std::{error::{self, Error}, fmt::Display}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChartMetadata` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{guards::DBPool, metadata::{self, ChartMetadata, MetadataValue}, routes::get_chart::ChartObject}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_name` [INFO] [stdout] --> src/bin/file-server/storage.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn from_bucket_name(bucket_name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bin/file-server/storage.rs:209:31 [INFO] [stdout] | [INFO] [stdout] 209 | async fn store(&self, key: String, value: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/file-server/storage.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | async fn store(&self, key: String, value: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/file-server/storage.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | async fn get(&self, id: &str) -> Result>, Box> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bucket_name` [INFO] [stdout] --> src/bin/file-server/storage.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | pub fn from_bucket_name(bucket_name: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bucket_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/bin/file-server/storage.rs:209:31 [INFO] [stdout] | [INFO] [stdout] 209 | async fn store(&self, key: String, value: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/bin/file-server/storage.rs:209:44 [INFO] [stdout] | [INFO] [stdout] 209 | async fn store(&self, key: String, value: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/file-server/storage.rs:212:29 [INFO] [stdout] | [INFO] [stdout] 212 | async fn get(&self, id: &str) -> Result>, Box> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:93:17 [INFO] [stdout] | [INFO] [stdout] 93 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartForm<'_>` is more private than the item `create_chart` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / pub async fn create_chart( [INFO] [stdout] 49 | | mut db: Connection, [INFO] [stdout] 50 | | id: RequestID, [INFO] [stdout] 51 | | file_store: &FileStoreHandle, [INFO] [stdout] 52 | | data: Form>, [INFO] [stdout] 53 | | _auth: UploadAuth, [INFO] [stdout] 54 | | ) -> CreateChartResponse { [INFO] [stdout] | |________________________^ function `create_chart` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartForm<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct CreateChartForm<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartResponse` is more private than the item `create_chart` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / pub async fn create_chart( [INFO] [stdout] 49 | | mut db: Connection, [INFO] [stdout] 50 | | id: RequestID, [INFO] [stdout] 51 | | file_store: &FileStoreHandle, [INFO] [stdout] 52 | | data: Form>, [INFO] [stdout] 53 | | _auth: UploadAuth, [INFO] [stdout] 54 | | ) -> CreateChartResponse { [INFO] [stdout] | |________________________^ function `create_chart` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | enum CreateChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetReq<'_>` is more private than the item `create_chart_set` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub async fn create_chart_set( [INFO] [stdout] 27 | | mut db: Connection, [INFO] [stdout] 28 | | set_data: Json>, [INFO] [stdout] 29 | | _auth: UploadAuth, [INFO] [stdout] 30 | | ) -> CreateChartSetResponse { [INFO] [stdout] | |___________________________^ function `create_chart_set` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetReq<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct CreateChartSetReq<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetResponse` is more private than the item `create_chart_set` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub async fn create_chart_set( [INFO] [stdout] 27 | | mut db: Connection, [INFO] [stdout] 28 | | set_data: Json>, [INFO] [stdout] 29 | | _auth: UploadAuth, [INFO] [stdout] 30 | | ) -> CreateChartSetResponse { [INFO] [stdout] | |___________________________^ function `create_chart_set` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | enum CreateChartSetResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartResponse` is more private than the item `get_chart` [INFO] [stdout] --> src/bin/file-server/routes/get_chart.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn get_chart(mut db: Connection, chart_id: i32) -> GetChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_chart` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | enum GetChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartSetResponse` is more private than the item `get_chart_set` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub async fn get_chart_set( [INFO] [stdout] 16 | | mut db: Connection, [INFO] [stdout] 17 | | set_id: i32, [INFO] [stdout] 18 | | ) -> Option> { [INFO] [stdout] | |______________________________________^ function `get_chart_set` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartSetResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct GetChartSetResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChartSearchParams<'_>` is more private than the item `search_charts` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / pub async fn search_charts( [INFO] [stdout] 51 | | mut db: Connection, [INFO] [stdout] 52 | | search_criteria: Json>, [INFO] [stdout] 53 | | ) -> SearchChartResponse { [INFO] [stdout] | |________________________^ function `search_charts` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChartSearchParams<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct ChartSearchParams<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SearchChartResponse` is more private than the item `search_charts` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / pub async fn search_charts( [INFO] [stdout] 51 | | mut db: Connection, [INFO] [stdout] 52 | | search_criteria: Json>, [INFO] [stdout] 53 | | ) -> SearchChartResponse { [INFO] [stdout] | |________________________^ function `search_charts` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SearchChartResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | enum SearchChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartSetAuxFileResponse` is more private than the item `get_chart_set_aux_file` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set_aux_file.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub async fn get_chart_set_aux_file( [INFO] [stdout] 23 | | mut db: Connection, [INFO] [stdout] 24 | | file_store: &FileStoreHandle, [INFO] [stdout] 25 | | chart_set_id: i32, [INFO] [stdout] 26 | | label: &str, [INFO] [stdout] 27 | | ) -> GetChartSetAuxFileResponse { [INFO] [stdout] | |_______________________________^ function `get_chart_set_aux_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartSetAuxFileResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set_aux_file.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | enum GetChartSetAuxFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetAuxFileForm<'_>` is more private than the item `create_chart_set_aux_file` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub async fn create_chart_set_aux_file( [INFO] [stdout] 33 | | mut db: Connection, [INFO] [stdout] 34 | | file_store: &FileStoreHandle, [INFO] [stdout] 35 | | _auth: UploadAuth, [INFO] [stdout] ... | [INFO] [stdout] 38 | | data: Form>, [INFO] [stdout] 39 | | ) -> CreateChartSetAuxFileResponse { [INFO] [stdout] | |__________________________________^ function `create_chart_set_aux_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetAuxFileForm<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct CreateChartSetAuxFileForm<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetAuxFileResponse` is more private than the item `create_chart_set_aux_file` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub async fn create_chart_set_aux_file( [INFO] [stdout] 33 | | mut db: Connection, [INFO] [stdout] 34 | | file_store: &FileStoreHandle, [INFO] [stdout] 35 | | _auth: UploadAuth, [INFO] [stdout] ... | [INFO] [stdout] 38 | | data: Form>, [INFO] [stdout] 39 | | ) -> CreateChartSetAuxFileResponse { [INFO] [stdout] | |__________________________________^ function `create_chart_set_aux_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetAuxFileResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum CreateChartSetAuxFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartFileResponse` is more private than the item `get_chart_file` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_file.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn get_chart_file(mut db: Connection, file_store: &FileStoreHandle, chart_id: i32) -> GetChartFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_chart_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartFileResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_file.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum GetChartFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/bin/file-server/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn index() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/file-server/storage.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl FileStore { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 67 | pub fn new(backend: S, hasher: fn(&[u8]) -> String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsupportedError` is never constructed [INFO] [stdout] --> src/bin/file-server/storage.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | struct UnsupportedError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S3Storage` is never constructed [INFO] [stdout] --> src/bin/file-server/storage.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | struct S3Storage {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/bin/file-server/routes/get_chart.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum GetChartResponse { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | NotFound(()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartForm<'_>` is more private than the item `create_chart` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / pub async fn create_chart( [INFO] [stdout] 49 | | mut db: Connection, [INFO] [stdout] 50 | | id: RequestID, [INFO] [stdout] 51 | | file_store: &FileStoreHandle, [INFO] [stdout] 52 | | data: Form>, [INFO] [stdout] 53 | | _auth: UploadAuth, [INFO] [stdout] 54 | | ) -> CreateChartResponse { [INFO] [stdout] | |________________________^ function `create_chart` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartForm<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct CreateChartForm<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartResponse` is more private than the item `create_chart` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / pub async fn create_chart( [INFO] [stdout] 49 | | mut db: Connection, [INFO] [stdout] 50 | | id: RequestID, [INFO] [stdout] 51 | | file_store: &FileStoreHandle, [INFO] [stdout] 52 | | data: Form>, [INFO] [stdout] 53 | | _auth: UploadAuth, [INFO] [stdout] 54 | | ) -> CreateChartResponse { [INFO] [stdout] | |________________________^ function `create_chart` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | enum CreateChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetReq<'_>` is more private than the item `create_chart_set` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub async fn create_chart_set( [INFO] [stdout] 27 | | mut db: Connection, [INFO] [stdout] 28 | | set_data: Json>, [INFO] [stdout] 29 | | _auth: UploadAuth, [INFO] [stdout] 30 | | ) -> CreateChartSetResponse { [INFO] [stdout] | |___________________________^ function `create_chart_set` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetReq<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | struct CreateChartSetReq<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetResponse` is more private than the item `create_chart_set` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / pub async fn create_chart_set( [INFO] [stdout] 27 | | mut db: Connection, [INFO] [stdout] 28 | | set_data: Json>, [INFO] [stdout] 29 | | _auth: UploadAuth, [INFO] [stdout] 30 | | ) -> CreateChartSetResponse { [INFO] [stdout] | |___________________________^ function `create_chart_set` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | enum CreateChartSetResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartResponse` is more private than the item `get_chart` [INFO] [stdout] --> src/bin/file-server/routes/get_chart.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn get_chart(mut db: Connection, chart_id: i32) -> GetChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_chart` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | enum GetChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartSetResponse` is more private than the item `get_chart_set` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / pub async fn get_chart_set( [INFO] [stdout] 16 | | mut db: Connection, [INFO] [stdout] 17 | | set_id: i32, [INFO] [stdout] 18 | | ) -> Option> { [INFO] [stdout] | |______________________________________^ function `get_chart_set` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartSetResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct GetChartSetResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ChartSearchParams<'_>` is more private than the item `search_charts` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / pub async fn search_charts( [INFO] [stdout] 51 | | mut db: Connection, [INFO] [stdout] 52 | | search_criteria: Json>, [INFO] [stdout] 53 | | ) -> SearchChartResponse { [INFO] [stdout] | |________________________^ function `search_charts` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ChartSearchParams<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | struct ChartSearchParams<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `SearchChartResponse` is more private than the item `search_charts` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / pub async fn search_charts( [INFO] [stdout] 51 | | mut db: Connection, [INFO] [stdout] 52 | | search_criteria: Json>, [INFO] [stdout] 53 | | ) -> SearchChartResponse { [INFO] [stdout] | |________________________^ function `search_charts` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `SearchChartResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/search_charts.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | enum SearchChartResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartSetAuxFileResponse` is more private than the item `get_chart_set_aux_file` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set_aux_file.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / pub async fn get_chart_set_aux_file( [INFO] [stdout] 23 | | mut db: Connection, [INFO] [stdout] 24 | | file_store: &FileStoreHandle, [INFO] [stdout] 25 | | chart_set_id: i32, [INFO] [stdout] 26 | | label: &str, [INFO] [stdout] 27 | | ) -> GetChartSetAuxFileResponse { [INFO] [stdout] | |_______________________________^ function `get_chart_set_aux_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartSetAuxFileResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_set_aux_file.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | enum GetChartSetAuxFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetAuxFileForm<'_>` is more private than the item `create_chart_set_aux_file` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub async fn create_chart_set_aux_file( [INFO] [stdout] 33 | | mut db: Connection, [INFO] [stdout] 34 | | file_store: &FileStoreHandle, [INFO] [stdout] 35 | | _auth: UploadAuth, [INFO] [stdout] ... | [INFO] [stdout] 38 | | data: Form>, [INFO] [stdout] 39 | | ) -> CreateChartSetAuxFileResponse { [INFO] [stdout] | |__________________________________^ function `create_chart_set_aux_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetAuxFileForm<'_>` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | struct CreateChartSetAuxFileForm<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CreateChartSetAuxFileResponse` is more private than the item `create_chart_set_aux_file` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / pub async fn create_chart_set_aux_file( [INFO] [stdout] 33 | | mut db: Connection, [INFO] [stdout] 34 | | file_store: &FileStoreHandle, [INFO] [stdout] 35 | | _auth: UploadAuth, [INFO] [stdout] ... | [INFO] [stdout] 38 | | data: Form>, [INFO] [stdout] 39 | | ) -> CreateChartSetAuxFileResponse { [INFO] [stdout] | |__________________________________^ function `create_chart_set_aux_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `CreateChartSetAuxFileResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/create_chart_set_aux_file.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | enum CreateChartSetAuxFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `GetChartFileResponse` is more private than the item `get_chart_file` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_file.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn get_chart_file(mut db: Connection, file_store: &FileStoreHandle, chart_id: i32) -> GetChartFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `get_chart_file` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `GetChartFileResponse` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bin/file-server/routes/get_chart_file.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | enum GetChartFileResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `index` is never used [INFO] [stdout] --> src/bin/file-server/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn index() -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bin/file-server/storage.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl FileStore { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 67 | pub fn new(backend: S, hasher: fn(&[u8]) -> String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnsupportedError` is never constructed [INFO] [stdout] --> src/bin/file-server/storage.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | struct UnsupportedError {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `S3Storage` is never constructed [INFO] [stdout] --> src/bin/file-server/storage.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | struct S3Storage {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NotFound` is never constructed [INFO] [stdout] --> src/bin/file-server/routes/get_chart.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 18 | enum GetChartResponse { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 22 | NotFound(()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 13` [INFO] running `Command { std: "docker" "inspect" "67ea270c10d76841230904912b908de1500a663c9d0428dda89556efdfc7049c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67ea270c10d76841230904912b908de1500a663c9d0428dda89556efdfc7049c", kill_on_drop: false }` [INFO] [stdout] 67ea270c10d76841230904912b908de1500a663c9d0428dda89556efdfc7049c