[INFO] cloning repository https://github.com/2585952517/stream_plugin_proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/2585952517/stream_plugin_proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2585952517%2Fstream_plugin_proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2585952517%2Fstream_plugin_proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f765fe171f76980991f372900d6a90417213d80e [INFO] checking 2585952517/stream_plugin_proxy against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F2585952517%2Fstream_plugin_proxy" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/2585952517/stream_plugin_proxy [INFO] finished tweaking git repo https://github.com/2585952517/stream_plugin_proxy [INFO] tweaked toml for git repo https://github.com/2585952517/stream_plugin_proxy written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/2585952517/stream_plugin_proxy on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/2585952517/stream_plugin_proxy 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" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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] d31838ff5fbf336ef70bbce6de8c920c9388c751208e69011332f1651a053b9e [INFO] running `Command { std: "docker" "start" "d31838ff5fbf336ef70bbce6de8c920c9388c751208e69011332f1651a053b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31838ff5fbf336ef70bbce6de8c920c9388c751208e69011332f1651a053b9e", 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" "d31838ff5fbf336ef70bbce6de8c920c9388c751208e69011332f1651a053b9e" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d31838ff5fbf336ef70bbce6de8c920c9388c751208e69011332f1651a053b9e", 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" "d31838ff5fbf336ef70bbce6de8c920c9388c751208e69011332f1651a053b9e" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking foldhash v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Checking hashbrown v0.17.0 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking rand_core v0.10.1 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking gimli v0.32.3 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking indexmap v2.14.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling rust_decimal v1.41.0 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking chacha20 v0.10.0 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking pingora-error v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.27 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking lru v0.16.4 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking petgraph v0.7.1 [INFO] [stderr] Checking pingora-http v0.8.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling cc v1.2.61 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking daggy v0.8.1 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking sfv v0.10.4 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking hostname v0.4.2 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking addr2line v0.25.1 [INFO] [stderr] Checking rmp v0.8.15 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking unicase v2.9.0 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking libloading v0.8.9 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling libz-ng-sys v1.1.28 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Checking thrift_codec v0.3.2 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.6 [INFO] [stderr] Checking backtrace v0.3.76 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking tempfile v3.27.0 [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 tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tokio v1.52.1 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking pingora-header-serde v0.8.0 [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 futures-executor v0.3.32 [INFO] [stderr] Compiling neli-proc-macros v0.2.2 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking neli v0.7.4 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking pingora-timeout v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking cf-rustracing v1.3.0 [INFO] [stderr] Checking pingora-runtime v0.8.0 [INFO] [stderr] Checking pingora-pool v0.8.0 [INFO] [stderr] Checking tokio-test v0.4.5 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking local-ip-address v0.6.12 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking cf-rustracing-jaeger v1.3.0 [INFO] [stderr] Checking pingora-core v0.8.0 [INFO] [stderr] Checking pingora-cache v0.8.0 [INFO] [stderr] Checking pingora-proxy v0.8.0 [INFO] [stderr] Checking pingora v0.8.0 [INFO] [stderr] Checking stream_plugin_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Null`, `Str`, `Raw`, `I64`, and `F64` are never constructed [INFO] [stdout] --> src/plugin/context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TypedValueType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 7 | Null = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Str = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Raw = 2, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | I64 = 3, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | F64 = 4, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vtype`, `str_val`, `raw_val`, `i64_val`, and `f64_val` are never read [INFO] [stdout] --> src/plugin/context.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TypedValue { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | pub vtype: TypedValueType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub str_val: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub raw_val: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub i64_val: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub f64_val: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` 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: associated functions `null`, `from_str`, and `from_i64` are never used [INFO] [stdout] --> src/plugin/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TypedValue { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 24 | pub fn null() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_i64(v: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx_data` and `response_body` are never read [INFO] [stdout] --> src/plugin/context.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PluginContext { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | ctx_data: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | response_body: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginContext` 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: methods `update_ctx`, `get_ctx`, `get_body_len`, `modify_body`, `get_body`, and `as_ptr` are never used [INFO] [stdout] --> src/plugin/context.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl PluginContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_ctx(&mut self, key: &str, value: TypedValue) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_ctx(&self, key: &str) -> Option<&TypedValue> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_body_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn modify_body(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_body(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn as_ptr(&self) -> *mut std::ffi::c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_plugin_info` and `init_plugin` are never used [INFO] [stdout] --> src/plugin/loader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PluginLoader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_plugin_info(&self) -> Result<(String, String), LoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn init_plugin(&self, config_json: Option<&str>) -> Result<(), LoaderError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Init` is never constructed [INFO] [stdout] --> src/plugin/loader.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum LoaderError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 80 | Init(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/plugin/loader.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn free(ptr: *mut std::ffi::c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_service_with_name` is never used [INFO] [stdout] --> src/proxy/mod.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 298 | impl ProxyServer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn create_service_with_name(self, name: &'static str) -> pingora::services::listening::Service src/plugin/context.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TypedValueType { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 7 | Null = 0, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | Str = 1, [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | Raw = 2, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | I64 = 3, [INFO] [stdout] | ^^^ [INFO] [stdout] 11 | F64 = 4, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `vtype`, `str_val`, `raw_val`, `i64_val`, and `f64_val` are never read [INFO] [stdout] --> src/plugin/context.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TypedValue { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | pub vtype: TypedValueType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | pub str_val: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 18 | pub raw_val: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub i64_val: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub f64_val: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` 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: associated functions `null`, `from_str`, and `from_i64` are never used [INFO] [stdout] --> src/plugin/context.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl TypedValue { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 24 | pub fn null() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_str(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn from_i64(v: i64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx_data` and `response_body` are never read [INFO] [stdout] --> src/plugin/context.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct PluginContext { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 39 | ctx_data: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 40 | response_body: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginContext` 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: methods `update_ctx`, `get_ctx`, `get_body_len`, `modify_body`, `get_body`, and `as_ptr` are never used [INFO] [stdout] --> src/plugin/context.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl PluginContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn update_ctx(&mut self, key: &str, value: TypedValue) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn get_ctx(&self, key: &str) -> Option<&TypedValue> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn get_body_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn modify_body(&mut self, data: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn get_body(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn as_ptr(&self) -> *mut std::ffi::c_void { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_plugin_info` and `init_plugin` are never used [INFO] [stdout] --> src/plugin/loader.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl PluginLoader { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn get_plugin_info(&self) -> Result<(String, String), LoaderError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn init_plugin(&self, config_json: Option<&str>) -> Result<(), LoaderError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Init` is never constructed [INFO] [stdout] --> src/plugin/loader.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub enum LoaderError { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 80 | Init(i32), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoaderError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/plugin/loader.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | fn free(ptr: *mut std::ffi::c_void); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `create_service_with_name` is never used [INFO] [stdout] --> src/proxy/mod.rs:335:12 [INFO] [stdout] | [INFO] [stdout] 298 | impl ProxyServer { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 335 | pub fn create_service_with_name(self, name: &'static str) -> pingora::services::listening::Service