[INFO] fetching crate rspc-axum 0.3.0... [INFO] building rspc-axum-0.3.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rspc-axum 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate rspc-axum 0.3.0 [INFO] finished tweaking crates.io crate rspc-axum 0.3.0 [INFO] tweaked toml for crates.io crate rspc-axum 0.3.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rspc-axum 0.3.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rspc-axum 0.3.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.24.0 [INFO] [stderr] Downloaded hyper v1.5.2 [INFO] [stderr] Downloaded tower v0.5.1 [INFO] [stderr] Downloaded axum-core v0.4.5 [INFO] [stderr] Downloaded rspc-procedure v0.0.1 [INFO] [stderr] Downloaded axum v0.7.9 [INFO] [stderr] Downloaded syn v2.0.92 [INFO] [stderr] Downloaded tungstenite v0.24.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79d8368d38562d66559b6650108f4be34588fa241a0fe6c108c159d009490301 [INFO] running `Command { std: "docker" "start" "-a" "79d8368d38562d66559b6650108f4be34588fa241a0fe6c108c159d009490301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79d8368d38562d66559b6650108f4be34588fa241a0fe6c108c159d009490301", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79d8368d38562d66559b6650108f4be34588fa241a0fe6c108c159d009490301", kill_on_drop: false }` [INFO] [stdout] 79d8368d38562d66559b6650108f4be34588fa241a0fe6c108c159d009490301 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b075d72cb0f4f783ae4fa69682dae9a1808c3625c9806af6e24618fe7810c88 [INFO] running `Command { std: "docker" "start" "-a" "7b075d72cb0f4f783ae4fa69682dae9a1808c3625c9806af6e24618fe7810c88", kill_on_drop: false }` [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling syn v2.0.92 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling rspc-procedure v0.0.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling rspc-axum v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ProcedureStream` and `Procedure` [INFO] [stdout] --> src/request.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use rspc_procedure::{Procedure, ProcedureStream}; [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: `serde::Deserializer` [INFO] [stdout] --> src/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/v2.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RequestExt` and `request::Parts` [INFO] [stdout] --> src/v2.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | http::{request::Parts, Method, Response, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | RequestExt, Router, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Procedure` [INFO] [stdout] --> src/v2.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rspc_procedure::{Procedure, Procedures}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_body` [INFO] [stdout] --> src/request.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let has_body = hint.lower() != 0 || hint.upper() != Some(0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/request.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | async fn from_request(req: Request, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Subscription` is never constructed [INFO] [stdout] --> src/jsonrpc.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum ProcedureKind { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Subscription, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureKind` 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: method `to_str` is never used [INFO] [stdout] --> src/jsonrpc.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl ProcedureKind { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 72 | pub fn to_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ref` and `Mutex` are never constructed [INFO] [stdout] --> src/jsonrpc_exec.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum SubscriptionMap<'a> { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 15 | Ref(&'a mut HashMap>), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Mutex(&'a Mutex>>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Channel`, `ResponseChannel`, and `Broadcast` are never constructed [INFO] [stdout] --> src/jsonrpc_exec.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Sender<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 60 | Channel(&'a mut mpsc::Sender), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | ResponseChannel(&'a mut mpsc::UnboundedSender), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | Broadcast(&'a broadcast::Sender), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.91s [INFO] running `Command { std: "docker" "inspect" "7b075d72cb0f4f783ae4fa69682dae9a1808c3625c9806af6e24618fe7810c88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b075d72cb0f4f783ae4fa69682dae9a1808c3625c9806af6e24618fe7810c88", kill_on_drop: false }` [INFO] [stdout] 7b075d72cb0f4f783ae4fa69682dae9a1808c3625c9806af6e24618fe7810c88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7ff9895c1c7ca4dda42061c5129b6be15c99b2f327f5dedca6ff43fa16e27861 [INFO] running `Command { std: "docker" "start" "-a" "7ff9895c1c7ca4dda42061c5129b6be15c99b2f327f5dedca6ff43fa16e27861", kill_on_drop: false }` [INFO] [stdout] warning: unused imports: `ProcedureStream` and `Procedure` [INFO] [stdout] --> src/request.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use rspc_procedure::{Procedure, ProcedureStream}; [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: `serde::Deserializer` [INFO] [stdout] --> src/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/v2.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RequestExt` and `request::Parts` [INFO] [stdout] --> src/v2.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | http::{request::Parts, Method, Response, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | RequestExt, Router, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Procedure` [INFO] [stdout] --> src/v2.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rspc_procedure::{Procedure, Procedures}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_body` [INFO] [stdout] --> src/request.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let has_body = hint.lower() != 0 || hint.upper() != Some(0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/request.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | async fn from_request(req: Request, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Subscription` is never constructed [INFO] [stdout] --> src/jsonrpc.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum ProcedureKind { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Subscription, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureKind` 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: method `to_str` is never used [INFO] [stdout] --> src/jsonrpc.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl ProcedureKind { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 72 | pub fn to_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ref` and `Mutex` are never constructed [INFO] [stdout] --> src/jsonrpc_exec.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum SubscriptionMap<'a> { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 15 | Ref(&'a mut HashMap>), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Mutex(&'a Mutex>>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Channel`, `ResponseChannel`, and `Broadcast` are never constructed [INFO] [stdout] --> src/jsonrpc_exec.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Sender<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 60 | Channel(&'a mut mpsc::Sender), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | ResponseChannel(&'a mut mpsc::UnboundedSender), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | Broadcast(&'a broadcast::Sender), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rspc-axum v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ProcedureStream` and `Procedure` [INFO] [stdout] --> src/request.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | use rspc_procedure::{Procedure, ProcedureStream}; [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: `serde::Deserializer` [INFO] [stdout] --> src/request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/v2.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::Borrow, collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RequestExt` and `request::Parts` [INFO] [stdout] --> src/v2.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | http::{request::Parts, Method, Response, StatusCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | RequestExt, Router, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Procedure` [INFO] [stdout] --> src/v2.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | use rspc_procedure::{Procedure, Procedures}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `has_body` [INFO] [stdout] --> src/request.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let has_body = hint.lower() != 0 || hint.upper() != Some(0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_has_body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/request.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | async fn from_request(req: Request, state: &S) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Subscription` is never constructed [INFO] [stdout] --> src/jsonrpc.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub enum ProcedureKind { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | Subscription, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ProcedureKind` 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: method `to_str` is never used [INFO] [stdout] --> src/jsonrpc.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl ProcedureKind { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 72 | pub fn to_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ref` and `Mutex` are never constructed [INFO] [stdout] --> src/jsonrpc_exec.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum SubscriptionMap<'a> { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 15 | Ref(&'a mut HashMap>), [INFO] [stdout] | ^^^ [INFO] [stdout] 16 | Mutex(&'a Mutex>>), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Channel`, `ResponseChannel`, and `Broadcast` are never constructed [INFO] [stdout] --> src/jsonrpc_exec.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub enum Sender<'a> { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 60 | Channel(&'a mut mpsc::Sender), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 61 | ResponseChannel(&'a mut mpsc::UnboundedSender), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 62 | Broadcast(&'a broadcast::Sender), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `Command { std: "docker" "inspect" "7ff9895c1c7ca4dda42061c5129b6be15c99b2f327f5dedca6ff43fa16e27861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff9895c1c7ca4dda42061c5129b6be15c99b2f327f5dedca6ff43fa16e27861", kill_on_drop: false }` [INFO] [stdout] 7ff9895c1c7ca4dda42061c5129b6be15c99b2f327f5dedca6ff43fa16e27861