[INFO] fetching crate omnyx 0.1.117... [INFO] checking omnyx-0.1.117 against 1af98b7cdf86932b76182a387f52f1be6f0c1be0 for pr-159706 [INFO] extracting crate omnyx 0.1.117 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate omnyx 0.1.117 [INFO] finished tweaking crates.io crate omnyx 0.1.117 [INFO] tweaked toml for crates.io crate omnyx 0.1.117 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate omnyx 0.1.117 on toolchain 1af98b7cdf86932b76182a387f52f1be6f0c1be0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate omnyx 0.1.117 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" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded socket2 v0.6.3 [INFO] [stderr] Downloaded mio v1.2.0 [INFO] [stderr] Downloaded rscx v0.1.14 [INFO] [stderr] Downloaded typed-builder v0.16.2 [INFO] [stderr] Downloaded pingora-http v0.8.0 [INFO] [stderr] Downloaded pingora-runtime v0.8.0 [INFO] [stderr] Downloaded pingora-pool v0.8.0 [INFO] [stderr] Downloaded proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Downloaded syn_derive v0.1.8 [INFO] [stderr] Downloaded memoffset v0.6.5 [INFO] [stderr] Downloaded zstd v0.13.3 [INFO] [stderr] Downloaded fixedbitset v0.5.7 [INFO] [stderr] Downloaded lru v0.16.3 [INFO] [stderr] Downloaded typed-builder-macro v0.16.2 [INFO] [stderr] Downloaded utf8-width v0.1.8 [INFO] [stderr] Downloaded tokio-test v0.4.5 [INFO] [stderr] Downloaded convert_case v0.6.0 [INFO] [stderr] Downloaded sfv v0.10.4 [INFO] [stderr] Downloaded pingora-error v0.8.0 [INFO] [stderr] Downloaded alloc-stdlib v0.2.2 [INFO] [stderr] Downloaded daemonize v0.5.0 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.4 [INFO] [stderr] Downloaded trackable_derive v1.0.0 [INFO] [stderr] Downloaded rscx-macros v0.1.14 [INFO] [stderr] Downloaded pingora-timeout v0.8.0 [INFO] [stderr] Downloaded getset v0.1.6 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded zstd-safe v7.2.4 [INFO] [stderr] Downloaded neli-proc-macros v0.2.2 [INFO] [stderr] Downloaded time-core v0.1.8 [INFO] [stderr] Downloaded num-conv v0.2.1 [INFO] [stderr] Downloaded html-escape v0.2.13 [INFO] [stderr] Downloaded daggy v0.8.1 [INFO] [stderr] Downloaded pingora-lru v0.8.0 [INFO] [stderr] Downloaded hostname v0.4.2 [INFO] [stderr] Downloaded thrift_codec v0.3.2 [INFO] [stderr] Downloaded local-ip-address v0.6.11 [INFO] [stderr] Downloaded rstml v0.11.2 [INFO] [stderr] Downloaded clap_derive v4.5.55 [INFO] [stderr] Downloaded pingora-header-serde v0.8.0 [INFO] [stderr] Downloaded cf-rustracing v1.2.1 [INFO] [stderr] Downloaded time-macros v0.2.27 [INFO] [stderr] Downloaded deranged v0.5.8 [INFO] [stderr] Downloaded trackable v1.3.0 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded pingora-load-balancing v0.8.0 [INFO] [stderr] Downloaded matchit v0.9.1 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded pingora v0.8.0 [INFO] [stderr] Downloaded tokio-stream v0.1.18 [INFO] [stderr] Downloaded serde_yaml v0.9.34+deprecated [INFO] [stderr] Downloaded unsafe-libyaml v0.2.11 [INFO] [stderr] Downloaded clap v4.5.60 [INFO] [stderr] Downloaded ahash v0.8.12 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded pingora-ketama v0.8.0 [INFO] [stderr] Downloaded cf-rustracing-jaeger v1.2.2 [INFO] [stderr] Downloaded pingora-cache v0.8.0 [INFO] [stderr] Downloaded neli v0.7.4 [INFO] [stderr] Downloaded arc-swap v1.9.1 [INFO] [stderr] Downloaded const_format v0.2.35 [INFO] [stderr] Downloaded zerocopy-derive v0.8.39 [INFO] [stderr] Downloaded prometheus v0.13.4 [INFO] [stderr] Downloaded cc v1.2.55 [INFO] [stderr] Downloaded pingora-proxy v0.8.0 [INFO] [stderr] Downloaded rust_decimal v1.41.0 [INFO] [stderr] Downloaded h2 v0.4.13 [INFO] [stderr] Downloaded tokio-util v0.7.18 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded clap_builder v4.5.60 [INFO] [stderr] Downloaded brotli-decompressor v2.5.1 [INFO] [stderr] Downloaded zerocopy v0.8.39 [INFO] [stderr] Downloaded time v0.3.47 [INFO] [stderr] Downloaded nix v0.24.3 [INFO] [stderr] Downloaded pingora-core v0.8.0 [INFO] [stderr] Downloaded bstr v1.12.1 [INFO] [stderr] Downloaded libz-ng-sys v1.1.26 [INFO] [stderr] Downloaded petgraph v0.7.1 [INFO] [stderr] Downloaded tokio v1.52.1 [INFO] [stderr] Downloaded zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Downloaded brotli v3.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2 [INFO] running `Command { std: "docker" "start" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2" "/opt/rustwide/cargo-home/bin/cargo" "+1af98b7cdf86932b76182a387f52f1be6f0c1be0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling unicode-ident v1.0.23 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itoa v1.0.17 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking pingora-error v0.8.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking clap_builder v4.5.60 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking crossbeam-queue v0.3.12 [INFO] [stderr] Checking pingora-http v0.8.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Checking lru v0.16.3 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Checking sfv v0.10.4 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libz-ng-sys v1.1.26 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking daggy v0.8.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling utf8-width v0.1.8 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking thrift_codec v0.3.2 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking pingora-ketama v0.8.0 [INFO] [stderr] Checking arc-swap v1.9.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Checking matchit v0.9.1 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking pingora-lru v0.8.0 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling typed-builder-macro v0.16.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking clap v4.5.60 [INFO] [stderr] Checking typed-builder v0.16.2 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling rscx-macros v0.1.14 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking derive_builder v0.20.2 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking rmp-serde v1.3.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling neli-proc-macros v0.2.2 [INFO] [stderr] Checking pingora-header-serde v0.8.0 [INFO] [stderr] Checking neli v0.7.4 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking pingora-timeout v0.8.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking pingora-runtime v0.8.0 [INFO] [stderr] Checking cf-rustracing v1.2.1 [INFO] [stderr] Checking rscx v0.1.14 [INFO] [stderr] Checking pingora-pool v0.8.0 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking local-ip-address v0.6.11 [INFO] [stderr] Checking cf-rustracing-jaeger v1.2.2 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking pingora-core v0.8.0 [INFO] [stderr] Checking pingora-cache v0.8.0 [INFO] [stderr] Checking pingora-load-balancing v0.8.0 [INFO] [stderr] Checking pingora-proxy v0.8.0 [INFO] [stderr] Checking pingora v0.8.0 [INFO] [stderr] Checking omnyx v0.1.117 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/router/builder/types/layout/types/layout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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: `std::collections::HashMap` [INFO] [stdout] --> src/core/router/builder/types/layout/parallel_route_node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/core/router/builder/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/loader.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(LoaderComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/layout.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | impl_handler!(LayoutComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/layout.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | impl_handler!(LayoutComponent, call, Page; t1, t2); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t2` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/layout.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | impl_handler!(LayoutComponent, call, Page; t1, t2); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/page.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(PageComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/special.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(SpecialComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/error.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(ErrorComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/api.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(ApiHandler, call, Api; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/not_found.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(NotFoundComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `special::*` [INFO] [stdout] --> src/core/router/handlers/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use special::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/core/router/io/request/kinds/api.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::router::io::{request::{ Request, Connection }, response::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `init::*` [INFO] [stdout] --> src/core/router/io/response/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use init::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mutate::*` [INFO] [stdout] --> src/core/router/io/response/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use mutate::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apply_response::*` [INFO] [stdout] --> src/core/router/io/response/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use apply_response::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LanguageAlternate`, `MaxImagePreview`, `MediaAlternate`, `TagDescriptor`, `TagProp`, and `TypeAlternate` [INFO] [stdout] --> src/core/router/logic/metadata/core.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | AppleWebApp, Icon, Author, TwitterCard, OpenGraph, Robots, Alternates, ReferrerPolicy, MaxImagePreview, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | MediaAlternate, TypeAlternate, AppLinks, Verification, MetaTag, LinkTag, LanguageAlternate, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | TagDescriptor, TagProp, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArticleMetadata`, `BookMetadata`, `OgAudio`, `OgImage`, `OgVideo`, and `ProfileMetadata` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub use open_graph::{OpenGraph, OgImage ,OgVideo, OgAudio, ArticleMetadata, BookMetadata, ProfileMetadata, }; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TwitterAppPlatform`, `TwitterApp`, `TwitterImage`, and `TwitterPlayer` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub use twitter_card::{TwitterCard, TwitterImage, TwitterApp, TwitterAppPlatform, TwitterPlayer, }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AndroidAppLink`, `IosAppLink`, `WebAppLink`, and `WindowsAppLink` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub use app_links::{AppLinks, IosAppLink, AndroidAppLink, WindowsAppLink, WebAppLink}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RouteMetadata` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::core::router::metadata::core::{RouteMetadata}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flat::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use flat::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use render::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_from_child::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use update_from_child::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `params::*` [INFO] [stdout] --> src/core/router/matcher/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use params::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build::*` [INFO] [stdout] --> src/core/router/matcher/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use build::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/core/router/matcher/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/core/router/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use core::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/core/router/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use core::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `templates::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/core/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use templates::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not_found::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use not_found::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use response::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request` and `kinds::Api` [INFO] [stdout] --> src/core/pingora/handle_route/response.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::router::io::request::{Request, kinds::Api}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `public::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use public::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use middleware::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use response::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proxy::*` [INFO] [stdout] --> src/core/pingora/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use proxy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/core/router/builder/types/layout/types/layout.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [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: `std::collections::HashMap` [INFO] [stdout] --> src/core/router/builder/types/layout/parallel_route_node.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/core/router/builder/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/loader.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(LoaderComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/layout.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | impl_handler!(LayoutComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/layout.rs:53:44 [INFO] [stdout] | [INFO] [stdout] 53 | impl_handler!(LayoutComponent, call, Page; t1, t2); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t2` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/layout.rs:53:48 [INFO] [stdout] | [INFO] [stdout] 53 | impl_handler!(LayoutComponent, call, Page; t1, t2); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/page.rs:32:42 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(PageComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/special.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(SpecialComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/error.rs:32:43 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(ErrorComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/api.rs:32:38 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(ApiHandler, call, Api; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type parameter `t1` should have an upper camel case name [INFO] [stdout] --> src/core/router/handlers/not_found.rs:32:46 [INFO] [stdout] | [INFO] [stdout] 32 | impl_handler!(NotFoundComponent, call, Page; t1); [INFO] [stdout] | ^^ help: convert the identifier to upper camel case: `T1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `special::*` [INFO] [stdout] --> src/core/router/handlers/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use special::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::Response` [INFO] [stdout] --> src/core/router/io/request/kinds/api.rs:3:65 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::router::io::{request::{ Request, Connection }, response::Response}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `init::*` [INFO] [stdout] --> src/core/router/io/response/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use init::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mutate::*` [INFO] [stdout] --> src/core/router/io/response/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use mutate::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `apply_response::*` [INFO] [stdout] --> src/core/router/io/response/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use apply_response::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LanguageAlternate`, `MaxImagePreview`, `MediaAlternate`, `TagDescriptor`, `TagProp`, and `TypeAlternate` [INFO] [stdout] --> src/core/router/logic/metadata/core.rs:2:92 [INFO] [stdout] | [INFO] [stdout] 2 | AppleWebApp, Icon, Author, TwitterCard, OpenGraph, Robots, Alternates, ReferrerPolicy, MaxImagePreview, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | MediaAlternate, TypeAlternate, AppLinks, Verification, MetaTag, LinkTag, LanguageAlternate, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | [INFO] [stdout] 5 | TagDescriptor, TagProp, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArticleMetadata`, `BookMetadata`, `OgAudio`, `OgImage`, `OgVideo`, and `ProfileMetadata` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | pub use open_graph::{OpenGraph, OgImage ,OgVideo, OgAudio, ArticleMetadata, BookMetadata, ProfileMetadata, }; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TwitterAppPlatform`, `TwitterApp`, `TwitterImage`, and `TwitterPlayer` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | pub use twitter_card::{TwitterCard, TwitterImage, TwitterApp, TwitterAppPlatform, TwitterPlayer, }; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AndroidAppLink`, `IosAppLink`, `WebAppLink`, and `WindowsAppLink` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | pub use app_links::{AppLinks, IosAppLink, AndroidAppLink, WindowsAppLink, WebAppLink}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RouteMetadata` [INFO] [stdout] --> src/core/router/logic/metadata/types/mod.rs:27:47 [INFO] [stdout] | [INFO] [stdout] 27 | pub use crate::core::router::metadata::core::{RouteMetadata}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `types::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use types::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flat::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use flat::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `render::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use render::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `update_from_child::*` [INFO] [stdout] --> src/core/router/logic/metadata/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use update_from_child::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `params::*` [INFO] [stdout] --> src/core/router/matcher/utils/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use params::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `build::*` [INFO] [stdout] --> src/core/router/matcher/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use build::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::*` [INFO] [stdout] --> src/core/router/matcher/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough [INFO] [stdout] --> src/core/router/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use core::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the most public imported item is `pub(crate)` [INFO] [stdout] --> src/core/router/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use core::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = help: reduce the glob import's visibility or increase visibility of imported items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `templates::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/core/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use templates::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use error::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `not_found::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use not_found::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::*` [INFO] [stdout] --> src/core/pingora/handle_route/renderer/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use response::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request` and `kinds::Api` [INFO] [stdout] --> src/core/pingora/handle_route/response.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::core::router::io::request::{Request, kinds::Api}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `public::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use public::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use core::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `middleware::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use middleware::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `response::*` [INFO] [stdout] --> src/core/pingora/handle_route/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use response::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proxy::*` [INFO] [stdout] --> src/core/pingora/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use proxy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/pingora/handle_route/renderer/render_page.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut req = self.req; [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: variable does not need to be mutable [INFO] [stdout] --> src/core/pingora/handle_route/renderer/render_page.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut req = self.req; [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: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/loader.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(LoaderComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/loader.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(LoaderComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/layout.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl_handler!(LayoutComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/layout.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl_handler!(LayoutComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/page.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(PageComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/page.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(PageComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/special.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(SpecialComponent, call, Page; ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/special.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(SpecialComponent, call, Page; ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ErrorComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ErrorComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/api.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ApiHandler, call, Api; ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/api.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ApiHandler, call, Api; ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/not_found.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(NotFoundComponent, call, Page; ); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/not_found.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(NotFoundComponent, call, Page; ); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/loader.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(LoaderComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/loader.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(LoaderComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/layout.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl_handler!(LayoutComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/layout.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | impl_handler!(LayoutComponent, call, Page; ); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/page.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(PageComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/page.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(PageComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/special.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(SpecialComponent, call, Page; ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/special.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(SpecialComponent, call, Page; ); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ErrorComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ErrorComponent, call, Page; ); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/api.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ApiHandler, call, Api; ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/api.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(ApiHandler, call, Api; ); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/not_found.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(NotFoundComponent, call, Page; ); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `request` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/core/router/handlers/macros.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | ... fn $method(self, request: $crate::core::router::io::Request<$kind>) -> $crate::types::BoxFuture<$crate::core::router::io::Resp... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/core/router/handlers/not_found.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | impl_handler!(NotFoundComponent, call, Page; ); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `impl_handler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/router/logic/metadata/render.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | for (key, value) in &self.i18n_variants { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/router/logic/metadata/render.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | for (key, value) in &self.i18n_variants { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/core/router/logic/metadata/render.rs:118:14 [INFO] [stdout] | [INFO] [stdout] 118 | for (key, value) in &self.i18n_variants { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/core/router/logic/metadata/render.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | for (key, value) in &self.i18n_variants { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/router/logic/middleware.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn run(mut self, request: &Connection) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/router/logic/middleware.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn run(mut self, request: &Connection) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/core/pingora/handle_route/middleware.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run_middlewares(&self, req: &mut Connection) -> pingora::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/core/pingora/handle_route/middleware.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn run_middlewares(&self, req: &mut Connection) -> pingora::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/config.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FrameworkInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 4 | pub author: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/core/core.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 11 | pub(crate) state: &'static AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children` is never used [INFO] [stdout] --> src/core/router/builder/types/layout/types/layout.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl ParallelRouteLayoutDefination { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn children(mut self, f: F) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErasedSpecialComponent` is never used [INFO] [stdout] --> src/core/router/handlers/special.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ErasedSpecialComponent: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpecialComponent` is never used [INFO] [stdout] --> src/core/router/handlers/special.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SpecialComponent: Clone + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpecialHandlerWrapper` is never constructed [INFO] [stdout] --> src/core/router/handlers/special.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SpecialHandlerWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extensions` is never read [INFO] [stdout] --> src/core/router/io/request/connection.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) extensions: crate::core::router::registry::Extensions, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` 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: trait `ApplyResponse` is never used [INFO] [stdout] --> src/core/router/io/response/apply_response.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ApplyResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiddlewareService` is never constructed [INFO] [stdout] --> src/core/router/logic/middleware.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MiddlewareService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, `get_cloned`, `remove`, `extend`, and `is_empty` are never used [INFO] [stdout] --> src/core/router/registry/extensions.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Extensions { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn insert(&mut self, val: T) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_cloned(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn remove(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn extend(&mut self, other: Extensions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/core/router/matcher/core.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MatchedRoute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | pub(crate) pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/core/router/matcher/core.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MatchedParallelRoute { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 29 | pub(crate) pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchedParallelRoute` 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 `middlewares` and `node_ids` are never read [INFO] [stdout] --> src/core/router/matcher/core.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct RouteEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 77 | pub(crate) matched_pattern: String, [INFO] [stdout] 78 | pub(crate) middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) kind: RouteKind, [INFO] [stdout] 80 | pub(crate) node_ids: Vec, // NEW: list of all node IDs in this route [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slot_name` is never read [INFO] [stdout] --> src/core/router/matcher/build.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParallelRouteBakeContext { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 26 | pub path: String, // absolute path prefix from parent layout [INFO] [stdout] 27 | pub slot_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParallelRouteBakeContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Params` is never constructed [INFO] [stdout] --> src/core/router/matcher/utils/params.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Params(pub Arc<[(String, String)]>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `parse`, `contains`, `iter`, and `len` are never used [INFO] [stdout] --> src/core/router/matcher/utils/params.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Params { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn get(&self, key: &str) -> Option<&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn parse(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn contains(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_state` and `from_state_and_renderer` are never used [INFO] [stdout] --> src/core/pingora/core.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 9 | / impl PingoraAdapter [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | T: Send + Sync + 'static, [INFO] [stdout] | |_____________________________- associated functions in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | pub(crate) fn from_state( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn from_state_and_renderer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `renderer` is never used [INFO] [stdout] --> src/core/pingora/core.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 35 | / impl PingoraAdapter [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | T: Send + Sync + 'static, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] 38 | { [INFO] [stdout] 39 | pub fn renderer(mut self, renderer: Renderer) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_controller` is never read [INFO] [stdout] --> src/core/pingora/handle_route/renderer/render_page.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct LayoutCapture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | error_controller: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_response` is never used [INFO] [stdout] --> src/core/pingora/handle_route/renderer/error.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl Renderer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) async fn send_response( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `author` is never read [INFO] [stdout] --> src/config.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct FrameworkInfo { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 4 | pub author: &'static str, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/core/core.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct App { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 11 | pub(crate) state: &'static AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `children` is never used [INFO] [stdout] --> src/core/router/builder/types/layout/types/layout.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl ParallelRouteLayoutDefination { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub(crate) fn children(mut self, f: F) -> Self [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErasedSpecialComponent` is never used [INFO] [stdout] --> src/core/router/handlers/special.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ErasedSpecialComponent: Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SpecialComponent` is never used [INFO] [stdout] --> src/core/router/handlers/special.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait SpecialComponent: Clone + Send + Sync + 'static { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpecialHandlerWrapper` is never constructed [INFO] [stdout] --> src/core/router/handlers/special.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SpecialHandlerWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extensions` is never read [INFO] [stdout] --> src/core/router/io/request/connection.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Connection { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub(crate) extensions: crate::core::router::registry::Extensions, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Connection` 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: trait `ApplyResponse` is never used [INFO] [stdout] --> src/core/router/io/response/apply_response.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait ApplyResponse { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MiddlewareService` is never constructed [INFO] [stdout] --> src/core/router/logic/middleware.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct MiddlewareService { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `insert`, `get`, `get_cloned`, `remove`, `extend`, and `is_empty` are never used [INFO] [stdout] --> src/core/router/registry/extensions.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Extensions { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn insert(&mut self, val: T) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn get_cloned(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn remove(&mut self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn extend(&mut self, other: Extensions) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/core/router/matcher/core.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MatchedRoute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 22 | pub(crate) pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pattern` is never read [INFO] [stdout] --> src/core/router/matcher/core.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct MatchedParallelRoute { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 29 | pub(crate) pattern: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchedParallelRoute` 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 `middlewares` and `node_ids` are never read [INFO] [stdout] --> src/core/router/matcher/core.rs:78:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct RouteEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 77 | pub(crate) matched_pattern: String, [INFO] [stdout] 78 | pub(crate) middlewares: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 79 | pub(crate) kind: RouteKind, [INFO] [stdout] 80 | pub(crate) node_ids: Vec, // NEW: list of all node IDs in this route [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteEntry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `slot_name` is never read [INFO] [stdout] --> src/core/router/matcher/build.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ParallelRouteBakeContext { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] 26 | pub path: String, // absolute path prefix from parent layout [INFO] [stdout] 27 | pub slot_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParallelRouteBakeContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Params` is never constructed [INFO] [stdout] --> src/core/router/matcher/utils/params.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Params(pub Arc<[(String, String)]>); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `parse`, `contains`, `iter`, and `len` are never used [INFO] [stdout] --> src/core/router/matcher/utils/params.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Params { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] 8 | [INFO] [stdout] 9 | pub fn get(&self, key: &str) -> Option<&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn parse(&self, key: &str) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn contains(&self, key: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_state` and `from_state_and_renderer` are never used [INFO] [stdout] --> src/core/pingora/core.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 9 | / impl PingoraAdapter [INFO] [stdout] 10 | | where [INFO] [stdout] 11 | | T: Send + Sync + 'static, [INFO] [stdout] | |_____________________________- associated functions in this implementation [INFO] [stdout] 12 | { [INFO] [stdout] 13 | pub(crate) fn from_state( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub(crate) fn from_state_and_renderer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `renderer` is never used [INFO] [stdout] --> src/core/pingora/core.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 35 | / impl PingoraAdapter [INFO] [stdout] 36 | | where [INFO] [stdout] 37 | | T: Send + Sync + 'static, [INFO] [stdout] | |_____________________________- method in this implementation [INFO] [stdout] 38 | { [INFO] [stdout] 39 | pub fn renderer(mut self, renderer: Renderer) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error_controller` is never read [INFO] [stdout] --> src/core/pingora/handle_route/renderer/render_page.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct LayoutCapture { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | error_controller: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send_response` is never used [INFO] [stdout] --> src/core/pingora/handle_route/renderer/error.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 11 | impl Renderer { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub(crate) async fn send_response( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | ... .method("GET", |req: Request| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | ... .method("GET", |req: Request| async move { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query` is never read [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Payload { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 63 | query: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `query` is never read [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Payload { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 63 | query: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2", kill_on_drop: false }` [INFO] [stdout] 495f60771ee444996f5c216cb9b2e895a5480dff2cc182ad6b5365d06189e8a2