[INFO] cloning repository https://github.com/thanos/rs-clickhouse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thanos/rs-clickhouse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanos%2Frs-clickhouse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanos%2Frs-clickhouse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 731e1f1e68269602cdb51b98e389cffa14cc4afc [INFO] building thanos/rs-clickhouse against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthanos%2Frs-clickhouse" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thanos/rs-clickhouse [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/thanos/rs-clickhouse [INFO] tweaked toml for git repo https://github.com/thanos/rs-clickhouse written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thanos/rs-clickhouse 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 git repo https://github.com/thanos/rs-clickhouse 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 u256 v0.1.0 [INFO] [stderr] Downloaded postcard v1.1.3 [INFO] [stderr] Downloaded lz4 v1.28.1 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded tokio-io-timeout v1.2.1 [INFO] [stderr] Downloaded i256 v0.1.2 [INFO] [stderr] Downloaded tonic v0.10.2 [INFO] [stderr] Downloaded lz4-sys v1.11.1+lz4-1.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] cd17426a97ac6e0e66da943c074bbf865ecaf6e298b288e83ba09f7aeed3bfa9 [INFO] running `Command { std: "docker" "start" "-a" "cd17426a97ac6e0e66da943c074bbf865ecaf6e298b288e83ba09f7aeed3bfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd17426a97ac6e0e66da943c074bbf865ecaf6e298b288e83ba09f7aeed3bfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd17426a97ac6e0e66da943c074bbf865ecaf6e298b288e83ba09f7aeed3bfa9", kill_on_drop: false }` [INFO] [stdout] cd17426a97ac6e0e66da943c074bbf865ecaf6e298b288e83ba09f7aeed3bfa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 149bcffbf11d469bd3d31c4d0eb7010f3a98ab3edcd88b9264cb58c1ac5efd17 [INFO] running `Command { std: "docker" "start" "-a" "149bcffbf11d469bd3d31c4d0eb7010f3a98ab3edcd88b9264cb58c1ac5efd17", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling i256 v0.1.2 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling u256 v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zstd v0.12.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Compiling prost-types v0.12.6 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling clickhouse-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `QueryMetadata` and `QueryStats` [INFO] [stdout] --> src/client/connection.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::client::{QueryResult, QuerySettings, QueryMetadata, QueryStats}; [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: `tungstenite::Message` [INFO] [stdout] --> src/client/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tungstenite::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/client/query.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/client/grpc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response`, and `Status` [INFO] [stdout] --> src/client/grpc.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use tonic::{transport::Channel, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `timeout` [INFO] [stdout] --> src/client/grpc.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{timeout, Duration}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/client/metrics.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime as ChronoDateTime` [INFO] [stdout] --> src/types/datetime.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime as ChronoDateTime, Datelike, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/types/lowcardinality.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/types/decimal.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Sub, Mul, Div, Neg}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed_string::*` [INFO] [stdout] --> src/types/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use fixed_string::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decimal::*` [INFO] [stdout] --> src/types/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use decimal::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/protocol/client_hello.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/protocol/client_data.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/protocol/server_progress.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/protocol/server_pong.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Value` [INFO] [stdout] --> src/protocol/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::types::{Block, Value}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, and `BytesMut` [INFO] [stdout] --> src/compression/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/connection.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | settings: QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn query(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/client/grpc.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | params: HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn execute(&mut self, sql: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/client/grpc.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | params: HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/client/grpc.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn insert(&mut self, table: &str, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/client/grpc.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn insert(&mut self, table: &str, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/client/grpc.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | table: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/client/grpc.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | block: Block, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_error` is never read [INFO] [stdout] --> src/client/retry.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut last_error = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `i256::I256::min_value` [INFO] [stdout] --> src/types/numeric.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | Int256(i256::I256::min_value()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/protocol/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | use bytes::{BytesMut, BufMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/types/mod.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | (ColumnData::LowCardinality(v), Value::LowCardinality(val)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types/mod.rs:398:67 [INFO] [stdout] | [INFO] [stdout] 398 | (ColumnData::LowCardinality(v), Value::LowCardinality(val)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_pool_metrics` and `update_load_balancer_metrics` are never used [INFO] [stdout] --> src/client/mod.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | async fn update_pool_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | async fn update_load_balancer_metrics(&self) { [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 `RetryContext` is never constructed [INFO] [stdout] --> src/client/retry.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct RetryContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `can_retry`, `increment_attempt`, `record_error`, and `stats` are never used [INFO] [stdout] --> src/client/retry.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl RetryContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 224 | /// Create a new retry context [INFO] [stdout] 225 | pub fn new(max_attempts: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn can_retry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn increment_attempt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn record_error(&mut self, error: Error) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn stats(&self) -> RetryStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryStats` is never constructed [INFO] [stdout] --> src/client/retry.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct RetryStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `failure_threshold` and `success_threshold` are never read [INFO] [stdout] --> src/client/load_balancer.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct HealthCheckConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 153 | pub failure_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | /// Number of consecutive successes before marking server as healthy [INFO] [stdout] 155 | pub success_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthCheckConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_SIZE` is never used [INFO] [stdout] --> src/client/metrics.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | pub const CONNECTION_POOL_SIZE: &str = "connection_pool_size"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_ACTIVE` is never used [INFO] [stdout] --> src/client/metrics.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | pub const CONNECTION_POOL_ACTIVE: &str = "connection_pool_active"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_IDLE` is never used [INFO] [stdout] --> src/client/metrics.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | pub const CONNECTION_POOL_IDLE: &str = "connection_pool_idle"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_WAIT_TIME` is never used [INFO] [stdout] --> src/client/metrics.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | pub const CONNECTION_POOL_WAIT_TIME: &str = "connection_pool_wait_time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_DURATION` is never used [INFO] [stdout] --> src/client/metrics.rs:448:15 [INFO] [stdout] | [INFO] [stdout] 448 | pub const QUERY_DURATION: &str = "query_duration_seconds"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_SUCCESS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:449:15 [INFO] [stdout] | [INFO] [stdout] 449 | pub const QUERY_SUCCESS_TOTAL: &str = "query_success_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_FAILURE_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:450:15 [INFO] [stdout] | [INFO] [stdout] 450 | pub const QUERY_FAILURE_TOTAL: &str = "query_failure_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_ROWS_PROCESSED` is never used [INFO] [stdout] --> src/client/metrics.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | pub const QUERY_ROWS_PROCESSED: &str = "query_rows_processed"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_CONNECTIONS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:454:15 [INFO] [stdout] | [INFO] [stdout] 454 | pub const NETWORK_CONNECTIONS_TOTAL: &str = "network_connections_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_BYTES_SENT` is never used [INFO] [stdout] --> src/client/metrics.rs:455:15 [INFO] [stdout] | [INFO] [stdout] 455 | pub const NETWORK_BYTES_SENT: &str = "network_bytes_sent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_BYTES_RECEIVED` is never used [INFO] [stdout] --> src/client/metrics.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | pub const NETWORK_BYTES_RECEIVED: &str = "network_bytes_received"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVERS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | pub const LOAD_BALANCER_SERVERS_TOTAL: &str = "load_balancer_servers_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVERS_HEALTHY` is never used [INFO] [stdout] --> src/client/metrics.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 460 | pub const LOAD_BALANCER_SERVERS_HEALTHY: &str = "load_balancer_servers_healthy"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVER_RESPONSE_TIME` is never used [INFO] [stdout] --> src/client/metrics.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 461 | pub const LOAD_BALANCER_SERVER_RESPONSE_TIME: &str = "load_balancer_server_response_time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn rows(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn rows(&self) -> RowIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn columns(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn columns(&self) -> std::slice::Iter<'_, Column> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | pub fn iter(&self) -> std::slice::Iter<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn keys(&self) -> std::collections::hash_map::Keys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | pub fn keys(&self) -> std::collections::hash_map::Keys<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn values(&self) -> std::collections::hash_map::Values { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 299 | pub fn values(&self) -> std::collections::hash_map::Values<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 304 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn iter_mut(&mut self) -> std::collections::hash_map::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn iter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/lowcardinality.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn iter(&self) -> LowCardinalityIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn iter(&self) -> LowCardinalityIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "149bcffbf11d469bd3d31c4d0eb7010f3a98ab3edcd88b9264cb58c1ac5efd17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149bcffbf11d469bd3d31c4d0eb7010f3a98ab3edcd88b9264cb58c1ac5efd17", kill_on_drop: false }` [INFO] [stdout] 149bcffbf11d469bd3d31c4d0eb7010f3a98ab3edcd88b9264cb58c1ac5efd17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9e2c50a9bf45f8f7e0e366d90265dad1cc8f9481610f0633052b7988ec48ff9f [INFO] running `Command { std: "docker" "start" "-a" "9e2c50a9bf45f8f7e0e366d90265dad1cc8f9481610f0633052b7988ec48ff9f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-io-timeout v1.2.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling tonic v0.10.2 [INFO] [stderr] Compiling clickhouse-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `QueryMetadata` and `QueryStats` [INFO] [stdout] --> src/client/connection.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::client::{QueryResult, QuerySettings, QueryMetadata, QueryStats}; [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: `tungstenite::Message` [INFO] [stdout] --> src/client/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tungstenite::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/client/query.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/client/grpc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response`, and `Status` [INFO] [stdout] --> src/client/grpc.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use tonic::{transport::Channel, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `timeout` [INFO] [stdout] --> src/client/grpc.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{timeout, Duration}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/client/metrics.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime as ChronoDateTime` [INFO] [stdout] --> src/types/datetime.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime as ChronoDateTime, Datelike, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/types/lowcardinality.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/types/decimal.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Sub, Mul, Div, Neg}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed_string::*` [INFO] [stdout] --> src/types/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use fixed_string::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decimal::*` [INFO] [stdout] --> src/types/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use decimal::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/protocol/client_hello.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/protocol/client_data.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/protocol/server_progress.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/protocol/server_pong.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Value` [INFO] [stdout] --> src/protocol/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::types::{Block, Value}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, and `BytesMut` [INFO] [stdout] --> src/compression/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/connection.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | settings: QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn query(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/client/grpc.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | params: HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn execute(&mut self, sql: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/client/grpc.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | params: HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/client/grpc.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn insert(&mut self, table: &str, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/client/grpc.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn insert(&mut self, table: &str, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/client/grpc.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | table: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/client/grpc.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | block: Block, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_error` is never read [INFO] [stdout] --> src/client/retry.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut last_error = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `i256::I256::min_value` [INFO] [stdout] --> src/types/numeric.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | Int256(i256::I256::min_value()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufMut` [INFO] [stdout] --> src/protocol/mod.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | use bytes::{BytesMut, BufMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QueryMetadata` and `QueryStats` [INFO] [stdout] --> src/client/connection.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::client::{QueryResult, QuerySettings, QueryMetadata, QueryStats}; [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: `tungstenite::Message` [INFO] [stdout] --> src/client/connection.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use tungstenite::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/client/query.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> src/client/grpc.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Request`, `Response`, and `Status` [INFO] [stdout] --> src/client/grpc.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use tonic::{transport::Channel, Request, Response, Status}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `timeout` [INFO] [stdout] --> src/client/grpc.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::time::{timeout, Duration}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime as ChronoDateTime` [INFO] [stdout] --> src/types/datetime.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime as ChronoDateTime, Datelike, NaiveDate, NaiveDateTime, NaiveTime, TimeZone, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/types/lowcardinality.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/types/enum_types.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `Mul` [INFO] [stdout] --> src/types/decimal.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Add, Sub, Mul, Div, Neg}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fixed_string::*` [INFO] [stdout] --> src/types/mod.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub use fixed_string::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decimal::*` [INFO] [stdout] --> src/types/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use decimal::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/protocol/client_hello.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/protocol/client_data.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/protocol/client_data.rs:209:51 [INFO] [stdout] | [INFO] [stdout] 209 | use crate::types::{Block, Column, ColumnData, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/protocol/server_progress.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/protocol/server_pong.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block` and `Value` [INFO] [stdout] --> src/protocol/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::types::{Block, Value}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufMut`, `Buf`, and `BytesMut` [INFO] [stdout] --> src/compression/mod.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/types/mod.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | (ColumnData::LowCardinality(v), Value::LowCardinality(val)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types/mod.rs:398:67 [INFO] [stdout] | [INFO] [stdout] 398 | (ColumnData::LowCardinality(v), Value::LowCardinality(val)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/connection.rs:256:9 [INFO] [stdout] | [INFO] [stdout] 256 | settings: QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn query(&mut self, sql: &str) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/client/grpc.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | params: HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | pub async fn execute(&mut self, sql: &str) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/client/grpc.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | params: HashMap, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sql` [INFO] [stdout] --> src/client/grpc.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | sql: &str, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sql` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/client/grpc.rs:158:36 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn insert(&mut self, table: &str, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/client/grpc.rs:158:49 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn insert(&mut self, table: &str, block: Block) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table` [INFO] [stdout] --> src/client/grpc.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | table: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> src/client/grpc.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | block: Block, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> src/client/grpc.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | settings: crate::client::QuerySettings, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_error` is never read [INFO] [stdout] --> src/client/retry.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let mut last_error = None; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_pool_metrics` and `update_load_balancer_metrics` are never used [INFO] [stdout] --> src/client/mod.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | async fn update_pool_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | async fn update_load_balancer_metrics(&self) { [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 `RetryContext` is never constructed [INFO] [stdout] --> src/client/retry.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct RetryContext { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `can_retry`, `increment_attempt`, `record_error`, and `stats` are never used [INFO] [stdout] --> src/client/retry.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl RetryContext { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 224 | /// Create a new retry context [INFO] [stdout] 225 | pub fn new(max_attempts: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn can_retry(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | pub fn increment_attempt(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn record_error(&mut self, error: Error) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn stats(&self) -> RetryStats { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RetryStats` is never constructed [INFO] [stdout] --> src/client/retry.rs:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct RetryStats { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `failure_threshold` and `success_threshold` are never read [INFO] [stdout] --> src/client/load_balancer.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 145 | pub struct HealthCheckConfig { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 153 | pub failure_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 154 | /// Number of consecutive successes before marking server as healthy [INFO] [stdout] 155 | pub success_threshold: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthCheckConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_SIZE` is never used [INFO] [stdout] --> src/client/metrics.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | pub const CONNECTION_POOL_SIZE: &str = "connection_pool_size"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_ACTIVE` is never used [INFO] [stdout] --> src/client/metrics.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | pub const CONNECTION_POOL_ACTIVE: &str = "connection_pool_active"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_IDLE` is never used [INFO] [stdout] --> src/client/metrics.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | pub const CONNECTION_POOL_IDLE: &str = "connection_pool_idle"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_WAIT_TIME` is never used [INFO] [stdout] --> src/client/metrics.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | pub const CONNECTION_POOL_WAIT_TIME: &str = "connection_pool_wait_time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_DURATION` is never used [INFO] [stdout] --> src/client/metrics.rs:448:15 [INFO] [stdout] | [INFO] [stdout] 448 | pub const QUERY_DURATION: &str = "query_duration_seconds"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_SUCCESS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:449:15 [INFO] [stdout] | [INFO] [stdout] 449 | pub const QUERY_SUCCESS_TOTAL: &str = "query_success_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_FAILURE_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:450:15 [INFO] [stdout] | [INFO] [stdout] 450 | pub const QUERY_FAILURE_TOTAL: &str = "query_failure_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_ROWS_PROCESSED` is never used [INFO] [stdout] --> src/client/metrics.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | pub const QUERY_ROWS_PROCESSED: &str = "query_rows_processed"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_CONNECTIONS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:454:15 [INFO] [stdout] | [INFO] [stdout] 454 | pub const NETWORK_CONNECTIONS_TOTAL: &str = "network_connections_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_BYTES_SENT` is never used [INFO] [stdout] --> src/client/metrics.rs:455:15 [INFO] [stdout] | [INFO] [stdout] 455 | pub const NETWORK_BYTES_SENT: &str = "network_bytes_sent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_BYTES_RECEIVED` is never used [INFO] [stdout] --> src/client/metrics.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | pub const NETWORK_BYTES_RECEIVED: &str = "network_bytes_received"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVERS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | pub const LOAD_BALANCER_SERVERS_TOTAL: &str = "load_balancer_servers_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVERS_HEALTHY` is never used [INFO] [stdout] --> src/client/metrics.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 460 | pub const LOAD_BALANCER_SERVERS_HEALTHY: &str = "load_balancer_servers_healthy"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVER_RESPONSE_TIME` is never used [INFO] [stdout] --> src/client/metrics.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 461 | pub const LOAD_BALANCER_SERVER_RESPONSE_TIME: &str = "load_balancer_server_response_time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn rows(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn rows(&self) -> RowIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn columns(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn columns(&self) -> std::slice::Iter<'_, Column> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | pub fn iter(&self) -> std::slice::Iter<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn keys(&self) -> std::collections::hash_map::Keys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | pub fn keys(&self) -> std::collections::hash_map::Keys<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn values(&self) -> std::collections::hash_map::Values { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 299 | pub fn values(&self) -> std::collections::hash_map::Values<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 304 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn iter_mut(&mut self) -> std::collections::hash_map::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn iter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/lowcardinality.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn iter(&self) -> LowCardinalityIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn iter(&self) -> LowCardinalityIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `i256::I256::min_value` [INFO] [stdout] --> src/types/numeric.rs:624:28 [INFO] [stdout] | [INFO] [stdout] 624 | Int256(i256::I256::min_value()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/types/network.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoadBalancingStrategy` [INFO] [stdout] --> tests/advanced_features_tests.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | Client, ClientOptions, RetryConfig, RetryStrategy, LoadBalancingStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/advanced_features_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_result` [INFO] [stdout] --> src/client/grpc.rs:322:13 [INFO] [stdout] | [INFO] [stdout] 322 | let connect_result = client.connect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> tests/grpc_tests.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_rs::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/advanced_features_tests.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(health.pool_stats.total_connections >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> tests/integration_tests.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | use clickhouse_rs::error::{Error, Result}; [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: `clickhouse_rs::types::Column` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clickhouse_rs::types::Column; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> tests/grpc_tests.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_rs::error::{Error, Result}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LoadBalancingStrategy` [INFO] [stdout] --> tests/advanced_features_tests.rs:4:56 [INFO] [stdout] | [INFO] [stdout] 4 | Client, ClientOptions, RetryConfig, RetryStrategy, LoadBalancingStrategy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> tests/advanced_features_tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clickhouse_rs::types::Column` [INFO] [stdout] --> tests/common/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clickhouse_rs::types::Column; [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 variable: `result` [INFO] [stdout] --> src/client/grpc.rs:569:13 [INFO] [stdout] | [INFO] [stdout] 569 | let result = client.reset().await; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `numbers0` [INFO] [stdout] --> tests/unit_tests.rs:485:9 [INFO] [stdout] | [INFO] [stdout] 485 | let numbers0 = row0.get(0).and_then(|v| v.as_ref()).expect("Should have numbers value"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_numbers0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metadata0` [INFO] [stdout] --> tests/unit_tests.rs:525:9 [INFO] [stdout] | [INFO] [stdout] 525 | let metadata0 = row0.get(0).and_then(|v| v.as_ref()).expect("Should have metadata value"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metadata0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> tests/common/mod.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | expected: T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_HOST` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const TEST_HOST: &str = "localhost"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_PORT` is never used [INFO] [stdout] --> tests/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const TEST_PORT: u16 = 9000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_HTTP_PORT` is never used [INFO] [stdout] --> tests/common/mod.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const TEST_HTTP_PORT: u16 = 8123; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_DATABASE` is never used [INFO] [stdout] --> tests/common/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TEST_DATABASE: &str = "default"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_USER` is never used [INFO] [stdout] --> tests/common/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const TEST_USER: &str = "default"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_PASSWORD` is never used [INFO] [stdout] --> tests/common/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const TEST_PASSWORD: &str = "clickhouse"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_client` is never used [INFO] [stdout] --> tests/common/mod.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | pub async fn create_test_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_http_client` is never used [INFO] [stdout] --> tests/common/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn create_test_http_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_websocket_client` is never used [INFO] [stdout] --> tests/common/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_test_websocket_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_clickhouse_available` is never used [INFO] [stdout] --> tests/common/mod.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn is_clickhouse_available() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wait_for_clickhouse` is never used [INFO] [stdout] --> tests/common/mod.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | pub async fn wait_for_clickhouse(max_attempts: u32, delay_ms: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_block` is never used [INFO] [stdout] --> tests/common/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create_test_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mixed_type_block` is never used [INFO] [stdout] --> tests/common/mod.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn create_mixed_type_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_nullable_block` is never used [INFO] [stdout] --> tests/common/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn create_nullable_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_array_block` is never used [INFO] [stdout] --> tests/common/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn create_array_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_map_block` is never used [INFO] [stdout] --> tests/common/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn create_map_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_block_structure` is never used [INFO] [stdout] --> tests/common/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn assert_block_structure(block: &Block, expected_rows: usize, expected_columns: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_block_has_column` is never used [INFO] [stdout] --> tests/common/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn assert_block_has_column(block: &Block, column_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_value_matches` is never used [INFO] [stdout] --> tests/common/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn assert_value_matches( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_row_length` is never used [INFO] [stdout] --> tests/common/mod.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn assert_row_length(row: &clickhouse_rs::types::Row, expected_length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_result` [INFO] [stdout] --> tests/grpc_tests.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let connect_result = client.connect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> tests/common/mod.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | expected: T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect_result` [INFO] [stdout] --> tests/grpc_tests.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let connect_result = client.connect().await; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_websocket_client` is never used [INFO] [stdout] --> tests/common/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn create_test_websocket_client() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_block` is never used [INFO] [stdout] --> tests/common/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn create_test_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mixed_type_block` is never used [INFO] [stdout] --> tests/common/mod.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn create_mixed_type_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_nullable_block` is never used [INFO] [stdout] --> tests/common/mod.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn create_nullable_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_array_block` is never used [INFO] [stdout] --> tests/common/mod.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn create_array_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_map_block` is never used [INFO] [stdout] --> tests/common/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn create_map_block() -> Block { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_block_structure` is never used [INFO] [stdout] --> tests/common/mod.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn assert_block_structure(block: &Block, expected_rows: usize, expected_columns: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_block_has_column` is never used [INFO] [stdout] --> tests/common/mod.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn assert_block_has_column(block: &Block, column_name: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_value_matches` is never used [INFO] [stdout] --> tests/common/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn assert_value_matches( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assert_row_length` is never used [INFO] [stdout] --> tests/common/mod.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn assert_row_length(row: &clickhouse_rs::types::Row, expected_length: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> tests/advanced_features_tests.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | assert!(health.pool_stats.total_connections >= 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/types/mod.rs:398:41 [INFO] [stdout] | [INFO] [stdout] 398 | (ColumnData::LowCardinality(v), Value::LowCardinality(val)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/types/mod.rs:398:67 [INFO] [stdout] | [INFO] [stdout] 398 | (ColumnData::LowCardinality(v), Value::LowCardinality(val)) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_pool_metrics` and `update_load_balancer_metrics` are never used [INFO] [stdout] --> src/client/mod.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 39 | impl Client { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 339 | async fn update_pool_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 349 | async fn update_load_balancer_metrics(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_error` is never read [INFO] [stdout] --> src/client/retry.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct RetryContext { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | pub last_error: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetryContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `record_error` is never used [INFO] [stdout] --> src/client/retry.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 223 | impl RetryContext { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn record_error(&mut self, error: Error) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_retry_time` is never read [INFO] [stdout] --> src/client/retry.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 266 | pub struct RetryStats { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 272 | pub total_retry_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetryStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_SIZE` is never used [INFO] [stdout] --> src/client/metrics.rs:442:15 [INFO] [stdout] | [INFO] [stdout] 442 | pub const CONNECTION_POOL_SIZE: &str = "connection_pool_size"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_ACTIVE` is never used [INFO] [stdout] --> src/client/metrics.rs:443:15 [INFO] [stdout] | [INFO] [stdout] 443 | pub const CONNECTION_POOL_ACTIVE: &str = "connection_pool_active"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_IDLE` is never used [INFO] [stdout] --> src/client/metrics.rs:444:15 [INFO] [stdout] | [INFO] [stdout] 444 | pub const CONNECTION_POOL_IDLE: &str = "connection_pool_idle"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONNECTION_POOL_WAIT_TIME` is never used [INFO] [stdout] --> src/client/metrics.rs:445:15 [INFO] [stdout] | [INFO] [stdout] 445 | pub const CONNECTION_POOL_WAIT_TIME: &str = "connection_pool_wait_time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_DURATION` is never used [INFO] [stdout] --> src/client/metrics.rs:448:15 [INFO] [stdout] | [INFO] [stdout] 448 | pub const QUERY_DURATION: &str = "query_duration_seconds"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_SUCCESS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:449:15 [INFO] [stdout] | [INFO] [stdout] 449 | pub const QUERY_SUCCESS_TOTAL: &str = "query_success_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_FAILURE_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:450:15 [INFO] [stdout] | [INFO] [stdout] 450 | pub const QUERY_FAILURE_TOTAL: &str = "query_failure_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `QUERY_ROWS_PROCESSED` is never used [INFO] [stdout] --> src/client/metrics.rs:451:15 [INFO] [stdout] | [INFO] [stdout] 451 | pub const QUERY_ROWS_PROCESSED: &str = "query_rows_processed"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_CONNECTIONS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:454:15 [INFO] [stdout] | [INFO] [stdout] 454 | pub const NETWORK_CONNECTIONS_TOTAL: &str = "network_connections_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_BYTES_SENT` is never used [INFO] [stdout] --> src/client/metrics.rs:455:15 [INFO] [stdout] | [INFO] [stdout] 455 | pub const NETWORK_BYTES_SENT: &str = "network_bytes_sent"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NETWORK_BYTES_RECEIVED` is never used [INFO] [stdout] --> src/client/metrics.rs:456:15 [INFO] [stdout] | [INFO] [stdout] 456 | pub const NETWORK_BYTES_RECEIVED: &str = "network_bytes_received"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVERS_TOTAL` is never used [INFO] [stdout] --> src/client/metrics.rs:459:15 [INFO] [stdout] | [INFO] [stdout] 459 | pub const LOAD_BALANCER_SERVERS_TOTAL: &str = "load_balancer_servers_total"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVERS_HEALTHY` is never used [INFO] [stdout] --> src/client/metrics.rs:460:15 [INFO] [stdout] | [INFO] [stdout] 460 | pub const LOAD_BALANCER_SERVERS_HEALTHY: &str = "load_balancer_servers_healthy"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOAD_BALANCER_SERVER_RESPONSE_TIME` is never used [INFO] [stdout] --> src/client/metrics.rs:461:15 [INFO] [stdout] | [INFO] [stdout] 461 | pub const LOAD_BALANCER_SERVER_RESPONSE_TIME: &str = "load_balancer_server_response_time"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn rows(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 119 | pub fn rows(&self) -> RowIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/mod.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn columns(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 127 | pub fn columns(&self) -> std::slice::Iter<'_, Column> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> std::slice::Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 95 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:232:17 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 232 | pub fn iter(&self) -> std::slice::Iter<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn iter_mut(&mut self) -> std::slice::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | pub fn iter_mut(&mut self) -> std::slice::IterMut<'_, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:294:17 [INFO] [stdout] | [INFO] [stdout] 294 | pub fn keys(&self) -> std::collections::hash_map::Keys { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 294 | pub fn keys(&self) -> std::collections::hash_map::Keys<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:299:19 [INFO] [stdout] | [INFO] [stdout] 299 | pub fn values(&self) -> std::collections::hash_map::Values { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 299 | pub fn values(&self) -> std::collections::hash_map::Values<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn iter(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 304 | pub fn iter(&self) -> std::collections::hash_map::Iter<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/complex.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn iter_mut(&mut self) -> std::collections::hash_map::IterMut { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 309 | pub fn iter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Value> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types/lowcardinality.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn iter(&self) -> LowCardinalityIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 159 | pub fn iter(&self) -> LowCardinalityIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "9e2c50a9bf45f8f7e0e366d90265dad1cc8f9481610f0633052b7988ec48ff9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2c50a9bf45f8f7e0e366d90265dad1cc8f9481610f0633052b7988ec48ff9f", kill_on_drop: false }` [INFO] [stdout] 9e2c50a9bf45f8f7e0e366d90265dad1cc8f9481610f0633052b7988ec48ff9f