[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-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fspacewalkwalker%2Fapollo-file-server" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-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 rocket_db_pools_codegen v0.2.0
[INFO] [stderr]   Downloaded rocket_db_pools v0.2.0
[INFO] [stderr]   Downloaded devise v0.4.2
[INFO] [stderr]   Downloaded getrandom v0.4.1
[INFO] [stderr]   Downloaded trait-variant v0.1.2
[INFO] [stderr]   Downloaded aws-smithy-runtime-api v1.11.5
[INFO] [stderr]   Downloaded binascii v0.1.4
[INFO] [stderr]   Downloaded aws-smithy-query v0.60.14
[INFO] [stderr]   Downloaded aws-smithy-xml v0.60.14
[INFO] [stderr]   Downloaded atomic v0.6.1
[INFO] [stderr]   Downloaded is-terminal v0.4.17
[INFO] [stderr]   Downloaded dynosaur v0.3.0
[INFO] [stderr]   Downloaded aws-smithy-observability v0.2.5
[INFO] [stderr]   Downloaded aws-smithy-http v0.62.6
[INFO] [stderr]   Downloaded aws-smithy-http v0.63.5
[INFO] [stderr]   Downloaded aws-smithy-json v0.62.4
[INFO] [stderr]   Downloaded aws-credential-types v1.2.13
[INFO] [stderr]   Downloaded aws-types v1.3.13
[INFO] [stderr]   Downloaded stable-pattern v0.1.0
[INFO] [stderr]   Downloaded aws-sdk-sso v1.95.0
[INFO] [stderr]   Downloaded aws-smithy-http-client v1.1.11
[INFO] [stderr]   Downloaded aws-sdk-ssooidc v1.97.0
[INFO] [stderr]   Downloaded aws-sigv4 v1.4.1
[INFO] [stderr]   Downloaded aws-config v1.8.14
[INFO] [stderr]   Downloaded crc-fast v1.6.0
[INFO] [stderr]   Downloaded aws-sdk-sts v1.99.0
[INFO] [stderr]   Downloaded rocket_codegen v0.5.1
[INFO] [stderr]   Downloaded aws-smithy-runtime v1.10.2
[INFO] [stderr]   Downloaded aws-lc-rs v1.16.1
[INFO] [stderr]   Downloaded aws-smithy-types v1.4.5
[INFO] [stderr]   Downloaded regex-lite v0.1.9
[INFO] [stderr]   Downloaded rocket_http v0.5.1
[INFO] [stderr]   Downloaded aws-runtime v1.7.1
[INFO] [stderr]   Downloaded rocket v0.5.1
[INFO] [stderr]   Downloaded rustls v0.23.37
[INFO] [stderr]   Downloaded rustls-webpki v0.103.9
[INFO] [stderr]   Downloaded aws-smithy-checksums v0.63.12
[INFO] [stderr]   Downloaded aws-smithy-eventstream v0.60.19
[INFO] [stderr]   Downloaded aws-smithy-json v0.61.9
[INFO] [stderr]   Downloaded state v0.6.0
[INFO] [stderr]   Downloaded devise_core v0.4.2
[INFO] [stderr]   Downloaded aws-smithy-async v1.2.13
[INFO] [stderr]   Downloaded dynosaur_derive v0.3.0
[INFO] [stderr]   Downloaded atomic v0.5.3
[INFO] [stderr]   Downloaded ubyte v0.10.4
[INFO] [stderr]   Downloaded devise_codegen v0.4.2
[INFO] [stderr]   Downloaded aws-sdk-s3 v1.119.0
[INFO] [stderr]   Downloaded aws-lc-sys v0.38.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 36a341f63b640cc48bbc5ac1472c6ed42bac9cea1f2d237b2d44bdd558f39081
[INFO] running `Command { std: "docker" "start" "-a" "36a341f63b640cc48bbc5ac1472c6ed42bac9cea1f2d237b2d44bdd558f39081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36a341f63b640cc48bbc5ac1472c6ed42bac9cea1f2d237b2d44bdd558f39081", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36a341f63b640cc48bbc5ac1472c6ed42bac9cea1f2d237b2d44bdd558f39081", kill_on_drop: false }`
[INFO] [stdout] 36a341f63b640cc48bbc5ac1472c6ed42bac9cea1f2d237b2d44bdd558f39081
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 79448b1514d223e12de54c4698ae2af975a8fa8e226193e187da190907404ca5
[INFO] running `Command { std: "docker" "start" "-a" "79448b1514d223e12de54c4698ae2af975a8fa8e226193e187da190907404ca5", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling unicode-ident v1.0.24
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking pin-project-lite v0.2.17
[INFO] [stderr]     Checking futures-core v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]     Checking memchr v2.8.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]     Checking itoa v1.0.17
[INFO] [stderr]     Checking bytes v1.11.1
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]     Checking futures-sink v0.3.32
[INFO] [stderr]    Compiling zerocopy v0.8.40
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]    Compiling find-msvc-tools v0.1.9
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling cc v1.2.56
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking litemap v0.8.1
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]     Checking writeable v0.6.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]    Compiling icu_properties_data v2.1.2
[INFO] [stderr]    Compiling icu_normalizer_data v2.1.1
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]    Compiling time-macros v0.2.27
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking indexmap v2.13.0
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]     Checking percent-encoding v2.3.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling ref-cast v1.0.25
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling deranged v0.5.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]     Checking nom v7.1.3
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]     Checking tinyvec v1.10.0
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling tokio v1.49.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]     Checking form_urlencoded v1.2.2
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[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]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]     Checking zerovec v0.11.5
[INFO] [stderr]     Checking zerotrie v0.2.3
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]     Checking tinystr v0.8.2
[INFO] [stderr]     Checking icu_locale_core v2.1.1
[INFO] [stderr]     Checking potential_utf v0.1.4
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking icu_collections v2.1.1
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]     Checking icu_provider v2.1.1
[INFO] [stderr]     Checking inlinable_string v0.1.15
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]     Checking icu_properties v2.1.2
[INFO] [stderr]     Checking icu_normalizer v2.1.1
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking unicode_categories v0.1.1
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]     Checking crc-catalog v2.4.0
[INFO] [stderr]     Checking winnow v0.7.14
[INFO] [stderr]     Checking crc v3.4.0
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking sqlformat v0.2.6
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]     Checking crossbeam-queue v0.3.12
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking hashlink v0.8.4
[INFO] [stderr]     Checking unicode-normalization v0.1.25
[INFO] [stderr]     Checking atoi v2.0.0
[INFO] [stderr]     Checking futures-intrusive v0.5.0
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]     Checking tokio-util v0.7.18
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]     Checking unicode-properties v0.1.4
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]     Checking linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking stringprep v0.1.5
[INFO] [stderr]     Checking hkdf v0.12.4
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking md-5 v0.10.6
[INFO] [stderr]     Checking http v1.4.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling glob v0.3.3
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking home v0.5.12
[INFO] [stderr]     Checking whoami v1.6.1
[INFO] [stderr]     Checking dotenvy v0.15.7
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking ubyte v0.10.4
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking atomic v0.5.3
[INFO] [stderr]     Checking binascii v0.1.4
[INFO] [stderr]    Compiling rocket_db_pools_codegen v0.2.0
[INFO] [stderr]     Checking sqlx-core v0.7.4
[INFO] [stderr]    Compiling dynosaur_derive v0.3.0
[INFO] [stderr]     Checking iana-time-zone v0.1.65
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling trait-variant v0.1.2
[INFO] [stderr]     Checking tempfile v3.26.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]     Checking dynosaur v0.3.0
[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 = "<search_criteria>")]
[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 = "<search_criteria>")]
[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: `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 = "<search_criteria>")]
[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 = "<search_criteria>")]
[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 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<u8>) -> Result<(), Box<dyn Error + '_>> {
[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<u8>) -> Result<(), Box<dyn Error + '_>> {
[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<Option<Vec<u8>>, Box<dyn Error + '_>> {
[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<u8>) -> Result<(), Box<dyn Error + '_>> {
[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<u8>) -> Result<(), Box<dyn Error + '_>> {
[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<Option<Vec<u8>>, Box<dyn Error + '_>> {
[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<DBPool>,
[INFO] [stdout] 50 | |     id: RequestID,
[INFO] [stdout] 51 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 52 | |     data: Form<CreateChartForm<'_>>,
[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<DBPool>,
[INFO] [stdout] 50 | |     id: RequestID,
[INFO] [stdout] 51 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 52 | |     data: Form<CreateChartForm<'_>>,
[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<DBPool>,
[INFO] [stdout] 28 | |     set_data: Json<CreateChartSetReq<'_>>,
[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<DBPool>,
[INFO] [stdout] 28 | |     set_data: Json<CreateChartSetReq<'_>>,
[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<DBPool>, 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<DBPool>,
[INFO] [stdout] 17 | |     set_id: i32,
[INFO] [stdout] 18 | | ) -> Option<Json<GetChartSetResponse>> {
[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<DBPool>,
[INFO] [stdout] 52 | |     search_criteria: Json<ChartSearchParams<'_>>,
[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<DBPool>,
[INFO] [stdout] 52 | |     search_criteria: Json<ChartSearchParams<'_>>,
[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<DBPool>,
[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<DBPool>,
[INFO] [stdout] 34 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 35 | |     _auth: UploadAuth,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |     data: Form<CreateChartSetAuxFileForm<'_>>,
[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<DBPool>,
[INFO] [stdout] 34 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 35 | |     _auth: UploadAuth,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |     data: Form<CreateChartSetAuxFileForm<'_>>,
[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<DBPool>, 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<S: StorageBackend + 'static>(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<DBPool>,
[INFO] [stdout] 50 | |     id: RequestID,
[INFO] [stdout] 51 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 52 | |     data: Form<CreateChartForm<'_>>,
[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<DBPool>,
[INFO] [stdout] 50 | |     id: RequestID,
[INFO] [stdout] 51 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 52 | |     data: Form<CreateChartForm<'_>>,
[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<DBPool>,
[INFO] [stdout] 28 | |     set_data: Json<CreateChartSetReq<'_>>,
[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<DBPool>,
[INFO] [stdout] 28 | |     set_data: Json<CreateChartSetReq<'_>>,
[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<DBPool>, 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<DBPool>,
[INFO] [stdout] 17 | |     set_id: i32,
[INFO] [stdout] 18 | | ) -> Option<Json<GetChartSetResponse>> {
[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<DBPool>,
[INFO] [stdout] 52 | |     search_criteria: Json<ChartSearchParams<'_>>,
[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<DBPool>,
[INFO] [stdout] 52 | |     search_criteria: Json<ChartSearchParams<'_>>,
[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<DBPool>,
[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<DBPool>,
[INFO] [stdout] 34 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 35 | |     _auth: UploadAuth,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |     data: Form<CreateChartSetAuxFileForm<'_>>,
[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<DBPool>,
[INFO] [stdout] 34 | |     file_store: &FileStoreHandle,
[INFO] [stdout] 35 | |     _auth: UploadAuth,
[INFO] [stdout] ...  |
[INFO] [stdout] 38 | |     data: Form<CreateChartSetAuxFileForm<'_>>,
[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<DBPool>, 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<S: StorageBackend + 'static>(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 1m 48s
[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 3`
[INFO] running `Command { std: "docker" "inspect" "79448b1514d223e12de54c4698ae2af975a8fa8e226193e187da190907404ca5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "79448b1514d223e12de54c4698ae2af975a8fa8e226193e187da190907404ca5", kill_on_drop: false }`
[INFO] [stdout] 79448b1514d223e12de54c4698ae2af975a8fa8e226193e187da190907404ca5
