[INFO] cloning repository https://github.com/okieraised/rs-axum-api-template
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/okieraised/rs-axum-api-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokieraised%2Frs-axum-api-template", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokieraised%2Frs-axum-api-template'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a3e3f3535f38669da3dc6ce01bad88c9e027d579
[INFO] building okieraised/rs-axum-api-template against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fokieraised%2Frs-axum-api-template" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/okieraised/rs-axum-api-template
[INFO] finished tweaking git repo https://github.com/okieraised/rs-axum-api-template
[INFO] tweaked toml for git repo https://github.com/okieraised/rs-axum-api-template written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/okieraised/rs-axum-api-template on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/okieraised/rs-axum-api-template already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded serial_test v3.2.0
[INFO] [stderr] Downloaded bitflags v2.9.3
[INFO] [stderr] Downloaded scoped-futures v0.1.4
[INFO] [stderr] Downloaded windows-collections v0.2.0
[INFO] [stderr] Downloaded windows-numerics v0.2.0
[INFO] [stderr] Downloaded ecs-logger v1.1.0
[INFO] [stderr] Downloaded serial_test_derive v3.2.0
[INFO] [stderr] Downloaded bb8 v0.9.0
[INFO] [stderr] Downloaded generator v0.8.7
[INFO] [stderr] Downloaded diesel_derives v2.2.7
[INFO] [stderr] Downloaded pq-sys v0.7.2
[INFO] [stderr] Downloaded sdd v3.0.10
[INFO] [stderr] Downloaded windows-threading v0.1.0
[INFO] [stderr] Downloaded cc v1.2.34
[INFO] [stderr] Downloaded tracing-opentelemetry v0.31.0
[INFO] [stderr] Downloaded p384 v0.13.1
[INFO] [stderr] Downloaded diesel v2.2.12
[INFO] [stderr] Downloaded openidconnect v4.0.1
[INFO] [stderr] Downloaded diesel-async v0.6.1
[INFO] [stderr] Downloaded opentelemetry-proto v0.30.0
[INFO] [stderr] Downloaded indexmap v2.11.0
[INFO] [stderr] Downloaded opentelemetry_sdk v0.30.0
[INFO] [stderr] Downloaded ed25519-dalek v2.2.0
[INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.30.0
[INFO] [stderr] Downloaded serde_json v1.0.143
[INFO] [stderr] Downloaded loom v0.7.2
[INFO] [stderr] Downloaded opentelemetry-otlp v0.30.0
[INFO] [stderr] Downloaded scc v2.4.0
[INFO] [stderr] Downloaded opentelemetry v0.30.0
[INFO] [stderr] Downloaded anyhow v1.0.99
[INFO] [stderr] Downloaded windows-future v0.2.1
[INFO] [stderr] Downloaded opentelemetry-http v0.30.0
[INFO] [stderr] Downloaded ordered-float v2.10.1
[INFO] [stderr] Downloaded moka v0.12.10
[INFO] [stderr] Downloaded windows v0.61.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3c3d94ae936a3a8521808c82a894bd0cd8aa3cc485640e058760f4c2717cf6f
[INFO] running `Command { std: "docker" "start" "-a" "d3c3d94ae936a3a8521808c82a894bd0cd8aa3cc485640e058760f4c2717cf6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3c3d94ae936a3a8521808c82a894bd0cd8aa3cc485640e058760f4c2717cf6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3c3d94ae936a3a8521808c82a894bd0cd8aa3cc485640e058760f4c2717cf6f", kill_on_drop: false }`
[INFO] [stdout] d3c3d94ae936a3a8521808c82a894bd0cd8aa3cc485640e058760f4c2717cf6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 45bc4c4a768acbe60a09d04a37a26b57eabb5bbb73b9ca11bfd23bec52706017
[INFO] running `Command { std: "docker" "start" "-a" "45bc4c4a768acbe60a09d04a37a26b57eabb5bbb73b9ca11bfd23bec52706017", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.101
[INFO] [stderr] Compiling cfg-if v1.0.3
[INFO] [stderr] Compiling libc v0.2.175
[INFO] [stderr] Compiling autocfg v1.5.0
[INFO] [stderr] Compiling memchr v2.7.5
[INFO] [stderr] Compiling serde v1.0.219
[INFO] [stderr] Compiling smallvec v1.15.1
[INFO] [stderr] Compiling log v0.4.27
[INFO] [stderr] Compiling typenum v1.18.0
[INFO] [stderr] Compiling parking_lot_core v0.9.11
[INFO] [stderr] Compiling subtle v2.6.1
[INFO] [stderr] Compiling slab v0.4.11
[INFO] [stderr] Compiling foldhash v0.1.5
[INFO] [stderr] Compiling tracing-core v0.1.34
[INFO] [stderr] Compiling zerocopy v0.8.26
[INFO] [stderr] Compiling percent-encoding v2.3.2
[INFO] [stderr] Compiling getrandom v0.3.3
[INFO] [stderr] Compiling hashbrown v0.15.5
[INFO] [stderr] Compiling base64ct v1.8.0
[INFO] [stderr] Compiling cc v1.2.34
[INFO] [stderr] Compiling thiserror v2.0.16
[INFO] [stderr] Compiling libm v0.2.15
[INFO] [stderr] Compiling writeable v0.6.1
[INFO] [stderr] Compiling litemap v0.8.0
[INFO] [stderr] Compiling cpufeatures v0.2.17
[INFO] [stderr] Compiling serde_json v1.0.143
[INFO] [stderr] Compiling icu_normalizer_data v2.0.0
[INFO] [stderr] Compiling icu_properties_data v2.0.1
[INFO] [stderr] Compiling pem-rfc7468 v0.7.0
[INFO] [stderr] Compiling lock_api v0.4.13
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Compiling crossbeam-utils v0.8.21
[INFO] [stderr] Compiling openssl v0.10.73
[INFO] [stderr] Compiling strsim v0.11.1
[INFO] [stderr] Compiling either v1.15.0
[INFO] [stderr] Compiling crunchy v0.2.4
[INFO] [stderr] Compiling indexmap v2.11.0
[INFO] [stderr] Compiling der v0.7.10
[INFO] [stderr] Compiling quote v1.0.40
[INFO] [stderr] Compiling generic-array v0.14.7
[INFO] [stderr] Compiling form_urlencoded v1.2.2
[INFO] [stderr] Compiling tiny-keccak v2.0.2
[INFO] [stderr] Compiling syn v2.0.106
[INFO] [stderr] Compiling signal-hook-registry v1.4.6
[INFO] [stderr] Compiling mio v1.0.4
[INFO] [stderr] Compiling socket2 v0.6.0
[INFO] [stderr] Compiling getrandom v0.2.16
[INFO] [stderr] Compiling parking_lot v0.12.4
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling semver v1.0.26
[INFO] [stderr] Compiling ff v0.13.1
[INFO] [stderr] Compiling anyhow v1.0.99
[INFO] [stderr] Compiling rand_core v0.9.3
[INFO] [stderr] Compiling tinyvec v1.10.0
[INFO] [stderr] Compiling lazy_static v1.5.0
[INFO] [stderr] Compiling group v0.13.0
[INFO] [stderr] Compiling openssl-sys v0.9.109
[INFO] [stderr] Compiling crypto-common v0.1.6
[INFO] [stderr] Compiling block-buffer v0.10.4
[INFO] [stderr] Compiling crypto-bigint v0.5.5
[INFO] [stderr] Compiling digest v0.10.7
[INFO] [stderr] Compiling thiserror v1.0.69
[INFO] [stderr] Compiling once_cell v1.21.3
[INFO] [stderr] Compiling iri-string v0.7.8
[INFO] [stderr] Compiling rustc_version v0.4.1
[INFO] [stderr] Compiling itertools v0.14.0
[INFO] [stderr] Compiling rustls-pki-types v1.12.0
[INFO] [stderr] Compiling const-random-macro v0.1.16
[INFO] [stderr] Compiling hmac v0.12.1
[INFO] [stderr] Compiling sha2 v0.10.9
[INFO] [stderr] Compiling signature v2.2.0
[INFO] [stderr] Compiling hkdf v0.12.4
[INFO] [stderr] Compiling unicode-normalization v0.1.24
[INFO] [stderr] Compiling unicode-properties v0.1.3
[INFO] [stderr] Compiling typeid v1.0.3
[INFO] [stderr] Compiling unicode-bidi v0.3.18
[INFO] [stderr] Compiling native-tls v0.2.14
[INFO] [stderr] Compiling curve25519-dalek v4.1.3
[INFO] [stderr] Compiling const-random v0.1.18
[INFO] [stderr] Compiling rfc6979 v0.4.0
[INFO] [stderr] Compiling md-5 v0.10.6
[INFO] [stderr] Compiling concurrent-queue v2.5.0
[INFO] [stderr] Compiling aho-corasick v1.1.3
[INFO] [stderr] Compiling rustversion v1.0.22
[INFO] [stderr] Compiling hashbrown v0.14.5
[INFO] [stderr] Compiling regex-syntax v0.8.5
[INFO] [stderr] Compiling spki v0.7.3
[INFO] [stderr] Compiling ppv-lite86 v0.2.21
[INFO] [stderr] Compiling stringprep v0.1.5
[INFO] [stderr] Compiling pkcs8 v0.10.2
[INFO] [stderr] Compiling iana-time-zone v0.1.63
[INFO] [stderr] Compiling siphasher v1.0.1
[INFO] [stderr] Compiling sec1 v0.7.3
[INFO] [stderr] Compiling pq-sys v0.7.2
[INFO] [stderr] Compiling rand_chacha v0.9.0
[INFO] [stderr] Compiling rand_chacha v0.3.1
[INFO] [stderr] Compiling num-integer v0.1.46
[INFO] [stderr] Compiling phf_shared v0.11.3
[INFO] [stderr] Compiling event-listener v5.4.0
[INFO] [stderr] Compiling rand v0.9.2
[INFO] [stderr] Compiling num-iter v0.1.45
[INFO] [stderr] Compiling elliptic-curve v0.13.8
[INFO] [stderr] Compiling dlv-list v0.5.2
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Compiling winnow v0.7.13
[INFO] [stderr] Compiling unicase v2.8.1
[INFO] [stderr] Compiling portable-atomic v1.11.1
[INFO] [stderr] Compiling ordered-multimap v0.7.3
[INFO] [stderr] Compiling event-listener-strategy v0.5.4
[INFO] [stderr] Compiling mime_guess v2.0.5
[INFO] [stderr] Compiling anstyle-parse v0.2.7
[INFO] [stderr] Compiling phf v0.11.3
[INFO] [stderr] Compiling ecdsa v0.16.9
[INFO] [stderr] Compiling primeorder v0.13.6
[INFO] [stderr] Compiling postgres-protocol v0.6.8
[INFO] [stderr] Compiling ordered-float v2.10.1
[INFO] [stderr] Compiling pkcs1 v0.7.5
[INFO] [stderr] Compiling ed25519 v2.2.3
[INFO] [stderr] Compiling sharded-slab v0.1.7
[INFO] [stderr] Compiling socket2 v0.5.10
[INFO] [stderr] Compiling hashlink v0.10.0
[INFO] [stderr] Compiling regex-automata v0.4.9
[INFO] [stderr] Compiling tracing-log v0.2.0
[INFO] [stderr] Compiling thread_local v1.1.9
[INFO] [stderr] Compiling num-bigint-dig v0.8.4
[INFO] [stderr] Compiling postgres-types v0.2.9
[INFO] [stderr] Compiling encoding_rs v0.8.35
[INFO] [stderr] Compiling sdd v3.0.10
[INFO] [stderr] Compiling arraydeque v0.5.1
[INFO] [stderr] Compiling anstyle v1.0.11
[INFO] [stderr] Compiling trim-in-place v0.1.7
[INFO] [stderr] Compiling colorchoice v1.0.4
[INFO] [stderr] Compiling anstyle-query v1.1.4
[INFO] [stderr] Compiling moka v0.12.10
[INFO] [stderr] Compiling whoami v1.6.0
[INFO] [stderr] Compiling convert_case v0.6.0
[INFO] [stderr] Compiling rust-ini v0.21.1
[INFO] [stderr] Compiling tracing-subscriber v0.3.19
[INFO] [stderr] Compiling itertools v0.10.5
[INFO] [stderr] Compiling anstream v0.6.20
[INFO] [stderr] Compiling scc v2.4.0
[INFO] [stderr] Compiling p256 v0.13.2
[INFO] [stderr] Compiling p384 v0.13.1
[INFO] [stderr] Compiling async-lock v3.4.0
[INFO] [stderr] Compiling uuid v1.18.0
[INFO] [stderr] Compiling yaml-rust2 v0.10.3
[INFO] [stderr] Compiling crossbeam-channel v0.5.15
[INFO] [stderr] Compiling toml_parser v1.0.2
[INFO] [stderr] Compiling rsa v0.9.8
[INFO] [stderr] Compiling crossbeam-epoch v0.9.18
[INFO] [stderr] Compiling env_logger v0.10.2
[INFO] [stderr] Compiling scoped-futures v0.1.4
[INFO] [stderr] Compiling jiff v0.2.15
[INFO] [stderr] Compiling synstructure v0.13.2
[INFO] [stderr] Compiling darling_core v0.20.11
[INFO] [stderr] Compiling diesel_table_macro_syntax v0.2.0
[INFO] [stderr] Compiling regex v1.11.1
[INFO] [stderr] Compiling tagptr v0.2.0
[INFO] [stderr] Compiling dyn-clone v1.0.20
[INFO] [stderr] Compiling matchit v0.8.4
[INFO] [stderr] Compiling pathdiff v0.2.3
[INFO] [stderr] Compiling dashmap v6.1.0
[INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.30.0
[INFO] [stderr] Compiling dotenvy v0.15.7
[INFO] [stderr] Compiling env_filter v0.1.3
[INFO] [stderr] Compiling serde_derive v1.0.219
[INFO] [stderr] Compiling futures-macro v0.3.31
[INFO] [stderr] Compiling tokio-macros v2.5.0
[INFO] [stderr] Compiling tracing-attributes v0.1.30
[INFO] [stderr] Compiling zerofrom-derive v0.1.6
[INFO] [stderr] Compiling yoke-derive v0.8.0
[INFO] [stderr] Compiling zerovec-derive v0.11.1
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling thiserror-impl v2.0.16
[INFO] [stderr] Compiling openssl-macros v0.1.1
[INFO] [stderr] Compiling async-trait v0.1.89
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling pin-project-internal v1.1.10
[INFO] [stderr] Compiling prost-derive v0.13.5
[INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1
[INFO] [stderr] Compiling serial_test_derive v3.2.0
[INFO] [stderr] Compiling futures-util v0.3.31
[INFO] [stderr] Compiling tokio v1.47.1
[INFO] [stderr] Compiling tracing v0.1.41
[INFO] [stderr] Compiling zerofrom v0.1.6
[INFO] [stderr] Compiling darling_macro v0.20.11
[INFO] [stderr] Compiling yoke v0.8.0
[INFO] [stderr] Compiling pin-project v1.1.10
[INFO] [stderr] Compiling pest v2.8.1
[INFO] [stderr] Compiling zerovec v0.11.4
[INFO] [stderr] Compiling zerotrie v0.2.2
[INFO] [stderr] Compiling opentelemetry v0.30.0
[INFO] [stderr] Compiling axum-core v0.5.2
[INFO] [stderr] Compiling prost v0.13.5
[INFO] [stderr] Compiling darling v0.20.11
[INFO] [stderr] Compiling dsl_auto_type v0.1.3
[INFO] [stderr] Compiling serde_with_macros v3.14.0
[INFO] [stderr] Compiling ed25519-dalek v2.2.0
[INFO] [stderr] Compiling tinystr v0.8.1
[INFO] [stderr] Compiling potential_utf v0.1.2
[INFO] [stderr] Compiling icu_collections v2.0.0
[INFO] [stderr] Compiling icu_locale_core v2.0.0
[INFO] [stderr] Compiling diesel_derives v2.2.7
[INFO] [stderr] Compiling pest_meta v2.8.1
[INFO] [stderr] Compiling futures-executor v0.3.31
[INFO] [stderr] Compiling icu_provider v2.0.0
[INFO] [stderr] Compiling futures v0.3.31
[INFO] [stderr] Compiling serial_test v3.2.0
[INFO] [stderr] Compiling icu_properties v2.0.1
[INFO] [stderr] Compiling icu_normalizer v2.0.0
[INFO] [stderr] Compiling pest_generator v2.8.1
[INFO] [stderr] Compiling env_logger v0.11.8
[INFO] [stderr] Compiling idna_adapter v1.2.1
[INFO] [stderr] Compiling idna v1.1.0
[INFO] [stderr] Compiling pest_derive v2.8.1
[INFO] [stderr] Compiling tokio-util v0.7.16
[INFO] [stderr] Compiling tokio-stream v0.1.17
[INFO] [stderr] Compiling bb8 v0.9.0
[INFO] [stderr] Compiling bitflags v2.9.3
[INFO] [stderr] Compiling serde_urlencoded v0.7.1
[INFO] [stderr] Compiling url v2.5.7
[INFO] [stderr] Compiling serde_path_to_error v0.1.17
[INFO] [stderr] Compiling chrono v0.4.41
[INFO] [stderr] Compiling toml_datetime v0.7.0
[INFO] [stderr] Compiling serde_spanned v1.0.0
[INFO] [stderr] Compiling erased-serde v0.4.6
[INFO] [stderr] Compiling serde_plain v1.0.2
[INFO] [stderr] Compiling serde_with v3.14.0
[INFO] [stderr] Compiling serde-value v0.7.0
[INFO] [stderr] Compiling json5 v0.4.1
[INFO] [stderr] Compiling toml v0.9.5
[INFO] [stderr] Compiling ron v0.8.1
[INFO] [stderr] Compiling h2 v0.4.12
[INFO] [stderr] Compiling tower v0.5.2
[INFO] [stderr] Compiling tokio-postgres v0.7.13
[INFO] [stderr] Compiling serde-untagged v0.1.8
[INFO] [stderr] Compiling opentelemetry_sdk v0.30.0
[INFO] [stderr] Compiling diesel v2.2.12
[INFO] [stderr] Compiling config v0.15.14
[INFO] [stderr] Compiling tower-http v0.6.6
[INFO] [stderr] Compiling ecs-logger v1.1.0
[INFO] [stderr] Compiling tokio-native-tls v0.3.1
[INFO] [stderr] Compiling tracing-opentelemetry v0.31.0
[INFO] [stderr] Compiling hyper v1.7.0
[INFO] [stderr] Compiling hyper-util v0.1.16
[INFO] [stderr] Compiling hyper-tls v0.6.0
[INFO] [stderr] Compiling hyper-timeout v0.5.2
[INFO] [stderr] Compiling axum v0.8.4
[INFO] [stderr] Compiling reqwest v0.12.23
[INFO] [stderr] Compiling tonic v0.13.1
[INFO] [stderr] Compiling opentelemetry-proto v0.30.0
[INFO] [stderr] Compiling opentelemetry-http v0.30.0
[INFO] [stderr] Compiling oauth2 v5.0.0
[INFO] [stderr] Compiling opentelemetry-otlp v0.30.0
[INFO] [stderr] Compiling openidconnect v4.0.1
[INFO] [stderr] Compiling diesel-async v0.6.1
[INFO] [stderr] Compiling rs-axum-api-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Request` and `body::Body`
[INFO] [stdout] --> src/common/api_response/mod.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | body::Body,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 7 | http::{HeaderMap, HeaderValue, Request, StatusCode, header},
[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: `json`
[INFO] [stdout] --> src/common/api_response/mod.rs:13:30
[INFO] [stdout] |
[INFO] [stdout] 13 | use serde_json::{Map, Value, json};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tower_layer::Layer`
[INFO] [stdout] --> src/common/api_response/mod.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use tower_layer::Layer;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tower_service::Service`
[INFO] [stdout] --> src/common/api_response/mod.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use tower_service::Service;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::common::api_response::BaseOutput`
[INFO] [stdout] --> src/services/v1/authentication/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::common::api_response::BaseOutput;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `openidconnect::core::CoreClient`
[INFO] [stdout] --> src/web/api/app_state.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use openidconnect::core::CoreClient;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `openidconnect::core::CoreClient`
[INFO] [stdout] --> src/web/api/v1/authentication/mod.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use openidconnect::core::CoreClient;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `log_level` is never read
[INFO] [stdout] --> src/infrastructures/log/logger.rs:10:13
[INFO] [stdout] |
[INFO] [stdout] 10 | let mut log_level: log::LevelFilter = log::LevelFilter::Debug;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/middlewares/request_logging_mw.rs:51:24
[INFO] [stdout] |
[INFO] [stdout] 51 | fn call(&mut self, mut req: Request
) -> Self::Future {
[INFO] [stdout] | ----^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Pagination` is never constructed
[INFO] [stdout] --> src/common/api_response/mod.rs:41:12
[INFO] [stdout] |
[INFO] [stdout] 41 | pub struct Pagination {
[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 functions `ok`, `error`, and `from_error` are never used
[INFO] [stdout] --> src/common/api_response/mod.rs:107:12
[INFO] [stdout] |
[INFO] [stdout] 82 | impl Response {
[INFO] [stdout] | ---------------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 | pub fn ok(data: T) -> Self {
[INFO] [stdout] | ^^
[INFO] [stdout] ...
[INFO] [stdout] 114 | pub fn error(code: impl Into, message: impl Into) -> Self {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 | pub fn from_error(code: impl Into, err: Option) -> Self
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `with_count`, `with_agg`, `with_meta`, `with_pagination`, and `populate` are never used
[INFO] [stdout] --> src/common/api_response/mod.rs:144:12
[INFO] [stdout] |
[INFO] [stdout] 135 | impl Response {
[INFO] [stdout] | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 144 | pub fn with_count(mut self, n: i32) -> Self {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 | pub fn with_agg(mut self, agg: impl Into) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 | pub fn with_meta(mut self, m: Map) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 | pub fn with_pagination(self, p: Pagination) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 | pub fn populate(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ProblemJson` is never constructed
[INFO] [stdout] --> src/common/api_response/mod.rs:225:12
[INFO] [stdout] |
[INFO] [stdout] 225 | pub struct ProblemJson<'a> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `write_problem_json` is never used
[INFO] [stdout] --> src/common/api_response/mod.rs:239:8
[INFO] [stdout] |
[INFO] [stdout] 239 | pub fn write_problem_json(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout] --> src/common/errors/mod.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 11 | pub enum CError {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] 12 | // Generic
[INFO] [stdout] 13 | GenericBadRequest,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 | GenericInternalServer,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 | GenericRequestTimedOut,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 | GenericUnauthorized,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 | GenericPermission,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 | GenericUnknownAPIPath,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | InvalidDatabaseClient,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `code` is never used
[INFO] [stdout] --> src/common/errors/mod.rs:23:18
[INFO] [stdout] |
[INFO] [stdout] 22 | impl CError {
[INFO] [stdout] | ----------- method in this implementation
[INFO] [stdout] 23 | pub const fn code(self) -> Option<&'static str> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `code_for_option` is never used
[INFO] [stdout] --> src/common/errors/mod.rs:59:8
[INFO] [stdout] |
[INFO] [stdout] 59 | pub fn code_for_option(err: Option) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `message_for_option` is never used
[INFO] [stdout] --> src/common/errors/mod.rs:66:8
[INFO] [stdout] |
[INFO] [stdout] 66 | pub fn message_for_option(err: Option) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `OIDCConfig` is never constructed
[INFO] [stdout] --> src/config/env_settings.rs:60:12
[INFO] [stdout] |
[INFO] [stdout] 60 | pub struct OIDCConfig {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `database` is never read
[INFO] [stdout] --> src/config/env_settings.rs:89:9
[INFO] [stdout] |
[INFO] [stdout] 83 | pub struct Settings {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 | pub database: DatabaseConfig,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Settings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_OCTET_STREAM` is never used
[INFO] [stdout] --> src/constants/http.rs:4:11
[INFO] [stdout] |
[INFO] [stdout] 4 | pub const CONTENT_TYPE_OCTET_STREAM: &str = "application/octet-stream";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_PROBLEM_JSON` is never used
[INFO] [stdout] --> src/constants/http.rs:6:11
[INFO] [stdout] |
[INFO] [stdout] 6 | pub const CONTENT_TYPE_PROBLEM_JSON: &str = "application/problem+json";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_LD_JSON` is never used
[INFO] [stdout] --> src/constants/http.rs:7:11
[INFO] [stdout] |
[INFO] [stdout] 7 | pub const CONTENT_TYPE_LD_JSON: &str = "application/ld+json";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_ND_JSON` is never used
[INFO] [stdout] --> src/constants/http.rs:8:11
[INFO] [stdout] |
[INFO] [stdout] 8 | pub const CONTENT_TYPE_ND_JSON: &str = "application/x-ndjson";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_FORM` is never used
[INFO] [stdout] --> src/constants/http.rs:9:11
[INFO] [stdout] |
[INFO] [stdout] 9 | pub const CONTENT_TYPE_FORM: &str = "application/x-www-form-urlencoded";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_MULTIPART` is never used
[INFO] [stdout] --> src/constants/http.rs:10:11
[INFO] [stdout] |
[INFO] [stdout] 10 | pub const CONTENT_TYPE_MULTIPART: &str = "multipart/form-data";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_HTML` is never used
[INFO] [stdout] --> src/constants/http.rs:11:11
[INFO] [stdout] |
[INFO] [stdout] 11 | pub const CONTENT_TYPE_HTML: &str = "text/html; charset=utf-8";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_TEXT_UTF8` is never used
[INFO] [stdout] --> src/constants/http.rs:12:11
[INFO] [stdout] |
[INFO] [stdout] 12 | pub const CONTENT_TYPE_TEXT_UTF8: &str = "text/plain; charset=utf-8";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_TEXT` is never used
[INFO] [stdout] --> src/constants/http.rs:13:11
[INFO] [stdout] |
[INFO] [stdout] 13 | pub const CONTENT_TYPE_TEXT: &str = "text/plain";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_XML` is never used
[INFO] [stdout] --> src/constants/http.rs:14:11
[INFO] [stdout] |
[INFO] [stdout] 14 | pub const CONTENT_TYPE_XML: &str = "application/xml"; // prefer over text/xml
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_PDF` is never used
[INFO] [stdout] --> src/constants/http.rs:15:11
[INFO] [stdout] |
[INFO] [stdout] 15 | pub const CONTENT_TYPE_PDF: &str = "application/pdf";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_ZIP` is never used
[INFO] [stdout] --> src/constants/http.rs:16:11
[INFO] [stdout] |
[INFO] [stdout] 16 | pub const CONTENT_TYPE_ZIP: &str = "application/zip";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_GZIP` is never used
[INFO] [stdout] --> src/constants/http.rs:17:11
[INFO] [stdout] |
[INFO] [stdout] 17 | pub const CONTENT_TYPE_GZIP: &str = "application/gzip";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_TAR` is never used
[INFO] [stdout] --> src/constants/http.rs:18:11
[INFO] [stdout] |
[INFO] [stdout] 18 | pub const CONTENT_TYPE_TAR: &str = "application/x-tar";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_SEVEN_ZIP` is never used
[INFO] [stdout] --> src/constants/http.rs:19:11
[INFO] [stdout] |
[INFO] [stdout] 19 | pub const CONTENT_TYPE_SEVEN_ZIP: &str = "application/x-7z-compressed";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_JPEG` is never used
[INFO] [stdout] --> src/constants/http.rs:21:11
[INFO] [stdout] |
[INFO] [stdout] 21 | pub const CONTENT_TYPE_JPEG: &str = "image/jpeg";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_PNG` is never used
[INFO] [stdout] --> src/constants/http.rs:22:11
[INFO] [stdout] |
[INFO] [stdout] 22 | pub const CONTENT_TYPE_PNG: &str = "image/png";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_GIF` is never used
[INFO] [stdout] --> src/constants/http.rs:23:11
[INFO] [stdout] |
[INFO] [stdout] 23 | pub const CONTENT_TYPE_GIF: &str = "image/gif";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_WEBP` is never used
[INFO] [stdout] --> src/constants/http.rs:24:11
[INFO] [stdout] |
[INFO] [stdout] 24 | pub const CONTENT_TYPE_WEBP: &str = "image/webp";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_SVG` is never used
[INFO] [stdout] --> src/constants/http.rs:25:11
[INFO] [stdout] |
[INFO] [stdout] 25 | pub const CONTENT_TYPE_SVG: &str = "image/svg+xml";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_AVIF` is never used
[INFO] [stdout] --> src/constants/http.rs:26:11
[INFO] [stdout] |
[INFO] [stdout] 26 | pub const CONTENT_TYPE_AVIF: &str = "image/avif";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_MP4` is never used
[INFO] [stdout] --> src/constants/http.rs:28:11
[INFO] [stdout] |
[INFO] [stdout] 28 | pub const CONTENT_TYPE_MP4: &str = "video/mp4";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_MPEG` is never used
[INFO] [stdout] --> src/constants/http.rs:29:11
[INFO] [stdout] |
[INFO] [stdout] 29 | pub const CONTENT_TYPE_MPEG: &str = "video/mpeg";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_WEBM` is never used
[INFO] [stdout] --> src/constants/http.rs:30:11
[INFO] [stdout] |
[INFO] [stdout] 30 | pub const CONTENT_TYPE_WEBM: &str = "video/webm";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_RAR` is never used
[INFO] [stdout] --> src/constants/http.rs:32:11
[INFO] [stdout] |
[INFO] [stdout] 32 | pub const CONTENT_TYPE_RAR: &str = "application/x-rar-compressed";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_JS` is never used
[INFO] [stdout] --> src/constants/http.rs:33:11
[INFO] [stdout] |
[INFO] [stdout] 33 | pub const CONTENT_TYPE_JS: &str = "application/javascript";
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_CSS` is never used
[INFO] [stdout] --> src/constants/http.rs:34:11
[INFO] [stdout] |
[INFO] [stdout] 34 | pub const CONTENT_TYPE_CSS: &str = "text/css";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_WASM` is never used
[INFO] [stdout] --> src/constants/http.rs:35:11
[INFO] [stdout] |
[INFO] [stdout] 35 | pub const CONTENT_TYPE_WASM: &str = "application/wasm";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCEPT` is never used
[INFO] [stdout] --> src/constants/http.rs:37:11
[INFO] [stdout] |
[INFO] [stdout] 37 | pub const HEADER_ACCEPT: &str = "Accept";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCEPT_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:38:11
[INFO] [stdout] |
[INFO] [stdout] 38 | pub const HEADER_ACCEPT_ENCODING: &str = "Accept-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCEPT_LANGUAGE` is never used
[INFO] [stdout] --> src/constants/http.rs:39:11
[INFO] [stdout] |
[INFO] [stdout] 39 | pub const HEADER_ACCEPT_LANGUAGE: &str = "Accept-Language";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_AUTHORIZATION` is never used
[INFO] [stdout] --> src/constants/http.rs:40:11
[INFO] [stdout] |
[INFO] [stdout] 40 | pub const HEADER_AUTHORIZATION: &str = "Authorization";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CACHE_CONTROL` is never used
[INFO] [stdout] --> src/constants/http.rs:41:11
[INFO] [stdout] |
[INFO] [stdout] 41 | pub const HEADER_CACHE_CONTROL: &str = "Cache-Control";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONNECTION` is never used
[INFO] [stdout] --> src/constants/http.rs:42:11
[INFO] [stdout] |
[INFO] [stdout] 42 | pub const HEADER_CONNECTION: &str = "Connection";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_DISPOSITION` is never used
[INFO] [stdout] --> src/constants/http.rs:43:11
[INFO] [stdout] |
[INFO] [stdout] 43 | pub const HEADER_CONTENT_DISPOSITION: &str = "Content-Disposition";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:44:11
[INFO] [stdout] |
[INFO] [stdout] 44 | pub const HEADER_CONTENT_ENCODING: &str = "Content-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_LANGUAGE` is never used
[INFO] [stdout] --> src/constants/http.rs:45:11
[INFO] [stdout] |
[INFO] [stdout] 45 | pub const HEADER_CONTENT_LANGUAGE: &str = "Content-Language";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_LENGTH` is never used
[INFO] [stdout] --> src/constants/http.rs:46:11
[INFO] [stdout] |
[INFO] [stdout] 46 | pub const HEADER_CONTENT_LENGTH: &str = "Content-Length";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_LOCATION` is never used
[INFO] [stdout] --> src/constants/http.rs:47:11
[INFO] [stdout] |
[INFO] [stdout] 47 | pub const HEADER_CONTENT_LOCATION: &str = "Content-Location";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_MD5` is never used
[INFO] [stdout] --> src/constants/http.rs:48:11
[INFO] [stdout] |
[INFO] [stdout] 48 | pub const HEADER_CONTENT_MD5: &str = "Content-MD5";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_TYPE` is never used
[INFO] [stdout] --> src/constants/http.rs:49:11
[INFO] [stdout] |
[INFO] [stdout] 49 | pub const HEADER_CONTENT_TYPE: &str = "Content-Type";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_DIGEST` is never used
[INFO] [stdout] --> src/constants/http.rs:50:11
[INFO] [stdout] |
[INFO] [stdout] 50 | pub const HEADER_CONTENT_DIGEST: &str = "Content-Digest";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_TRANSFER_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:51:11
[INFO] [stdout] |
[INFO] [stdout] 51 | pub const HEADER_CONTENT_TRANSFER_ENCODING: &str = "Content-Transfer-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ETAG` is never used
[INFO] [stdout] --> src/constants/http.rs:52:11
[INFO] [stdout] |
[INFO] [stdout] 52 | pub const HEADER_ETAG: &str = "ETag";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_EXPIRES` is never used
[INFO] [stdout] --> src/constants/http.rs:53:11
[INFO] [stdout] |
[INFO] [stdout] 53 | pub const HEADER_EXPIRES: &str = "Expires";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_HOST` is never used
[INFO] [stdout] --> src/constants/http.rs:54:11
[INFO] [stdout] |
[INFO] [stdout] 54 | pub const HEADER_HOST: &str = "Host";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_MATCH` is never used
[INFO] [stdout] --> src/constants/http.rs:55:11
[INFO] [stdout] |
[INFO] [stdout] 55 | pub const HEADER_IF_MATCH: &str = "If-Match";
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_NONE_MATCH` is never used
[INFO] [stdout] --> src/constants/http.rs:56:11
[INFO] [stdout] |
[INFO] [stdout] 56 | pub const HEADER_IF_NONE_MATCH: &str = "If-None-Match";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_MODIFIED_SINCE` is never used
[INFO] [stdout] --> src/constants/http.rs:57:11
[INFO] [stdout] |
[INFO] [stdout] 57 | pub const HEADER_IF_MODIFIED_SINCE: &str = "If-Modified-Since";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_UNMODIFIED_SINCE` is never used
[INFO] [stdout] --> src/constants/http.rs:58:11
[INFO] [stdout] |
[INFO] [stdout] 58 | pub const HEADER_IF_UNMODIFIED_SINCE: &str = "If-Unmodified-Since";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_LAST_MODIFIED` is never used
[INFO] [stdout] --> src/constants/http.rs:59:11
[INFO] [stdout] |
[INFO] [stdout] 59 | pub const HEADER_LAST_MODIFIED: &str = "Last-Modified";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_LINK` is never used
[INFO] [stdout] --> src/constants/http.rs:60:11
[INFO] [stdout] |
[INFO] [stdout] 60 | pub const HEADER_LINK: &str = "Link";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_LOCATION` is never used
[INFO] [stdout] --> src/constants/http.rs:61:11
[INFO] [stdout] |
[INFO] [stdout] 61 | pub const HEADER_LOCATION: &str = "Location";
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ORIGIN` is never used
[INFO] [stdout] --> src/constants/http.rs:62:11
[INFO] [stdout] |
[INFO] [stdout] 62 | pub const HEADER_ORIGIN: &str = "Origin";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_PRAGMA` is never used
[INFO] [stdout] --> src/constants/http.rs:63:11
[INFO] [stdout] |
[INFO] [stdout] 63 | pub const HEADER_PRAGMA: &str = "Pragma";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_RANGE` is never used
[INFO] [stdout] --> src/constants/http.rs:64:11
[INFO] [stdout] |
[INFO] [stdout] 64 | pub const HEADER_RANGE: &str = "Range";
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_RETRY_AFTER` is never used
[INFO] [stdout] --> src/constants/http.rs:65:11
[INFO] [stdout] |
[INFO] [stdout] 65 | pub const HEADER_RETRY_AFTER: &str = "Retry-After";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_SERVER` is never used
[INFO] [stdout] --> src/constants/http.rs:66:11
[INFO] [stdout] |
[INFO] [stdout] 66 | pub const HEADER_SERVER: &str = "Server";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_TRAILER` is never used
[INFO] [stdout] --> src/constants/http.rs:67:11
[INFO] [stdout] |
[INFO] [stdout] 67 | pub const HEADER_TRAILER: &str = "Trailer";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_TRANSFER_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:68:11
[INFO] [stdout] |
[INFO] [stdout] 68 | pub const HEADER_TRANSFER_ENCODING: &str = "Transfer-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_UPGRADE` is never used
[INFO] [stdout] --> src/constants/http.rs:69:11
[INFO] [stdout] |
[INFO] [stdout] 69 | pub const HEADER_UPGRADE: &str = "Upgrade";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_USER_AGENT` is never used
[INFO] [stdout] --> src/constants/http.rs:70:11
[INFO] [stdout] |
[INFO] [stdout] 70 | pub const HEADER_USER_AGENT: &str = "User-Agent";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_VARY` is never used
[INFO] [stdout] --> src/constants/http.rs:71:11
[INFO] [stdout] |
[INFO] [stdout] 71 | pub const HEADER_VARY: &str = "Vary";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_VIA` is never used
[INFO] [stdout] --> src/constants/http.rs:72:11
[INFO] [stdout] |
[INFO] [stdout] 72 | pub const HEADER_VIA: &str = "Via";
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_WWW_AUTHENTICATE` is never used
[INFO] [stdout] --> src/constants/http.rs:73:11
[INFO] [stdout] |
[INFO] [stdout] 73 | pub const HEADER_WWW_AUTHENTICATE: &str = "WWW-Authenticate";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_COOKIE` is never used
[INFO] [stdout] --> src/constants/http.rs:76:11
[INFO] [stdout] |
[INFO] [stdout] 76 | pub const HEADER_COOKIE: &str = "Cookie";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_SET_COOKIE` is never used
[INFO] [stdout] --> src/constants/http.rs:77:11
[INFO] [stdout] |
[INFO] [stdout] 77 | pub const HEADER_SET_COOKIE: &str = "Set-Cookie";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_PROXY_AUTH` is never used
[INFO] [stdout] --> src/constants/http.rs:78:11
[INFO] [stdout] |
[INFO] [stdout] 78 | pub const HEADER_PROXY_AUTH: &str = "Proxy-Authorization";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_PROXY_AUTHN` is never used
[INFO] [stdout] --> src/constants/http.rs:79:11
[INFO] [stdout] |
[INFO] [stdout] 79 | pub const HEADER_PROXY_AUTHN: &str = "Proxy-Authenticate";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_ORIGIN` is never used
[INFO] [stdout] --> src/constants/http.rs:82:11
[INFO] [stdout] |
[INFO] [stdout] 82 | pub const HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_METHODS` is never used
[INFO] [stdout] --> src/constants/http.rs:84:11
[INFO] [stdout] |
[INFO] [stdout] 84 | pub const HEADER_ACCESS_CONTROL_ALLOW_METHODS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_HEADERS` is never used
[INFO] [stdout] --> src/constants/http.rs:86:11
[INFO] [stdout] |
[INFO] [stdout] 86 | pub const HEADER_ACCESS_CONTROL_ALLOW_HEADERS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS` is never used
[INFO] [stdout] --> src/constants/http.rs:88:11
[INFO] [stdout] |
[INFO] [stdout] 88 | pub const HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_EXPOSE_HEADERS` is never used
[INFO] [stdout] --> src/constants/http.rs:90:11
[INFO] [stdout] |
[INFO] [stdout] 90 | pub const HEADER_ACCESS_CONTROL_EXPOSE_HEADERS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_MAX_AGE` is never used
[INFO] [stdout] --> src/constants/http.rs:92:11
[INFO] [stdout] |
[INFO] [stdout] 92 | pub const HEADER_ACCESS_CONTROL_MAX_AGE: &str = "Access-Control-Max-Age";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_REQUEST_HEADERS` is never used
[INFO] [stdout] --> src/constants/http.rs:93:11
[INFO] [stdout] |
[INFO] [stdout] 93 | pub const HEADER_ACCESS_CONTROL_REQUEST_HEADERS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_REQUEST_METHOD` is never used
[INFO] [stdout] --> src/constants/http.rs:95:11
[INFO] [stdout] |
[INFO] [stdout] 95 | pub const HEADER_ACCESS_CONTROL_REQUEST_METHOD: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_FOR` is never used
[INFO] [stdout] --> src/constants/http.rs:98:11
[INFO] [stdout] |
[INFO] [stdout] 98 | pub const HEADER_X_FORWARDED_FOR: &str = "X-Forwarded-For";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_HOST` is never used
[INFO] [stdout] --> src/constants/http.rs:99:11
[INFO] [stdout] |
[INFO] [stdout] 99 | pub const HEADER_X_FORWARDED_HOST: &str = "X-Forwarded-Host";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_PROTO` is never used
[INFO] [stdout] --> src/constants/http.rs:100:11
[INFO] [stdout] |
[INFO] [stdout] 100 | pub const HEADER_X_FORWARDED_PROTO: &str = "X-Forwarded-Proto";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_SCHEME` is never used
[INFO] [stdout] --> src/constants/http.rs:101:11
[INFO] [stdout] |
[INFO] [stdout] 101 | pub const HEADER_X_FORWARDED_SCHEME: &str = "X-Forwarded-Scheme";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_API_KEY` is never used
[INFO] [stdout] --> src/constants/http.rs:104:11
[INFO] [stdout] |
[INFO] [stdout] 104 | pub const HEADER_X_API_KEY: &str = "X-API-Key";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_REQUESTED_WITH` is never used
[INFO] [stdout] --> src/constants/http.rs:106:11
[INFO] [stdout] |
[INFO] [stdout] 106 | pub const HEADER_X_REQUESTED_WITH: &str = "X-Requested-With";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_LIMIT` is never used
[INFO] [stdout] --> src/constants/http.rs:107:11
[INFO] [stdout] |
[INFO] [stdout] 107 | pub const HEADER_X_RATE_LIMIT_LIMIT: &str = "X-RateLimit-Limit";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_REMAINING` is never used
[INFO] [stdout] --> src/constants/http.rs:108:11
[INFO] [stdout] |
[INFO] [stdout] 108 | pub const HEADER_X_RATE_LIMIT_REMAINING: &str = "X-RateLimit-Remaining";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_RESET` is never used
[INFO] [stdout] --> src/constants/http.rs:109:11
[INFO] [stdout] |
[INFO] [stdout] 109 | pub const HEADER_X_RATE_LIMIT_RESET: &str = "X-RateLimit-Reset";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_WINDOW` is never used
[INFO] [stdout] --> src/constants/http.rs:110:11
[INFO] [stdout] |
[INFO] [stdout] 110 | pub const HEADER_X_RATE_LIMIT_WINDOW: &str = "X-RateLimit-Window";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_COUNT` is never used
[INFO] [stdout] --> src/constants/http.rs:111:11
[INFO] [stdout] |
[INFO] [stdout] 111 | pub const HEADER_X_RATE_LIMIT_COUNT: &str = "X-RateLimit-Count";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_CONTENT_TYPE_OPTIONS` is never used
[INFO] [stdout] --> src/constants/http.rs:112:11
[INFO] [stdout] |
[INFO] [stdout] 112 | pub const HEADER_X_CONTENT_TYPE_OPTIONS: &str = "X-Content-Type-Options";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FRAME_OPTIONS` is never used
[INFO] [stdout] --> src/constants/http.rs:113:11
[INFO] [stdout] |
[INFO] [stdout] 113 | pub const HEADER_X_FRAME_OPTIONS: &str = "X-Frame-Options";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_XSS_PROTECTION` is never used
[INFO] [stdout] --> src/constants/http.rs:114:11
[INFO] [stdout] |
[INFO] [stdout] 114 | pub const HEADER_X_XSS_PROTECTION: &str = "X-XSS-Protection";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_LICENSE_CHECKSUM` is never used
[INFO] [stdout] --> src/constants/http.rs:115:11
[INFO] [stdout] |
[INFO] [stdout] 115 | pub const HEADER_X_LICENSE_CHECKSUM: &str = "X-License-Checksum";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_MACHINE_CHECKSUM` is never used
[INFO] [stdout] --> src/constants/http.rs:116:11
[INFO] [stdout] |
[INFO] [stdout] 116 | pub const HEADER_X_MACHINE_CHECKSUM: &str = "X-Machine-Checksum";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static `EXTRA_MIME_MAP` is never used
[INFO] [stdout] --> src/constants/http.rs:118:8
[INFO] [stdout] |
[INFO] [stdout] 118 | static EXTRA_MIME_MAP: Lazy> =
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `guess_content_type` is never used
[INFO] [stdout] --> src/constants/http.rs:135:8
[INFO] [stdout] |
[INFO] [stdout] 135 | pub fn guess_content_type(path: impl AsRef) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `content_type_from_ext` is never used
[INFO] [stdout] --> src/constants/http.rs:153:8
[INFO] [stdout] |
[INFO] [stdout] 153 | pub fn content_type_from_ext(ext: &str) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `NamespaceConfig` is never constructed
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:10:12
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct NamespaceConfig {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:16:12
[INFO] [stdout] |
[INFO] [stdout] 15 | impl NamespaceConfig {
[INFO] [stdout] | -------------------- associated function in this implementation
[INFO] [stdout] 16 | pub fn new(
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `caches` is never read
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:31:5
[INFO] [stdout] |
[INFO] [stdout] 29 | pub struct CacheRegistry {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] 30 | // namespace -> Cache
[INFO] [stdout] 31 | caches: DashMap>,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CacheRegistry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:47:12
[INFO] [stdout] |
[INFO] [stdout] 36 | impl CacheRegistry {
[INFO] [stdout] | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 | pub fn init_with(
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | pub fn ensure_namespace(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 | pub async fn put_json(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 | pub async fn put_raw(&self, ns: &str, key: impl Into, value: Value) {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 | pub async fn get_json(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 | pub async fn get_raw(&self, ns: &str, key: &str) -> Option {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 | pub async fn invalidate(&self, ns: &str, key: &str) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | pub async fn contains_key(&self, ns: &str, key: &str) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `init_default_caches` is never used
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:138:8
[INFO] [stdout] |
[INFO] [stdout] 138 | pub fn init_default_caches() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: type alias `DbConn` is never used
[INFO] [stdout] --> src/infrastructures/database/mod.rs:12:10
[INFO] [stdout] |
[INFO] [stdout] 12 | pub type DbConn = PooledConnection<'static, AsyncPgConnection>;
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `conn` is never used
[INFO] [stdout] --> src/infrastructures/database/mod.rs:46:14
[INFO] [stdout] |
[INFO] [stdout] 46 | pub async fn conn() -> Result {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `LoggerExtraFields` is never constructed
[INFO] [stdout] --> src/infrastructures/log/logger.rs:5:12
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct LoggerExtraFields {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout] --> src/middlewares/request_context.rs:12:12
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct RequestContext {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `with_ctx` is never used
[INFO] [stdout] --> src/middlewares/request_context.rs:23:8
[INFO] [stdout] |
[INFO] [stdout] 23 | pub fn with_ctx(f: impl FnOnce(&RequestContext) -> R) -> Option {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestContextLayer` is never constructed
[INFO] [stdout] --> src/middlewares/request_context.rs:28:12
[INFO] [stdout] |
[INFO] [stdout] 28 | pub struct RequestContextLayer;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestContextMw` is never constructed
[INFO] [stdout] --> src/middlewares/request_context.rs:36:12
[INFO] [stdout] |
[INFO] [stdout] 36 | pub struct RequestContextMw {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `hdr` is never used
[INFO] [stdout] --> src/middlewares/request_context.rs:72:4
[INFO] [stdout] |
[INFO] [stdout] 72 | fn hdr(req: &Request, name: &str) -> Option {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/middlewares/request_id_mw.rs:16:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct RequestId(pub String);
[INFO] [stdout] | --------- ^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this struct
[INFO] [stdout] |
[INFO] [stdout] = help: consider removing this field
[INFO] [stdout] = note: `RequestId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static `OIDC` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | static OIDC: OnceCell = OnceCell::new();
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_oidc` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | pub fn set_oidc(c: CoreClient) {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_health` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:16:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub fn set_health(h: Arc) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_auth` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:19:8
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn set_auth(a: Arc) {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_tracer` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:22:8
[INFO] [stdout] |
[INFO] [stdout] 22 | pub fn set_tracer(t: Arc) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `oidc` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:26:8
[INFO] [stdout] |
[INFO] [stdout] 26 | pub fn oidc() -> &'static CoreClient {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestLogCtx` is never constructed
[INFO] [stdout] --> src/web/api/app_state.rs:13:12
[INFO] [stdout] |
[INFO] [stdout] 13 | pub struct RequestLogCtx {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `db` and `caches` are never read
[INFO] [stdout] --> src/web/api/app_state.rs:24:9
[INFO] [stdout] |
[INFO] [stdout] 19 | pub struct AppState {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 | pub db: &'static DbPool,
[INFO] [stdout] | ^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | pub caches: Arc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `ok_handler` is never used
[INFO] [stdout] --> src/web/api/router.rs:37:10
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn ok_handler(
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `err_handler` is never used
[INFO] [stdout] --> src/web/api/router.rs:53:10
[INFO] [stdout] |
[INFO] [stdout] 53 | async fn err_handler() -> impl axum::response::IntoResponse {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `timeout_handler` is never used
[INFO] [stdout] --> src/web/api/router.rs:63:10
[INFO] [stdout] |
[INFO] [stdout] 63 | async fn timeout_handler(
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `authentication` is never read
[INFO] [stdout] --> src/web/api/v1/authentication/mod.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct AuthenticationDeps {
[INFO] [stdout] | ------------------ field in this struct
[INFO] [stdout] 11 | pub authentication: Arc,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AuthenticationDeps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tracer` and `logger` are never read
[INFO] [stdout] --> src/web/api/v1/healthcheck/mod.rs:16:9
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct HealthcheckDeps {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] 15 | pub healthcheck: Arc,
[INFO] [stdout] 16 | pub tracer: Arc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 17 | pub logger: &'static dyn Log,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `HealthcheckDeps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 29s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "45bc4c4a768acbe60a09d04a37a26b57eabb5bbb73b9ca11bfd23bec52706017", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "45bc4c4a768acbe60a09d04a37a26b57eabb5bbb73b9ca11bfd23bec52706017", kill_on_drop: false }`
[INFO] [stdout] 45bc4c4a768acbe60a09d04a37a26b57eabb5bbb73b9ca11bfd23bec52706017
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 129f96dbe163e5b8860ef2c1d47360dcf97b70478a6372c99a46a8fd87590163
[INFO] running `Command { std: "docker" "start" "-a" "129f96dbe163e5b8860ef2c1d47360dcf97b70478a6372c99a46a8fd87590163", kill_on_drop: false }`
[INFO] [stderr] Compiling rs-axum-api-template v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Request` and `body::Body`
[INFO] [stdout] --> src/common/api_response/mod.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | body::Body,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] 7 | http::{HeaderMap, HeaderValue, Request, StatusCode, header},
[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: `json`
[INFO] [stdout] --> src/common/api_response/mod.rs:13:30
[INFO] [stdout] |
[INFO] [stdout] 13 | use serde_json::{Map, Value, json};
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tower_layer::Layer`
[INFO] [stdout] --> src/common/api_response/mod.rs:14:5
[INFO] [stdout] |
[INFO] [stdout] 14 | use tower_layer::Layer;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `tower_service::Service`
[INFO] [stdout] --> src/common/api_response/mod.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | use tower_service::Service;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `crate::common::api_response::BaseOutput`
[INFO] [stdout] --> src/services/v1/authentication/mod.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use crate::common::api_response::BaseOutput;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `openidconnect::core::CoreClient`
[INFO] [stdout] --> src/web/api/app_state.rs:2:5
[INFO] [stdout] |
[INFO] [stdout] 2 | use openidconnect::core::CoreClient;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `openidconnect::core::CoreClient`
[INFO] [stdout] --> src/web/api/v1/authentication/mod.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use openidconnect::core::CoreClient;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `log_level` is never read
[INFO] [stdout] --> src/infrastructures/log/logger.rs:10:13
[INFO] [stdout] |
[INFO] [stdout] 10 | let mut log_level: log::LevelFilter = log::LevelFilter::Debug;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: maybe it is overwritten before being read?
[INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/middlewares/request_logging_mw.rs:51:24
[INFO] [stdout] |
[INFO] [stdout] 51 | fn call(&mut self, mut req: Request) -> Self::Future {
[INFO] [stdout] | ----^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Pagination` is never constructed
[INFO] [stdout] --> src/common/api_response/mod.rs:41:12
[INFO] [stdout] |
[INFO] [stdout] 41 | pub struct Pagination {
[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 functions `ok`, `error`, and `from_error` are never used
[INFO] [stdout] --> src/common/api_response/mod.rs:107:12
[INFO] [stdout] |
[INFO] [stdout] 82 | impl Response {
[INFO] [stdout] | ---------------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 107 | pub fn ok(data: T) -> Self {
[INFO] [stdout] | ^^
[INFO] [stdout] ...
[INFO] [stdout] 114 | pub fn error(code: impl Into, message: impl Into) -> Self {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 | pub fn from_error(code: impl Into, err: Option) -> Self
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `with_count`, `with_agg`, `with_meta`, `with_pagination`, and `populate` are never used
[INFO] [stdout] --> src/common/api_response/mod.rs:144:12
[INFO] [stdout] |
[INFO] [stdout] 135 | impl Response {
[INFO] [stdout] | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 144 | pub fn with_count(mut self, n: i32) -> Self {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 | pub fn with_agg(mut self, agg: impl Into) -> Self {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 | pub fn with_meta(mut self, m: Map) -> Self {
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 174 | pub fn with_pagination(self, p: Pagination) -> Self {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 181 | pub fn populate(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ProblemJson` is never constructed
[INFO] [stdout] --> src/common/api_response/mod.rs:225:12
[INFO] [stdout] |
[INFO] [stdout] 225 | pub struct ProblemJson<'a> {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `write_problem_json` is never used
[INFO] [stdout] --> src/common/api_response/mod.rs:239:8
[INFO] [stdout] |
[INFO] [stdout] 239 | pub fn write_problem_json(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple variants are never constructed
[INFO] [stdout] --> src/common/errors/mod.rs:13:5
[INFO] [stdout] |
[INFO] [stdout] 11 | pub enum CError {
[INFO] [stdout] | ------ variants in this enum
[INFO] [stdout] 12 | // Generic
[INFO] [stdout] 13 | GenericBadRequest,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 | GenericInternalServer,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 | GenericRequestTimedOut,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 | GenericUnauthorized,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 | GenericPermission,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 18 | GenericUnknownAPIPath,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 | InvalidDatabaseClient,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CError` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `code` is never used
[INFO] [stdout] --> src/common/errors/mod.rs:23:18
[INFO] [stdout] |
[INFO] [stdout] 22 | impl CError {
[INFO] [stdout] | ----------- method in this implementation
[INFO] [stdout] 23 | pub const fn code(self) -> Option<&'static str> {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `code_for_option` is never used
[INFO] [stdout] --> src/common/errors/mod.rs:59:8
[INFO] [stdout] |
[INFO] [stdout] 59 | pub fn code_for_option(err: Option) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `message_for_option` is never used
[INFO] [stdout] --> src/common/errors/mod.rs:66:8
[INFO] [stdout] |
[INFO] [stdout] 66 | pub fn message_for_option(err: Option) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `OIDCConfig` is never constructed
[INFO] [stdout] --> src/config/env_settings.rs:60:12
[INFO] [stdout] |
[INFO] [stdout] 60 | pub struct OIDCConfig {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `database` is never read
[INFO] [stdout] --> src/config/env_settings.rs:89:9
[INFO] [stdout] |
[INFO] [stdout] 83 | pub struct Settings {
[INFO] [stdout] | -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 | pub database: DatabaseConfig,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `Settings` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_OCTET_STREAM` is never used
[INFO] [stdout] --> src/constants/http.rs:4:11
[INFO] [stdout] |
[INFO] [stdout] 4 | pub const CONTENT_TYPE_OCTET_STREAM: &str = "application/octet-stream";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_PROBLEM_JSON` is never used
[INFO] [stdout] --> src/constants/http.rs:6:11
[INFO] [stdout] |
[INFO] [stdout] 6 | pub const CONTENT_TYPE_PROBLEM_JSON: &str = "application/problem+json";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_LD_JSON` is never used
[INFO] [stdout] --> src/constants/http.rs:7:11
[INFO] [stdout] |
[INFO] [stdout] 7 | pub const CONTENT_TYPE_LD_JSON: &str = "application/ld+json";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_ND_JSON` is never used
[INFO] [stdout] --> src/constants/http.rs:8:11
[INFO] [stdout] |
[INFO] [stdout] 8 | pub const CONTENT_TYPE_ND_JSON: &str = "application/x-ndjson";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_FORM` is never used
[INFO] [stdout] --> src/constants/http.rs:9:11
[INFO] [stdout] |
[INFO] [stdout] 9 | pub const CONTENT_TYPE_FORM: &str = "application/x-www-form-urlencoded";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_MULTIPART` is never used
[INFO] [stdout] --> src/constants/http.rs:10:11
[INFO] [stdout] |
[INFO] [stdout] 10 | pub const CONTENT_TYPE_MULTIPART: &str = "multipart/form-data";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_HTML` is never used
[INFO] [stdout] --> src/constants/http.rs:11:11
[INFO] [stdout] |
[INFO] [stdout] 11 | pub const CONTENT_TYPE_HTML: &str = "text/html; charset=utf-8";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_TEXT_UTF8` is never used
[INFO] [stdout] --> src/constants/http.rs:12:11
[INFO] [stdout] |
[INFO] [stdout] 12 | pub const CONTENT_TYPE_TEXT_UTF8: &str = "text/plain; charset=utf-8";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_TEXT` is never used
[INFO] [stdout] --> src/constants/http.rs:13:11
[INFO] [stdout] |
[INFO] [stdout] 13 | pub const CONTENT_TYPE_TEXT: &str = "text/plain";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_XML` is never used
[INFO] [stdout] --> src/constants/http.rs:14:11
[INFO] [stdout] |
[INFO] [stdout] 14 | pub const CONTENT_TYPE_XML: &str = "application/xml"; // prefer over text/xml
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_PDF` is never used
[INFO] [stdout] --> src/constants/http.rs:15:11
[INFO] [stdout] |
[INFO] [stdout] 15 | pub const CONTENT_TYPE_PDF: &str = "application/pdf";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_ZIP` is never used
[INFO] [stdout] --> src/constants/http.rs:16:11
[INFO] [stdout] |
[INFO] [stdout] 16 | pub const CONTENT_TYPE_ZIP: &str = "application/zip";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_GZIP` is never used
[INFO] [stdout] --> src/constants/http.rs:17:11
[INFO] [stdout] |
[INFO] [stdout] 17 | pub const CONTENT_TYPE_GZIP: &str = "application/gzip";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_TAR` is never used
[INFO] [stdout] --> src/constants/http.rs:18:11
[INFO] [stdout] |
[INFO] [stdout] 18 | pub const CONTENT_TYPE_TAR: &str = "application/x-tar";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_SEVEN_ZIP` is never used
[INFO] [stdout] --> src/constants/http.rs:19:11
[INFO] [stdout] |
[INFO] [stdout] 19 | pub const CONTENT_TYPE_SEVEN_ZIP: &str = "application/x-7z-compressed";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_JPEG` is never used
[INFO] [stdout] --> src/constants/http.rs:21:11
[INFO] [stdout] |
[INFO] [stdout] 21 | pub const CONTENT_TYPE_JPEG: &str = "image/jpeg";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_PNG` is never used
[INFO] [stdout] --> src/constants/http.rs:22:11
[INFO] [stdout] |
[INFO] [stdout] 22 | pub const CONTENT_TYPE_PNG: &str = "image/png";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_GIF` is never used
[INFO] [stdout] --> src/constants/http.rs:23:11
[INFO] [stdout] |
[INFO] [stdout] 23 | pub const CONTENT_TYPE_GIF: &str = "image/gif";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_WEBP` is never used
[INFO] [stdout] --> src/constants/http.rs:24:11
[INFO] [stdout] |
[INFO] [stdout] 24 | pub const CONTENT_TYPE_WEBP: &str = "image/webp";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_SVG` is never used
[INFO] [stdout] --> src/constants/http.rs:25:11
[INFO] [stdout] |
[INFO] [stdout] 25 | pub const CONTENT_TYPE_SVG: &str = "image/svg+xml";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_AVIF` is never used
[INFO] [stdout] --> src/constants/http.rs:26:11
[INFO] [stdout] |
[INFO] [stdout] 26 | pub const CONTENT_TYPE_AVIF: &str = "image/avif";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_MP4` is never used
[INFO] [stdout] --> src/constants/http.rs:28:11
[INFO] [stdout] |
[INFO] [stdout] 28 | pub const CONTENT_TYPE_MP4: &str = "video/mp4";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_MPEG` is never used
[INFO] [stdout] --> src/constants/http.rs:29:11
[INFO] [stdout] |
[INFO] [stdout] 29 | pub const CONTENT_TYPE_MPEG: &str = "video/mpeg";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_WEBM` is never used
[INFO] [stdout] --> src/constants/http.rs:30:11
[INFO] [stdout] |
[INFO] [stdout] 30 | pub const CONTENT_TYPE_WEBM: &str = "video/webm";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_RAR` is never used
[INFO] [stdout] --> src/constants/http.rs:32:11
[INFO] [stdout] |
[INFO] [stdout] 32 | pub const CONTENT_TYPE_RAR: &str = "application/x-rar-compressed";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_JS` is never used
[INFO] [stdout] --> src/constants/http.rs:33:11
[INFO] [stdout] |
[INFO] [stdout] 33 | pub const CONTENT_TYPE_JS: &str = "application/javascript";
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_CSS` is never used
[INFO] [stdout] --> src/constants/http.rs:34:11
[INFO] [stdout] |
[INFO] [stdout] 34 | pub const CONTENT_TYPE_CSS: &str = "text/css";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `CONTENT_TYPE_WASM` is never used
[INFO] [stdout] --> src/constants/http.rs:35:11
[INFO] [stdout] |
[INFO] [stdout] 35 | pub const CONTENT_TYPE_WASM: &str = "application/wasm";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCEPT` is never used
[INFO] [stdout] --> src/constants/http.rs:37:11
[INFO] [stdout] |
[INFO] [stdout] 37 | pub const HEADER_ACCEPT: &str = "Accept";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCEPT_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:38:11
[INFO] [stdout] |
[INFO] [stdout] 38 | pub const HEADER_ACCEPT_ENCODING: &str = "Accept-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCEPT_LANGUAGE` is never used
[INFO] [stdout] --> src/constants/http.rs:39:11
[INFO] [stdout] |
[INFO] [stdout] 39 | pub const HEADER_ACCEPT_LANGUAGE: &str = "Accept-Language";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_AUTHORIZATION` is never used
[INFO] [stdout] --> src/constants/http.rs:40:11
[INFO] [stdout] |
[INFO] [stdout] 40 | pub const HEADER_AUTHORIZATION: &str = "Authorization";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CACHE_CONTROL` is never used
[INFO] [stdout] --> src/constants/http.rs:41:11
[INFO] [stdout] |
[INFO] [stdout] 41 | pub const HEADER_CACHE_CONTROL: &str = "Cache-Control";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONNECTION` is never used
[INFO] [stdout] --> src/constants/http.rs:42:11
[INFO] [stdout] |
[INFO] [stdout] 42 | pub const HEADER_CONNECTION: &str = "Connection";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_DISPOSITION` is never used
[INFO] [stdout] --> src/constants/http.rs:43:11
[INFO] [stdout] |
[INFO] [stdout] 43 | pub const HEADER_CONTENT_DISPOSITION: &str = "Content-Disposition";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:44:11
[INFO] [stdout] |
[INFO] [stdout] 44 | pub const HEADER_CONTENT_ENCODING: &str = "Content-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_LANGUAGE` is never used
[INFO] [stdout] --> src/constants/http.rs:45:11
[INFO] [stdout] |
[INFO] [stdout] 45 | pub const HEADER_CONTENT_LANGUAGE: &str = "Content-Language";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_LENGTH` is never used
[INFO] [stdout] --> src/constants/http.rs:46:11
[INFO] [stdout] |
[INFO] [stdout] 46 | pub const HEADER_CONTENT_LENGTH: &str = "Content-Length";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_LOCATION` is never used
[INFO] [stdout] --> src/constants/http.rs:47:11
[INFO] [stdout] |
[INFO] [stdout] 47 | pub const HEADER_CONTENT_LOCATION: &str = "Content-Location";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_MD5` is never used
[INFO] [stdout] --> src/constants/http.rs:48:11
[INFO] [stdout] |
[INFO] [stdout] 48 | pub const HEADER_CONTENT_MD5: &str = "Content-MD5";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_TYPE` is never used
[INFO] [stdout] --> src/constants/http.rs:49:11
[INFO] [stdout] |
[INFO] [stdout] 49 | pub const HEADER_CONTENT_TYPE: &str = "Content-Type";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_DIGEST` is never used
[INFO] [stdout] --> src/constants/http.rs:50:11
[INFO] [stdout] |
[INFO] [stdout] 50 | pub const HEADER_CONTENT_DIGEST: &str = "Content-Digest";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_CONTENT_TRANSFER_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:51:11
[INFO] [stdout] |
[INFO] [stdout] 51 | pub const HEADER_CONTENT_TRANSFER_ENCODING: &str = "Content-Transfer-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ETAG` is never used
[INFO] [stdout] --> src/constants/http.rs:52:11
[INFO] [stdout] |
[INFO] [stdout] 52 | pub const HEADER_ETAG: &str = "ETag";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_EXPIRES` is never used
[INFO] [stdout] --> src/constants/http.rs:53:11
[INFO] [stdout] |
[INFO] [stdout] 53 | pub const HEADER_EXPIRES: &str = "Expires";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_HOST` is never used
[INFO] [stdout] --> src/constants/http.rs:54:11
[INFO] [stdout] |
[INFO] [stdout] 54 | pub const HEADER_HOST: &str = "Host";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_MATCH` is never used
[INFO] [stdout] --> src/constants/http.rs:55:11
[INFO] [stdout] |
[INFO] [stdout] 55 | pub const HEADER_IF_MATCH: &str = "If-Match";
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_NONE_MATCH` is never used
[INFO] [stdout] --> src/constants/http.rs:56:11
[INFO] [stdout] |
[INFO] [stdout] 56 | pub const HEADER_IF_NONE_MATCH: &str = "If-None-Match";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_MODIFIED_SINCE` is never used
[INFO] [stdout] --> src/constants/http.rs:57:11
[INFO] [stdout] |
[INFO] [stdout] 57 | pub const HEADER_IF_MODIFIED_SINCE: &str = "If-Modified-Since";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_IF_UNMODIFIED_SINCE` is never used
[INFO] [stdout] --> src/constants/http.rs:58:11
[INFO] [stdout] |
[INFO] [stdout] 58 | pub const HEADER_IF_UNMODIFIED_SINCE: &str = "If-Unmodified-Since";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_LAST_MODIFIED` is never used
[INFO] [stdout] --> src/constants/http.rs:59:11
[INFO] [stdout] |
[INFO] [stdout] 59 | pub const HEADER_LAST_MODIFIED: &str = "Last-Modified";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_LINK` is never used
[INFO] [stdout] --> src/constants/http.rs:60:11
[INFO] [stdout] |
[INFO] [stdout] 60 | pub const HEADER_LINK: &str = "Link";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_LOCATION` is never used
[INFO] [stdout] --> src/constants/http.rs:61:11
[INFO] [stdout] |
[INFO] [stdout] 61 | pub const HEADER_LOCATION: &str = "Location";
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ORIGIN` is never used
[INFO] [stdout] --> src/constants/http.rs:62:11
[INFO] [stdout] |
[INFO] [stdout] 62 | pub const HEADER_ORIGIN: &str = "Origin";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_PRAGMA` is never used
[INFO] [stdout] --> src/constants/http.rs:63:11
[INFO] [stdout] |
[INFO] [stdout] 63 | pub const HEADER_PRAGMA: &str = "Pragma";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_RANGE` is never used
[INFO] [stdout] --> src/constants/http.rs:64:11
[INFO] [stdout] |
[INFO] [stdout] 64 | pub const HEADER_RANGE: &str = "Range";
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_RETRY_AFTER` is never used
[INFO] [stdout] --> src/constants/http.rs:65:11
[INFO] [stdout] |
[INFO] [stdout] 65 | pub const HEADER_RETRY_AFTER: &str = "Retry-After";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_SERVER` is never used
[INFO] [stdout] --> src/constants/http.rs:66:11
[INFO] [stdout] |
[INFO] [stdout] 66 | pub const HEADER_SERVER: &str = "Server";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_TRAILER` is never used
[INFO] [stdout] --> src/constants/http.rs:67:11
[INFO] [stdout] |
[INFO] [stdout] 67 | pub const HEADER_TRAILER: &str = "Trailer";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_TRANSFER_ENCODING` is never used
[INFO] [stdout] --> src/constants/http.rs:68:11
[INFO] [stdout] |
[INFO] [stdout] 68 | pub const HEADER_TRANSFER_ENCODING: &str = "Transfer-Encoding";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_UPGRADE` is never used
[INFO] [stdout] --> src/constants/http.rs:69:11
[INFO] [stdout] |
[INFO] [stdout] 69 | pub const HEADER_UPGRADE: &str = "Upgrade";
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_USER_AGENT` is never used
[INFO] [stdout] --> src/constants/http.rs:70:11
[INFO] [stdout] |
[INFO] [stdout] 70 | pub const HEADER_USER_AGENT: &str = "User-Agent";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_VARY` is never used
[INFO] [stdout] --> src/constants/http.rs:71:11
[INFO] [stdout] |
[INFO] [stdout] 71 | pub const HEADER_VARY: &str = "Vary";
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_VIA` is never used
[INFO] [stdout] --> src/constants/http.rs:72:11
[INFO] [stdout] |
[INFO] [stdout] 72 | pub const HEADER_VIA: &str = "Via";
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_WWW_AUTHENTICATE` is never used
[INFO] [stdout] --> src/constants/http.rs:73:11
[INFO] [stdout] |
[INFO] [stdout] 73 | pub const HEADER_WWW_AUTHENTICATE: &str = "WWW-Authenticate";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_COOKIE` is never used
[INFO] [stdout] --> src/constants/http.rs:76:11
[INFO] [stdout] |
[INFO] [stdout] 76 | pub const HEADER_COOKIE: &str = "Cookie";
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_SET_COOKIE` is never used
[INFO] [stdout] --> src/constants/http.rs:77:11
[INFO] [stdout] |
[INFO] [stdout] 77 | pub const HEADER_SET_COOKIE: &str = "Set-Cookie";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_PROXY_AUTH` is never used
[INFO] [stdout] --> src/constants/http.rs:78:11
[INFO] [stdout] |
[INFO] [stdout] 78 | pub const HEADER_PROXY_AUTH: &str = "Proxy-Authorization";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_PROXY_AUTHN` is never used
[INFO] [stdout] --> src/constants/http.rs:79:11
[INFO] [stdout] |
[INFO] [stdout] 79 | pub const HEADER_PROXY_AUTHN: &str = "Proxy-Authenticate";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_ORIGIN` is never used
[INFO] [stdout] --> src/constants/http.rs:82:11
[INFO] [stdout] |
[INFO] [stdout] 82 | pub const HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_METHODS` is never used
[INFO] [stdout] --> src/constants/http.rs:84:11
[INFO] [stdout] |
[INFO] [stdout] 84 | pub const HEADER_ACCESS_CONTROL_ALLOW_METHODS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_HEADERS` is never used
[INFO] [stdout] --> src/constants/http.rs:86:11
[INFO] [stdout] |
[INFO] [stdout] 86 | pub const HEADER_ACCESS_CONTROL_ALLOW_HEADERS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS` is never used
[INFO] [stdout] --> src/constants/http.rs:88:11
[INFO] [stdout] |
[INFO] [stdout] 88 | pub const HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_EXPOSE_HEADERS` is never used
[INFO] [stdout] --> src/constants/http.rs:90:11
[INFO] [stdout] |
[INFO] [stdout] 90 | pub const HEADER_ACCESS_CONTROL_EXPOSE_HEADERS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_MAX_AGE` is never used
[INFO] [stdout] --> src/constants/http.rs:92:11
[INFO] [stdout] |
[INFO] [stdout] 92 | pub const HEADER_ACCESS_CONTROL_MAX_AGE: &str = "Access-Control-Max-Age";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_REQUEST_HEADERS` is never used
[INFO] [stdout] --> src/constants/http.rs:93:11
[INFO] [stdout] |
[INFO] [stdout] 93 | pub const HEADER_ACCESS_CONTROL_REQUEST_HEADERS: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_ACCESS_CONTROL_REQUEST_METHOD` is never used
[INFO] [stdout] --> src/constants/http.rs:95:11
[INFO] [stdout] |
[INFO] [stdout] 95 | pub const HEADER_ACCESS_CONTROL_REQUEST_METHOD: &str =
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_FOR` is never used
[INFO] [stdout] --> src/constants/http.rs:98:11
[INFO] [stdout] |
[INFO] [stdout] 98 | pub const HEADER_X_FORWARDED_FOR: &str = "X-Forwarded-For";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_HOST` is never used
[INFO] [stdout] --> src/constants/http.rs:99:11
[INFO] [stdout] |
[INFO] [stdout] 99 | pub const HEADER_X_FORWARDED_HOST: &str = "X-Forwarded-Host";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_PROTO` is never used
[INFO] [stdout] --> src/constants/http.rs:100:11
[INFO] [stdout] |
[INFO] [stdout] 100 | pub const HEADER_X_FORWARDED_PROTO: &str = "X-Forwarded-Proto";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FORWARDED_SCHEME` is never used
[INFO] [stdout] --> src/constants/http.rs:101:11
[INFO] [stdout] |
[INFO] [stdout] 101 | pub const HEADER_X_FORWARDED_SCHEME: &str = "X-Forwarded-Scheme";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_API_KEY` is never used
[INFO] [stdout] --> src/constants/http.rs:104:11
[INFO] [stdout] |
[INFO] [stdout] 104 | pub const HEADER_X_API_KEY: &str = "X-API-Key";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_REQUESTED_WITH` is never used
[INFO] [stdout] --> src/constants/http.rs:106:11
[INFO] [stdout] |
[INFO] [stdout] 106 | pub const HEADER_X_REQUESTED_WITH: &str = "X-Requested-With";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_LIMIT` is never used
[INFO] [stdout] --> src/constants/http.rs:107:11
[INFO] [stdout] |
[INFO] [stdout] 107 | pub const HEADER_X_RATE_LIMIT_LIMIT: &str = "X-RateLimit-Limit";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_REMAINING` is never used
[INFO] [stdout] --> src/constants/http.rs:108:11
[INFO] [stdout] |
[INFO] [stdout] 108 | pub const HEADER_X_RATE_LIMIT_REMAINING: &str = "X-RateLimit-Remaining";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_RESET` is never used
[INFO] [stdout] --> src/constants/http.rs:109:11
[INFO] [stdout] |
[INFO] [stdout] 109 | pub const HEADER_X_RATE_LIMIT_RESET: &str = "X-RateLimit-Reset";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_WINDOW` is never used
[INFO] [stdout] --> src/constants/http.rs:110:11
[INFO] [stdout] |
[INFO] [stdout] 110 | pub const HEADER_X_RATE_LIMIT_WINDOW: &str = "X-RateLimit-Window";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_RATE_LIMIT_COUNT` is never used
[INFO] [stdout] --> src/constants/http.rs:111:11
[INFO] [stdout] |
[INFO] [stdout] 111 | pub const HEADER_X_RATE_LIMIT_COUNT: &str = "X-RateLimit-Count";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_CONTENT_TYPE_OPTIONS` is never used
[INFO] [stdout] --> src/constants/http.rs:112:11
[INFO] [stdout] |
[INFO] [stdout] 112 | pub const HEADER_X_CONTENT_TYPE_OPTIONS: &str = "X-Content-Type-Options";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_FRAME_OPTIONS` is never used
[INFO] [stdout] --> src/constants/http.rs:113:11
[INFO] [stdout] |
[INFO] [stdout] 113 | pub const HEADER_X_FRAME_OPTIONS: &str = "X-Frame-Options";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_XSS_PROTECTION` is never used
[INFO] [stdout] --> src/constants/http.rs:114:11
[INFO] [stdout] |
[INFO] [stdout] 114 | pub const HEADER_X_XSS_PROTECTION: &str = "X-XSS-Protection";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_LICENSE_CHECKSUM` is never used
[INFO] [stdout] --> src/constants/http.rs:115:11
[INFO] [stdout] |
[INFO] [stdout] 115 | pub const HEADER_X_LICENSE_CHECKSUM: &str = "X-License-Checksum";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: constant `HEADER_X_MACHINE_CHECKSUM` is never used
[INFO] [stdout] --> src/constants/http.rs:116:11
[INFO] [stdout] |
[INFO] [stdout] 116 | pub const HEADER_X_MACHINE_CHECKSUM: &str = "X-Machine-Checksum";
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static `EXTRA_MIME_MAP` is never used
[INFO] [stdout] --> src/constants/http.rs:118:8
[INFO] [stdout] |
[INFO] [stdout] 118 | static EXTRA_MIME_MAP: Lazy> =
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `guess_content_type` is never used
[INFO] [stdout] --> src/constants/http.rs:135:8
[INFO] [stdout] |
[INFO] [stdout] 135 | pub fn guess_content_type(path: impl AsRef) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `content_type_from_ext` is never used
[INFO] [stdout] --> src/constants/http.rs:153:8
[INFO] [stdout] |
[INFO] [stdout] 153 | pub fn content_type_from_ext(ext: &str) -> &'static str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `NamespaceConfig` is never constructed
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:10:12
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct NamespaceConfig {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:16:12
[INFO] [stdout] |
[INFO] [stdout] 15 | impl NamespaceConfig {
[INFO] [stdout] | -------------------- associated function in this implementation
[INFO] [stdout] 16 | pub fn new(
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `caches` is never read
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:31:5
[INFO] [stdout] |
[INFO] [stdout] 29 | pub struct CacheRegistry {
[INFO] [stdout] | ------------- field in this struct
[INFO] [stdout] 30 | // namespace -> Cache
[INFO] [stdout] 31 | caches: DashMap>,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `CacheRegistry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:47:12
[INFO] [stdout] |
[INFO] [stdout] 36 | impl CacheRegistry {
[INFO] [stdout] | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 | pub fn init_with(
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 65 | pub fn ensure_namespace(
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 | pub async fn put_json(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 | pub async fn put_raw(&self, ns: &str, key: impl Into, value: Value) {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 | pub async fn get_json(
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 | pub async fn get_raw(&self, ns: &str, key: &str) -> Option {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 120 | pub async fn invalidate(&self, ns: &str, key: &str) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 127 | pub async fn contains_key(&self, ns: &str, key: &str) -> bool {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `init_default_caches` is never used
[INFO] [stdout] --> src/infrastructures/cache/local_cache.rs:138:8
[INFO] [stdout] |
[INFO] [stdout] 138 | pub fn init_default_caches() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `LoggerExtraFields` is never constructed
[INFO] [stdout] --> src/infrastructures/log/logger.rs:5:12
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct LoggerExtraFields {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout] --> src/middlewares/request_context.rs:12:12
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct RequestContext {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `with_ctx` is never used
[INFO] [stdout] --> src/middlewares/request_context.rs:23:8
[INFO] [stdout] |
[INFO] [stdout] 23 | pub fn with_ctx(f: impl FnOnce(&RequestContext) -> R) -> Option {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestContextLayer` is never constructed
[INFO] [stdout] --> src/middlewares/request_context.rs:28:12
[INFO] [stdout] |
[INFO] [stdout] 28 | pub struct RequestContextLayer;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestContextMw` is never constructed
[INFO] [stdout] --> src/middlewares/request_context.rs:36:12
[INFO] [stdout] |
[INFO] [stdout] 36 | pub struct RequestContextMw {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `hdr` is never used
[INFO] [stdout] --> src/middlewares/request_context.rs:72:4
[INFO] [stdout] |
[INFO] [stdout] 72 | fn hdr(req: &Request, name: &str) -> Option {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout] --> src/middlewares/request_id_mw.rs:16:22
[INFO] [stdout] |
[INFO] [stdout] 16 | pub struct RequestId(pub String);
[INFO] [stdout] | --------- ^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | field in this struct
[INFO] [stdout] |
[INFO] [stdout] = help: consider removing this field
[INFO] [stdout] = note: `RequestId` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: static `OIDC` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | static OIDC: OnceCell = OnceCell::new();
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_oidc` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | pub fn set_oidc(c: CoreClient) {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_health` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:16:8
[INFO] [stdout] |
[INFO] [stdout] 16 | pub fn set_health(h: Arc) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_auth` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:19:8
[INFO] [stdout] |
[INFO] [stdout] 19 | pub fn set_auth(a: Arc) {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `set_tracer` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:22:8
[INFO] [stdout] |
[INFO] [stdout] 22 | pub fn set_tracer(t: Arc) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `oidc` is never used
[INFO] [stdout] --> src/web/api/app_registry.rs:26:8
[INFO] [stdout] |
[INFO] [stdout] 26 | pub fn oidc() -> &'static CoreClient {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `RequestLogCtx` is never constructed
[INFO] [stdout] --> src/web/api/app_state.rs:13:12
[INFO] [stdout] |
[INFO] [stdout] 13 | pub struct RequestLogCtx {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `db` and `caches` are never read
[INFO] [stdout] --> src/web/api/app_state.rs:24:9
[INFO] [stdout] |
[INFO] [stdout] 19 | pub struct AppState {
[INFO] [stdout] | -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 | pub db: &'static DbPool,
[INFO] [stdout] | ^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | pub caches: Arc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `ok_handler` is never used
[INFO] [stdout] --> src/web/api/router.rs:37:10
[INFO] [stdout] |
[INFO] [stdout] 37 | async fn ok_handler(
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `err_handler` is never used
[INFO] [stdout] --> src/web/api/router.rs:53:10
[INFO] [stdout] |
[INFO] [stdout] 53 | async fn err_handler() -> impl axum::response::IntoResponse {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function `timeout_handler` is never used
[INFO] [stdout] --> src/web/api/router.rs:63:10
[INFO] [stdout] |
[INFO] [stdout] 63 | async fn timeout_handler(
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `authentication` is never read
[INFO] [stdout] --> src/web/api/v1/authentication/mod.rs:11:9
[INFO] [stdout] |
[INFO] [stdout] 10 | pub struct AuthenticationDeps {
[INFO] [stdout] | ------------------ field in this struct
[INFO] [stdout] 11 | pub authentication: Arc,
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `AuthenticationDeps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: fields `tracer` and `logger` are never read
[INFO] [stdout] --> src/web/api/v1/healthcheck/mod.rs:16:9
[INFO] [stdout] |
[INFO] [stdout] 14 | pub struct HealthcheckDeps {
[INFO] [stdout] | --------------- fields in this struct
[INFO] [stdout] 15 | pub healthcheck: Arc,
[INFO] [stdout] 16 | pub tracer: Arc,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] 17 | pub logger: &'static dyn Log,
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `HealthcheckDeps` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.45s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "129f96dbe163e5b8860ef2c1d47360dcf97b70478a6372c99a46a8fd87590163", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "129f96dbe163e5b8860ef2c1d47360dcf97b70478a6372c99a46a8fd87590163", kill_on_drop: false }`
[INFO] [stdout] 129f96dbe163e5b8860ef2c1d47360dcf97b70478a6372c99a46a8fd87590163