[INFO] fetching crate ydb 0.4.0... [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] crate ydb 0.4.0 is already in cache [INFO] checking ydb-0.4.0 against try#7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e for pr-99880 [INFO] extracting crate ydb 0.4.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ydb 0.4.0 on toolchain 7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ydb 0.4.0 [INFO] finished tweaking crates.io crate ydb 0.4.0 [INFO] tweaked toml for crates.io crate ydb 0.4.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate ydb 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cc79e8abe0019ba817e1cf9524ae482238a468cb2e98a56a405c0945deed714 [INFO] running `Command { std: "docker" "start" "-a" "8cc79e8abe0019ba817e1cf9524ae482238a468cb2e98a56a405c0945deed714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cc79e8abe0019ba817e1cf9524ae482238a468cb2e98a56a405c0945deed714", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cc79e8abe0019ba817e1cf9524ae482238a468cb2e98a56a405c0945deed714", kill_on_drop: false }` [INFO] [stdout] 8cc79e8abe0019ba817e1cf9524ae482238a468cb2e98a56a405c0945deed714 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+7b91cbfbcf4c73b95e666e0f8972d2f7262ce27e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b8897d3ac28f186073f89579596a48143a860a9d8e457b5e411c53bc73237d4 [INFO] running `Command { std: "docker" "start" "-a" "0b8897d3ac28f186073f89579596a48143a860a9d8e457b5e411c53bc73237d4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking predicates-core v1.0.3 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling ydb-grpc-helpers v0.0.7 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking termtree v0.2.4 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking downcast v0.10.0 [INFO] [stderr] Checking fragile v1.2.1 [INFO] [stderr] Compiling ntest_proc_macro_helper v0.7.5 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking rustls-pemfile v1.0.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking predicates-tree v1.0.5 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking num-complex v0.4.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling mockall_derive v0.10.2 [INFO] [stderr] Compiling tracing-test-macro v0.2.2 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling ntest_test_cases v0.7.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking tracing-subscriber v0.3.14 [INFO] [stderr] Checking axum-core v0.2.7 [INFO] [stderr] Checking tracing-test v0.2.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Checking prost-types v0.10.1 [INFO] [stderr] Compiling pbjson-build v0.3.2 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling pbjson-types v0.3.2 [INFO] [stderr] Checking mockall v0.10.2 [INFO] [stderr] Compiling ntest_timeout v0.7.5 [INFO] [stderr] Compiling ydb-grpc v0.0.8 [INFO] [stderr] Checking pbjson v0.3.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking axum v0.5.13 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking ntest v0.7.5 [INFO] [stderr] Checking tonic v0.7.2 [INFO] [stderr] Checking ydb v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RandomLoadBalancer` [INFO] [stdout] --> src/client_builder.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::load_balancer::{RandomLoadBalancer, SharedLoadBalancer, StaticLoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> src/client_scheme/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MakeDirectoryRequest`, `RemoveDirectoryRequest` [INFO] [stdout] --> src/client_scheme/client.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use ydb_grpc::ydb_proto::scheme::{MakeDirectoryRequest, RemoveDirectoryRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChannelPoolImpl` [INFO] [stdout] --> src/client_scheme/client.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::channel_pool::{ChannelPool, ChannelPoolImpl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_common::DBCredentials` [INFO] [stdout] --> src/client_scheme/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::client_common::DBCredentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `grpc_read_operation_result`, `grpc_read_void_operation_result`, `operation_params` [INFO] [stdout] --> src/client_scheme/client.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::grpc::{grpc_read_operation_result, grpc_read_void_operation_result, operation_params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc_wrapper::raw_services::Service` [INFO] [stdout] --> src/client_scheme/client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::grpc_wrapper::raw_services::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Discovery` [INFO] [stdout] --> src/client_scheme/client.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{grpc_wrapper, Discovery, YdbResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/connection_pool.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_common::DBCredentials` [INFO] [stdout] --> src/discovery.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::client_common::DBCredentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_grpc_client`, `grpc_read_operation_result` [INFO] [stdout] --> src/discovery.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::grpc::{create_grpc_client, grpc_read_operation_result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc_wrapper::channel::create_grpc_channel_with_auth` [INFO] [stdout] --> src/discovery.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::grpc_wrapper::channel::create_grpc_channel_with_auth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomLoadBalancer` [INFO] [stdout] --> src/grpc_connection_manager.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::load_balancer::{LoadBalancer, RandomLoadBalancer, SharedLoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::channel_pool::ChannelErrorInfo` [INFO] [stdout] --> src/grpc_wrapper/channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::channel_pool::ChannelErrorInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::middlewares::AuthService` [INFO] [stdout] --> src/grpc_wrapper/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::middlewares::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/grpc_wrapper/channel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `YdbError`, `YdbResult` [INFO] [stdout] --> src/grpc_wrapper/grpc.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{YdbError, YdbIssue, YdbResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/grpc_wrapper/raw_errors.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::YdbResult` [INFO] [stdout] --> src/grpc_wrapper/raw_scheme_client/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::YdbResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/grpc_wrapper/raw_scheme_client/list_directory_types.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let self_entry = if let (Some(entry)) = value.self_ { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - let self_entry = if let (Some(entry)) = value.self_ { [INFO] [stdout] 32 + let self_entry = if let Some(entry) = value.self_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time` [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing_subscriber::fmt::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::metadata::AsciiMetadataValue` [INFO] [stdout] --> src/middlewares.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tonic::metadata::AsciiMetadataValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Code`, `Status` [INFO] [stdout] --> src/middlewares.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tonic::{Code, Status}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field::debug` [INFO] [stdout] --> src/session.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::field::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomLoadBalancer` [INFO] [stdout] --> src/client_builder.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::load_balancer::{RandomLoadBalancer, SharedLoadBalancer, StaticLoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::trace` [INFO] [stdout] --> src/client_scheme/client.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing::trace; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MakeDirectoryRequest`, `RemoveDirectoryRequest` [INFO] [stdout] --> src/client_scheme/client.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use ydb_grpc::ydb_proto::scheme::{MakeDirectoryRequest, RemoveDirectoryRequest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChannelPoolImpl` [INFO] [stdout] --> src/client_scheme/client.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::channel_pool::{ChannelPool, ChannelPoolImpl}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_common::DBCredentials` [INFO] [stdout] --> src/client_scheme/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::client_common::DBCredentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `grpc_read_operation_result`, `grpc_read_void_operation_result`, `operation_params` [INFO] [stdout] --> src/client_scheme/client.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::grpc::{grpc_read_operation_result, grpc_read_void_operation_result, operation_params}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc_wrapper::raw_services::Service` [INFO] [stdout] --> src/client_scheme/client.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::grpc_wrapper::raw_services::Service; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Discovery` [INFO] [stdout] --> src/client_scheme/client.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::{grpc_wrapper, Discovery, YdbResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RwLock` [INFO] [stdout] --> src/connection_pool.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex, RwLock}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::client_common::DBCredentials` [INFO] [stdout] --> src/discovery.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::client_common::DBCredentials; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `create_grpc_client`, `grpc_read_operation_result` [INFO] [stdout] --> src/discovery.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::grpc::{create_grpc_client, grpc_read_operation_result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::grpc_wrapper::channel::create_grpc_channel_with_auth` [INFO] [stdout] --> src/discovery.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::grpc_wrapper::channel::create_grpc_channel_with_auth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomLoadBalancer` [INFO] [stdout] --> src/discovery.rs:387:32 [INFO] [stdout] | [INFO] [stdout] 387 | use crate::load_balancer::{RandomLoadBalancer, SharedLoadBalancer, StaticLoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RandomLoadBalancer` [INFO] [stdout] --> src/grpc_connection_manager.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::load_balancer::{LoadBalancer, RandomLoadBalancer, SharedLoadBalancer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::channel_pool::ChannelErrorInfo` [INFO] [stdout] --> src/grpc_wrapper/channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::channel_pool::ChannelErrorInfo; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::middlewares::AuthService` [INFO] [stdout] --> src/grpc_wrapper/channel.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::middlewares::AuthService; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::mpsc` [INFO] [stdout] --> src/grpc_wrapper/channel.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `YdbError`, `YdbResult` [INFO] [stdout] --> src/grpc_wrapper/grpc.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{YdbError, YdbIssue, YdbResult}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/grpc_wrapper/raw_errors.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::YdbResult` [INFO] [stdout] --> src/grpc_wrapper/raw_scheme_client/client.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::YdbResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around pattern [INFO] [stdout] --> src/grpc_wrapper/raw_scheme_client/list_directory_types.rs:32:33 [INFO] [stdout] | [INFO] [stdout] 32 | let self_entry = if let (Some(entry)) = value.self_ { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - let self_entry = if let (Some(entry)) = value.self_ { [INFO] [stdout] 32 + let self_entry = if let Some(entry) = value.self_ { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_subscriber::fmt::time` [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tracing_subscriber::fmt::time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::metadata::AsciiMetadataValue` [INFO] [stdout] --> src/middlewares.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tonic::metadata::AsciiMetadataValue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Code`, `Status` [INFO] [stdout] --> src/middlewares.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tonic::{Code, Status}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::field::debug` [INFO] [stdout] --> src/session.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use tracing::field::debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tonic::metadata::MetadataValue::::from_str`: Use TryFrom or FromStr instead [INFO] [stdout] --> src/grpc_wrapper/auth.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | let db_name = match AsciiMetadataValue::from_str(self.cred.database.as_str()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tonic::metadata::MetadataValue::::from_str`: Use TryFrom or FromStr instead [INFO] [stdout] --> src/grpc_wrapper/auth.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | let token = match AsciiMetadataValue::from_str(self.cred.token_cache.token().as_str()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tonic::metadata::MetadataValue::::from_str`: Use TryFrom or FromStr instead [INFO] [stdout] --> src/grpc_wrapper/auth.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | AsciiMetadataValue::from_str("ydb-go-sdk/0.0.0").unwrap(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::service::Interceptor` [INFO] [stdout] --> src/middlewares.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tonic::service::Interceptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discovery.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn list_endpoints_to_node_infos(mut list: Vec) -> YdbResult> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tonic::metadata::MetadataValue::::from_str`: Use TryFrom or FromStr instead [INFO] [stdout] --> src/grpc_wrapper/auth.rs:19:49 [INFO] [stdout] | [INFO] [stdout] 19 | let db_name = match AsciiMetadataValue::from_str(self.cred.database.as_str()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tonic::metadata::MetadataValue::::from_str`: Use TryFrom or FromStr instead [INFO] [stdout] --> src/grpc_wrapper/auth.rs:30:47 [INFO] [stdout] | [INFO] [stdout] 30 | let token = match AsciiMetadataValue::from_str(self.cred.token_cache.token().as_str()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tonic::metadata::MetadataValue::::from_str`: Use TryFrom or FromStr instead [INFO] [stdout] --> src/grpc_wrapper/auth.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | AsciiMetadataValue::from_str("ydb-go-sdk/0.0.0").unwrap(), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `database` is never used [INFO] [stdout] --> src/client.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | pub(crate) fn database(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DirectoryServiceClientType` is never used [INFO] [stdout] --> src/client_scheme/client.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) type DirectoryServiceClientType = SchemeServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DirectoryServiceChannelPool` is never used [INFO] [stdout] --> src/client_scheme/client.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) type DirectoryServiceChannelPool = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_node_info` is never used [INFO] [stdout] --> src/discovery.rs:82:19 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn with_node_info(mut self, _service: Service, node_info: NodeInfo) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/discovery.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | pub(crate) fn new(uri: Uri) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grpc_client` is never used [INFO] [stdout] --> src/grpc.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn create_grpc_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grpc_channel_with_auth` is never used [INFO] [stdout] --> src/grpc_wrapper/channel.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) async fn create_grpc_channel_with_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grpc_channel` is never used [INFO] [stdout] --> src/grpc_wrapper/channel.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn create_grpc_channel(uri: Uri) -> YdbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `self_item` is never read [INFO] [stdout] --> src/grpc_wrapper/raw_scheme_client/list_directory_types.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct RawListDirectoryResult { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 22 | pub(crate) self_item: crate::SchemeEntry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawListDirectoryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusCode` is never used [INFO] [stdout] --> src/grpc_wrapper/raw_status.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) enum StatusCode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrpcTableClient` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_table_service.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct GrpcTableClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteSchemeQueryRequest` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_table_service.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct ExecuteSchemeQueryRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteSchemeQueryResult` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_table_service.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct ExecuteSchemeQueryResult {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_timeout`, `cancel_after` and `labels` are never read [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct RawOperationParams { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | operation_mode: OperationMode, [INFO] [stdout] 7 | operation_timeout: crate::grpc_wrapper::raw_common_types::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | cancel_after: crate::grpc_wrapper::raw_common_types::Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | labels: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawOperationParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unspecified` and `Async` are never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) enum OperationMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 44 | Unspecified, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | Sync, [INFO] [stdout] 46 | Async, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct Operation {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `execute_scan_query` is never used [INFO] [stdout] --> src/session.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | pub async fn execute_scan_query(&mut self, query: Query) -> YdbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CONNECTION_INFO` is never used [INFO] [stdout] --> src/test_helpers.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) static CONNECTION_INFO: Lazy = Lazy::new(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `request_number` should have an upper case name [INFO] [stdout] --> src/session.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static request_number: AtomicI64 = AtomicI64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REQUEST_NUMBER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tonic::service::Interceptor` [INFO] [stdout] --> src/middlewares.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tonic::service::Interceptor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `result_set_count` is assigned to, but never used [INFO] [stdout] --> src/client_table_test_integration.rs:546:13 [INFO] [stdout] | [INFO] [stdout] 546 | let mut result_set_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_result_set_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/discovery.rs:321:37 [INFO] [stdout] | [INFO] [stdout] 321 | fn list_endpoints_to_node_infos(mut list: Vec) -> YdbResult> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DirectoryServiceClientType` is never used [INFO] [stdout] --> src/client_scheme/client.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) type DirectoryServiceClientType = SchemeServiceClient; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DirectoryServiceChannelPool` is never used [INFO] [stdout] --> src/client_scheme/client.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) type DirectoryServiceChannelPool = Arc>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grpc_client` is never used [INFO] [stdout] --> src/grpc.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) async fn create_grpc_client( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grpc_channel_with_auth` is never used [INFO] [stdout] --> src/grpc_wrapper/channel.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) async fn create_grpc_channel_with_auth( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_grpc_channel` is never used [INFO] [stdout] --> src/grpc_wrapper/channel.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | async fn create_grpc_channel(uri: Uri) -> YdbResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `self_item` is never read [INFO] [stdout] --> src/grpc_wrapper/raw_scheme_client/list_directory_types.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 21 | pub(crate) struct RawListDirectoryResult { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 22 | pub(crate) self_item: crate::SchemeEntry, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawListDirectoryResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusCode` is never used [INFO] [stdout] --> src/grpc_wrapper/raw_status.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | pub(crate) enum StatusCode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GrpcTableClient` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_table_service.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct GrpcTableClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteSchemeQueryRequest` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_table_service.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) struct ExecuteSchemeQueryRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecuteSchemeQueryResult` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_table_service.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct ExecuteSchemeQueryResult {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_timeout`, `cancel_after` and `labels` are never read [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct RawOperationParams { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 6 | operation_mode: OperationMode, [INFO] [stdout] 7 | operation_timeout: crate::grpc_wrapper::raw_common_types::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | cancel_after: crate::grpc_wrapper::raw_common_types::Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | labels: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawOperationParams` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Unspecified` and `Async` are never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub(crate) enum OperationMode { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 44 | Unspecified, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 45 | Sync, [INFO] [stdout] 46 | Async, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OperationMode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Operation` is never constructed [INFO] [stdout] --> src/grpc_wrapper/raw_ydb_operation.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | pub(crate) struct Operation {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `request_number` should have an upper case name [INFO] [stdout] --> src/session.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static request_number: AtomicI64 = AtomicI64::new(0); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `REQUEST_NUMBER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 10s [INFO] running `Command { std: "docker" "inspect" "0b8897d3ac28f186073f89579596a48143a860a9d8e457b5e411c53bc73237d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b8897d3ac28f186073f89579596a48143a860a9d8e457b5e411c53bc73237d4", kill_on_drop: false }` [INFO] [stdout] 0b8897d3ac28f186073f89579596a48143a860a9d8e457b5e411c53bc73237d4