[INFO] cloning repository https://github.com/sunanzhi/rust-protocol-executor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunanzhi/rust-protocol-executor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunanzhi%2Frust-protocol-executor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunanzhi%2Frust-protocol-executor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] deda3d0275380fed68237575066dd12bd2f80c81 [INFO] checking sunanzhi/rust-protocol-executor against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunanzhi%2Frust-protocol-executor" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunanzhi/rust-protocol-executor [INFO] finished tweaking git repo https://github.com/sunanzhi/rust-protocol-executor [INFO] tweaked toml for git repo https://github.com/sunanzhi/rust-protocol-executor written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunanzhi/rust-protocol-executor on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunanzhi/rust-protocol-executor 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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openssl-probe v0.2.0 [INFO] [stderr] Downloaded rustls-platform-verifier v0.6.2 [INFO] [stderr] Downloaded rustls-platform-verifier-android v0.1.1 [INFO] [stderr] Downloaded rustls-native-certs v0.8.3 [INFO] [stderr] Downloaded cmake v0.1.57 [INFO] [stderr] Downloaded webpki-root-certs v1.0.4 [INFO] [stderr] Downloaded reqwest v0.13.1 [INFO] [stderr] Downloaded aws-lc-rs v1.15.2 [INFO] [stderr] Downloaded aws-lc-sys v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8665721f1e7534c5dafa8539e8c50f31ad9a1bc707e59c3ab9b69fbb4c8c30b2 [INFO] running `Command { std: "docker" "start" "-a" "8665721f1e7534c5dafa8539e8c50f31ad9a1bc707e59c3ab9b69fbb4c8c30b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8665721f1e7534c5dafa8539e8c50f31ad9a1bc707e59c3ab9b69fbb4c8c30b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8665721f1e7534c5dafa8539e8c50f31ad9a1bc707e59c3ab9b69fbb4c8c30b2", kill_on_drop: false }` [INFO] [stdout] 8665721f1e7534c5dafa8539e8c50f31ad9a1bc707e59c3ab9b69fbb4c8c30b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47ba885219ce532de3b26cd19664bbe0b7806f5e18af0fd24ca8da033aa64c9f [INFO] running `Command { std: "docker" "start" "-a" "47ba885219ce532de3b26cd19664bbe0b7806f5e18af0fd24ca8da033aa64c9f", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling aws-lc-rs v1.15.2 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking rustls-pki-types v1.13.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling cc v1.2.49 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking openssl-probe v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking rustls-native-certs v0.8.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-sys v0.35.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.19 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking protocol-executor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use external::*; [INFO] [stdout] | ----------- but the name `ExternalMiddlewareConfig` in the type namespace is also re-exported here [INFO] [stdout] 7 | pub use registry::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `ExternalMiddlewareConfig` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/middleware/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use external::*; [INFO] [stdout] | ----------- but the name `ExternalMiddlewareConfig` in the type namespace is also re-exported here [INFO] [stdout] 7 | pub use registry::*; [INFO] [stdout] | ^^^^^^^^^^^ the name `ExternalMiddlewareConfig` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor/http.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut request_builder = self.client.request(reqwest::Method::GET, "x"); [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: `context` [INFO] [stdout] --> src/executor/mode/workflow.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | async fn execute(&self, context: Context) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor/http.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut request_builder = self.client.request(reqwest::Method::GET, "x"); [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: `context` [INFO] [stdout] --> src/executor/mode/workflow.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | async fn execute(&self, context: Context) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/validator.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | result: &mut ExecutionResult, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/validator.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | result: &mut ExecutionResult, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolDataType` is more private than the item `BaseProtocol::parse_data` [INFO] [stdout] --> src/executor/protocol/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BaseProtocol::parse_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolDataType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/executor/protocol/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | enum ProtocolDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `middleware_registry` and `config` are never read [INFO] [stdout] --> src/executor/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ExecutorFactory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | middleware_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | config: config::Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutorFactory` has a derived impl for the trait `Clone`, but this is 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: field `base` is never read [INFO] [stdout] --> src/executor/mode/workflow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WorkflowMode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | base: BaseExecutor, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/executor/protocol/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | Http(HttpProtocolModel), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolDataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Http(HttpProtocolModel), [INFO] [stdout] 37 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/executor/protocol/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Unknown(Value), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolDataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - Unknown(Value), [INFO] [stdout] 38 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request`, `response`, and `options` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpProtocolModel { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 7 | request: HttpRequest, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | response: HttpResponse, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | options: HttpOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpProtocolModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `method`, `headers`, `query_params`, and `body` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 14 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | query_params: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | body: HttpRequestBodyDTO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `json`, `form`, and `raw` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HttpRequestBodyDTO { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 23 | mode: HttpRequestBodyModeEnum, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | json: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | form: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequestBodyDTO` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `headers`, and `body_asserts` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | status: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | body_asserts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http_version`, `timeout_ms`, `retry`, `follow_redirects`, and `verify_ssl` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct HttpOptions { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | http_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | timeout_ms: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | retry: HttpRetry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | follow_redirects: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | verify_ssl: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `interval_ms` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpRetry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | interval_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRetry` 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 `parse_header` is never used [INFO] [stdout] --> src/cli/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_header(s: &str) -> Result<(String, String), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolDataType` is more private than the item `BaseProtocol::parse_data` [INFO] [stdout] --> src/executor/protocol/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BaseProtocol::parse_data` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolDataType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/executor/protocol/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | enum ProtocolDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `middleware_registry` and `config` are never read [INFO] [stdout] --> src/executor/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ExecutorFactory { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 55 | middleware_registry: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | config: config::Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutorFactory` has a derived impl for the trait `Clone`, but this is 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: field `base` is never read [INFO] [stdout] --> src/executor/mode/workflow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WorkflowMode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | base: BaseExecutor, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/executor/protocol/mod.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | Http(HttpProtocolModel), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolDataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 37 - Http(HttpProtocolModel), [INFO] [stdout] 37 + Http(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/executor/protocol/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Unknown(Value), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ProtocolDataType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 38 - Unknown(Value), [INFO] [stdout] 38 + Unknown(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `request`, `response`, and `options` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpProtocolModel { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 7 | request: HttpRequest, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | response: HttpResponse, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | options: HttpOptions, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpProtocolModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `url`, `method`, `headers`, `query_params`, and `body` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HttpRequest { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 14 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | method: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 17 | query_params: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | body: HttpRequestBodyDTO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `mode`, `json`, `form`, and `raw` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HttpRequestBodyDTO { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 23 | mode: HttpRequestBodyModeEnum, [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | json: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | form: HashMap, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | raw: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRequestBodyDTO` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status`, `headers`, and `body_asserts` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct HttpResponse { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 31 | status: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | headers: HashMap, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | body_asserts: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http_version`, `timeout_ms`, `retry`, `follow_redirects`, and `verify_ssl` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct HttpOptions { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 38 | http_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | timeout_ms: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 40 | retry: HttpRetry, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | follow_redirects: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | verify_ssl: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count` and `interval_ms` are never read [INFO] [stdout] --> src/executor/protocol/http.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpRetry { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 47 | count: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 48 | interval_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HttpRetry` 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 `parse_header` is never used [INFO] [stdout] --> src/cli/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_header(s: &str) -> Result<(String, String), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor/http.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut request_builder = self.client.request(reqwest::Method::GET, "x"); [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: `context` [INFO] [stdout] --> src/executor/mode/workflow.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | async fn execute(&self, context: Context) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/validator.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | result: &mut ExecutionResult, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/executor/http.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut request_builder = self.client.request(reqwest::Method::GET, "x"); [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: type `ProtocolDataType` is more private than the item `BaseProtocol::parse_data` [INFO] [stdout] --> src/executor/protocol/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BaseProtocol::parse_data` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolDataType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/executor/protocol/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | enum ProtocolDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header` is never used [INFO] [stdout] --> src/cli/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_header(s: &str) -> Result<(String, String), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProtocolConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ProtocolConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_yaml` is never used [INFO] [stdout] --> src/config/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_yaml(yaml: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> src/executor/mod.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait Executor: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutorFactory` is never constructed [INFO] [stdout] --> src/executor/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ExecutorFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_executor` are never used [INFO] [stdout] --> src/executor/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ExecutorFactory { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(middleware_registry: MiddlewareRegistry, config: config::Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_executor( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge_metadata` is never used [INFO] [stdout] --> src/executor/base.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BaseExecutor { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn merge_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpExecutor` is never constructed [INFO] [stdout] --> src/executor/http.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpExecutor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executor/http.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HttpExecutor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(base: BaseExecutor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketExecutor` is never constructed [INFO] [stdout] --> src/executor/websocket.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WebSocketExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `connect_websocket` are never used [INFO] [stdout] --> src/executor/websocket.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl WebSocketExecutor { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(base: BaseExecutor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | async fn connect_websocket( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModeParseResult` is never constructed [INFO] [stdout] --> src/executor/mode/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ModeParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mode` is never used [INFO] [stdout] --> src/executor/mode/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Mode: Send + Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn mode(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/executor/mode/workflow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WorkflowMode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | base: BaseExecutor, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParamDTO` is never constructed [INFO] [stdout] --> src/executor/protocol/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ParamDTO { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssertDTO` is never constructed [INFO] [stdout] --> src/executor/protocol/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AssertDTO { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProtocolDataType` is never used [INFO] [stdout] --> src/executor/protocol/mod.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum ProtocolDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_data` is never used [INFO] [stdout] --> src/executor/protocol/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl BaseProtocol { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 43 | pub fn parse_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpProtocolModel` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpProtocolModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequestBodyDTO` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HttpRequestBodyDTO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpResponse` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpOptions` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct HttpOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRetry` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpRetry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpRequestBodyModeEnum` is never used [INFO] [stdout] --> src/executor/protocol/http.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | enum HttpRequestBodyModeEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParamTypeEnum` is never used [INFO] [stdout] --> src/executor/enums/param_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ParamTypeEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssertTypeEnum` is never used [INFO] [stdout] --> src/executor/enums/assert.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AssertTypeEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssertOperatorEnum` is never used [INFO] [stdout] --> src/executor/enums/assert.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AssertOperatorEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MiddlewareType` is never used [INFO] [stdout] --> src/middleware/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MiddlewareType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `config` are never used [INFO] [stdout] --> src/middleware/traits.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Middleware: Send + Sync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn config(&self) -> Option<&HashMap>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timeout_secs`, `args`, `env_vars`, and `working_dir` are never read [INFO] [stdout] --> src/middleware/registry.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ExternalMiddlewareConfig { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 17 | pub path: PathBuf, [INFO] [stdout] 18 | pub timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub env_vars: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub working_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalMiddlewareConfig` 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 `get_middleware` and `get_middleware_names` are never used [INFO] [stdout] --> src/middleware/registry.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MiddlewareRegistry { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_middleware(&self, middleware_type: &MiddlewareType) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_middleware_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/middleware/builtin/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LoggerMiddleware { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 9 | config: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/middleware/builtin/validator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ValidatorMiddleware { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 9 | config: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/middleware/builtin/metrics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MetricsMiddleware { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | config: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleTransferMiddleware` is never constructed [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SingleTransferMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rejected` is never constructed [INFO] [stdout] --> src/middleware/external.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum ExternalMiddlewareError { [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Rejected(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalMiddlewareError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_config`, `with_timeout`, and `with_args` are never used [INFO] [stdout] --> src/middleware/external.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl ExternalMiddleware { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_config(mut self, config: ExternalMiddlewareConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_timeout(mut self, timeout_secs: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_args(mut self, args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/executor/mode/workflow.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | async fn execute(&self, context: Context) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/logger.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/validator.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | async fn before(&self, context: &mut Context) -> Result<(), anyhow::Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | result: &mut ExecutionResult, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | context: &Context, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `ProtocolDataType` is more private than the item `BaseProtocol::parse_data` [INFO] [stdout] --> src/executor/protocol/mod.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn parse_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `BaseProtocol::parse_data` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `ProtocolDataType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/executor/protocol/mod.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | enum ProtocolDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header` is never used [INFO] [stdout] --> src/cli/mod.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_header(s: &str) -> Result<(String, String), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProtocolConfig` is never constructed [INFO] [stdout] --> src/config/mod.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ProtocolConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_yaml` is never used [INFO] [stdout] --> src/config/mod.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_yaml(yaml: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executor` is never used [INFO] [stdout] --> src/executor/mod.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub trait Executor: Send + Sync { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutorFactory` is never constructed [INFO] [stdout] --> src/executor/mod.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub struct ExecutorFactory { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `create_executor` are never used [INFO] [stdout] --> src/executor/mod.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl ExecutorFactory { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 60 | pub fn new(middleware_registry: MiddlewareRegistry, config: config::Config) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub async fn create_executor( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge_metadata` is never used [INFO] [stdout] --> src/executor/base.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl BaseExecutor { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn merge_metadata( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpExecutor` is never constructed [INFO] [stdout] --> src/executor/http.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct HttpExecutor { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/executor/http.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl HttpExecutor { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 11 | pub fn new(base: BaseExecutor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `WebSocketExecutor` is never constructed [INFO] [stdout] --> src/executor/websocket.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct WebSocketExecutor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `connect_websocket` are never used [INFO] [stdout] --> src/executor/websocket.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl WebSocketExecutor { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn new(base: BaseExecutor) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | async fn connect_websocket( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModeParseResult` is never constructed [INFO] [stdout] --> src/executor/mode/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ModeParseResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mode` is never used [INFO] [stdout] --> src/executor/mode/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Mode: Send + Sync { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn mode(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base` is never read [INFO] [stdout] --> src/executor/mode/workflow.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct WorkflowMode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 7 | base: BaseExecutor, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParamDTO` is never constructed [INFO] [stdout] --> src/executor/protocol/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ParamDTO { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AssertDTO` is never constructed [INFO] [stdout] --> src/executor/protocol/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AssertDTO { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ProtocolDataType` is never used [INFO] [stdout] --> src/executor/protocol/mod.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | enum ProtocolDataType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_data` is never used [INFO] [stdout] --> src/executor/protocol/mod.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl BaseProtocol { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 43 | pub fn parse_data(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpProtocolModel` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct HttpProtocolModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequest` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct HttpRequest { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRequestBodyDTO` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct HttpRequestBodyDTO { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpResponse` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct HttpResponse { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpOptions` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | struct HttpOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HttpRetry` is never constructed [INFO] [stdout] --> src/executor/protocol/http.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | struct HttpRetry { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `HttpRequestBodyModeEnum` is never used [INFO] [stdout] --> src/executor/protocol/http.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | enum HttpRequestBodyModeEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParamTypeEnum` is never used [INFO] [stdout] --> src/executor/enums/param_type.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum ParamTypeEnum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssertTypeEnum` is never used [INFO] [stdout] --> src/executor/enums/assert.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum AssertTypeEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssertOperatorEnum` is never used [INFO] [stdout] --> src/executor/enums/assert.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum AssertOperatorEnum { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MiddlewareType` is never used [INFO] [stdout] --> src/middleware/mod.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum MiddlewareType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `config` are never used [INFO] [stdout] --> src/middleware/traits.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Middleware: Send + Sync { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 19 | fn name(&self) -> &str; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn config(&self) -> Option<&HashMap>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `timeout_secs`, `args`, `env_vars`, and `working_dir` are never read [INFO] [stdout] --> src/middleware/registry.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ExternalMiddlewareConfig { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 17 | pub path: PathBuf, [INFO] [stdout] 18 | pub timeout_secs: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 19 | pub args: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | pub env_vars: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 21 | pub working_dir: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalMiddlewareConfig` 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 `get_middleware` and `get_middleware_names` are never used [INFO] [stdout] --> src/middleware/registry.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl MiddlewareRegistry { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn get_middleware(&self, middleware_type: &MiddlewareType) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_middleware_names(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/middleware/builtin/logger.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct LoggerMiddleware { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 9 | config: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/middleware/builtin/validator.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ValidatorMiddleware { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 9 | config: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/middleware/builtin/metrics.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MetricsMiddleware { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 9 | config: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SingleTransferMiddleware` is never constructed [INFO] [stdout] --> src/middleware/builtin/single_transfer.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct SingleTransferMiddleware { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Rejected` is never constructed [INFO] [stdout] --> src/middleware/external.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub enum ExternalMiddlewareError { [INFO] [stdout] | ----------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 51 | Rejected(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExternalMiddlewareError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_config`, `with_timeout`, and `with_args` are never used [INFO] [stdout] --> src/middleware/external.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 88 | impl ExternalMiddleware { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_config(mut self, config: ExternalMiddlewareConfig) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_timeout(mut self, timeout_secs: u64) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn with_args(mut self, args: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.77s [INFO] running `Command { std: "docker" "inspect" "47ba885219ce532de3b26cd19664bbe0b7806f5e18af0fd24ca8da033aa64c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47ba885219ce532de3b26cd19664bbe0b7806f5e18af0fd24ca8da033aa64c9f", kill_on_drop: false }` [INFO] [stdout] 47ba885219ce532de3b26cd19664bbe0b7806f5e18af0fd24ca8da033aa64c9f