[INFO] fetching crate clickhouse-srv 0.3.1... [INFO] testing clickhouse-srv-0.3.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate clickhouse-srv 0.3.1 into /workspace/builds/worker-33/source [INFO] validating manifest of crates.io crate clickhouse-srv 0.3.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clickhouse-srv 0.3.1 [INFO] finished tweaking crates.io crate clickhouse-srv 0.3.1 [INFO] tweaked toml for crates.io crate clickhouse-srv 0.3.1 written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate crates.io crate clickhouse-srv 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e57c0e1d916ad530799e663834a5b0cae2da65575e5c87181f95d72eface10e [INFO] running `Command { std: "docker" "start" "-a" "7e57c0e1d916ad530799e663834a5b0cae2da65575e5c87181f95d72eface10e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e57c0e1d916ad530799e663834a5b0cae2da65575e5c87181f95d72eface10e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e57c0e1d916ad530799e663834a5b0cae2da65575e5c87181f95d72eface10e", kill_on_drop: false }` [INFO] [stdout] 7e57c0e1d916ad530799e663834a5b0cae2da65575e5c87181f95d72eface10e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70b2772f10e1ed47321b293e1a33d6210082e1bf076d0ec3dc89a9ab0bd401d3 [INFO] running `Command { std: "docker" "start" "-a" "70b2772f10e1ed47321b293e1a33d6210082e1bf076d0ec3dc89a9ab0bd401d3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling combine v4.5.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Compiling clickhouse-rs-cityhash-sys v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling chrono-tz v0.5.3 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling lz4 v1.23.2 [INFO] [stderr] Compiling clickhouse-srv v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_info` [INFO] [stdout] --> src/types/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) server_info: ServerInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Context` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/mod.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_id` [INFO] [stdout] --> src/protocols/protocol_query.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) query_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_info` [INFO] [stdout] --> src/protocols/protocol_query.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) client_info: QueryClientInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stage` [INFO] [stdout] --> src/protocols/protocol_query.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) stage: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/types/column/mod.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn concat<'a, I>(items: I) -> Column [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_to` [INFO] [stdout] --> src/types/column/mod.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub(crate) fn cast_to(self, dst_type: SqlType) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/types/block/mod.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn concat(blocks: &[Self]) -> Block { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_to` [INFO] [stdout] --> src/types/block/mod.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | pub(crate) fn cast_to(&self, header: &Block) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_client_data` [INFO] [stdout] --> src/types/block/mod.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) fn send_client_data(&self, encoder: &mut Encoder, compress: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sql` [INFO] [stdout] --> src/types/query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | sql: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/query.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/types/query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | id: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/query.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sql` [INFO] [stdout] --> src/types/query.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn get_sql(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/types/query.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn get_id(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map_sql` [INFO] [stdout] --> src/types/query.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn map_sql(self, f: F) -> Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/types/options.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn get(&self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/types/column/concat.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn concat(data: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_columns` [INFO] [stdout] --> src/types/column/concat.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_columns(data: &[ArcColumnData]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_index` [INFO] [stdout] --> src/types/column/concat.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn build_index<'a, I>(sizes: I) -> Vec [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Owned` [INFO] [stdout] --> src/types/block/row.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Owned(Arc>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.61s [INFO] running `Command { std: "docker" "inspect" "70b2772f10e1ed47321b293e1a33d6210082e1bf076d0ec3dc89a9ab0bd401d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b2772f10e1ed47321b293e1a33d6210082e1bf076d0ec3dc89a9ab0bd401d3", kill_on_drop: false }` [INFO] [stdout] 70b2772f10e1ed47321b293e1a33d6210082e1bf076d0ec3dc89a9ab0bd401d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e25a670c0a3969089efd32289d17891c7e167756a0780a04714a0fbb107b0a3a [INFO] running `Command { std: "docker" "start" "-a" "e25a670c0a3969089efd32289d17891c7e167756a0780a04714a0fbb107b0a3a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_info` [INFO] [stdout] --> src/types/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) server_info: ServerInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Context` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/mod.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_id` [INFO] [stdout] --> src/protocols/protocol_query.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) query_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_info` [INFO] [stdout] --> src/protocols/protocol_query.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) client_info: QueryClientInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stage` [INFO] [stdout] --> src/protocols/protocol_query.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) stage: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/types/column/mod.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | pub(crate) fn concat<'a, I>(items: I) -> Column [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_to` [INFO] [stdout] --> src/types/column/mod.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub(crate) fn cast_to(self, dst_type: SqlType) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/types/block/mod.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | pub(crate) fn concat(blocks: &[Self]) -> Block { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_to` [INFO] [stdout] --> src/types/block/mod.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | pub(crate) fn cast_to(&self, header: &Block) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_client_data` [INFO] [stdout] --> src/types/block/mod.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) fn send_client_data(&self, encoder: &mut Encoder, compress: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sql` [INFO] [stdout] --> src/types/query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | sql: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/query.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/types/query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | id: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/query.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sql` [INFO] [stdout] --> src/types/query.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn get_sql(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/types/query.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn get_id(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map_sql` [INFO] [stdout] --> src/types/query.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn map_sql(self, f: F) -> Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/types/options.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn get(&self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/types/column/concat.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn concat(data: Vec) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_columns` [INFO] [stdout] --> src/types/column/concat.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | fn check_columns(data: &[ArcColumnData]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `build_index` [INFO] [stdout] --> src/types/column/concat.rs:82:4 [INFO] [stdout] | [INFO] [stdout] 82 | fn build_index<'a, I>(sizes: I) -> Vec [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Owned` [INFO] [stdout] --> src/types/block/row.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Owned(Arc>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling clickhouse-srv v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `log::debug` [INFO] [stdout] --> src/cmd.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use log::debug; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_info` [INFO] [stdout] --> src/types/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub(crate) server_info: ServerInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Context` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/mod.rs:109:10 [INFO] [stdout] | [INFO] [stdout] 109 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query_id` [INFO] [stdout] --> src/protocols/protocol_query.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | pub(crate) query_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_info` [INFO] [stdout] --> src/protocols/protocol_query.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | pub(crate) client_info: QueryClientInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stage` [INFO] [stdout] --> src/protocols/protocol_query.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub(crate) stage: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocols/protocol_query.rs:95:19 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Default, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_to` [INFO] [stdout] --> src/types/column/mod.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 244 | pub(crate) fn cast_to(self, dst_type: SqlType) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cast_to` [INFO] [stdout] --> src/types/block/mod.rs:302:19 [INFO] [stdout] | [INFO] [stdout] 302 | pub(crate) fn cast_to(&self, header: &Block) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_client_data` [INFO] [stdout] --> src/types/block/mod.rs:368:19 [INFO] [stdout] | [INFO] [stdout] 368 | pub(crate) fn send_client_data(&self, encoder: &mut Encoder, compress: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sql` [INFO] [stdout] --> src/types/query.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | sql: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/query.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/types/query.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | id: String [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/types/query.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sql` [INFO] [stdout] --> src/types/query.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub(crate) fn get_sql(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_id` [INFO] [stdout] --> src/types/query.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | pub(crate) fn get_id(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `map_sql` [INFO] [stdout] --> src/types/query.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) fn map_sql(self, f: F) -> Self [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/types/options.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | pub(crate) fn get(&self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Owned` [INFO] [stdout] --> src/types/block/row.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | Owned(Arc>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.29s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/clickhouse_srv-71607d7dc999a826) [INFO] running `Command { std: "docker" "inspect" "e25a670c0a3969089efd32289d17891c7e167756a0780a04714a0fbb107b0a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e25a670c0a3969089efd32289d17891c7e167756a0780a04714a0fbb107b0a3a", kill_on_drop: false }` [INFO] [stdout] e25a670c0a3969089efd32289d17891c7e167756a0780a04714a0fbb107b0a3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7e6c8c709d8f01c99d40375e884a7e57b33c038ac1787f5dff4a2468325f2fe [INFO] running `Command { std: "docker" "start" "-a" "f7e6c8c709d8f01c99d40375e884a7e57b33c038ac1787f5dff4a2468325f2fe", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `log::debug` [INFO] [stderr] --> src/cmd.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use log::debug; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `server_info` [INFO] [stderr] --> src/types/mod.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | pub(crate) server_info: ServerInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Context` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/mod.rs:109:10 [INFO] [stderr] | [INFO] [stderr] 109 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `query_id` [INFO] [stderr] --> src/protocols/protocol_query.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | pub(crate) query_id: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocols/protocol_query.rs:95:19 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client_info` [INFO] [stderr] --> src/protocols/protocol_query.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | pub(crate) client_info: QueryClientInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocols/protocol_query.rs:95:19 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `stage` [INFO] [stderr] --> src/protocols/protocol_query.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | pub(crate) stage: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `QueryRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocols/protocol_query.rs:95:19 [INFO] [stderr] | [INFO] [stderr] 95 | #[derive(Default, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `concat` [INFO] [stderr] --> src/types/column/mod.rs:134:19 [INFO] [stderr] | [INFO] [stderr] 134 | pub(crate) fn concat<'a, I>(items: I) -> Column [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cast_to` [INFO] [stderr] --> src/types/column/mod.rs:244:19 [INFO] [stderr] | [INFO] [stderr] 244 | pub(crate) fn cast_to(self, dst_type: SqlType) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `concat` [INFO] [stderr] --> src/types/block/mod.rs:275:19 [INFO] [stderr] | [INFO] [stderr] 275 | pub(crate) fn concat(blocks: &[Self]) -> Block { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cast_to` [INFO] [stderr] --> src/types/block/mod.rs:302:19 [INFO] [stderr] | [INFO] [stderr] 302 | pub(crate) fn cast_to(&self, header: &Block) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `send_client_data` [INFO] [stderr] --> src/types/block/mod.rs:368:19 [INFO] [stderr] | [INFO] [stderr] 368 | pub(crate) fn send_client_data(&self, encoder: &mut Encoder, compress: bool) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sql` [INFO] [stderr] --> src/types/query.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | sql: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/query.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/types/query.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | id: String [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Query` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/types/query.rs:1:10 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_sql` [INFO] [stderr] --> src/types/query.rs:22:19 [INFO] [stderr] | [INFO] [stderr] 22 | pub(crate) fn get_sql(&self) -> &str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_id` [INFO] [stderr] --> src/types/query.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | pub(crate) fn get_id(&self) -> &str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `map_sql` [INFO] [stderr] --> src/types/query.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | pub(crate) fn map_sql(self, f: F) -> Self [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/types/options.rs:47:19 [INFO] [stderr] | [INFO] [stderr] 47 | pub(crate) fn get(&self) -> Result> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `concat` [INFO] [stderr] --> src/types/column/concat.rs:20:19 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) fn concat(data: Vec) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `check_columns` [INFO] [stderr] --> src/types/column/concat.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | fn check_columns(data: &[ArcColumnData]) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `build_index` [INFO] [stderr] --> src/types/column/concat.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | fn build_index<'a, I>(sizes: I) -> Vec [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Owned` [INFO] [stderr] --> src/types/block/row.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | Owned(Arc>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `clickhouse-srv` (lib) generated 20 warnings [INFO] [stderr] warning: `clickhouse-srv` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/clickhouse_srv-71607d7dc999a826) [INFO] [stdout] [INFO] [stdout] running 123 tests [INFO] [stdout] test binary::uvarint::test::test_put_uvarint ... ok [INFO] [stdout] test binary::read_ex::test_read_uvarint ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test errors::tests::to_io_error_without_recursion ... ok [INFO] [stdout] test errors::tests::to_std_error_without_recursion ... ok [INFO] [stdout] test types::block::compressed::test::test_decompress ... ok [INFO] [stdout] test types::block::test::test_chunks_of_empty_block ... ok [INFO] [stdout] test types::block::test::test_chunks ... ok [INFO] [stdout] test types::block::builder::test::test_push_row ... ok [INFO] [stdout] test types::block::test::test_column_and_rows ... ok [INFO] [stdout] test types::block::test::test_concat ... ok [INFO] [stdout] test types::block::test::test_compress_block ... ok [INFO] [stdout] test types::block::test::test_empty ... ok [INFO] [stdout] test types::block::test::test_decompress_block ... ok [INFO] [stdout] test types::block::test::test_rows ... ok [INFO] [stdout] test types::block::test::test_from_sql ... ok [INFO] [stdout] test types::block::test::test_read_empty_block ... ok [INFO] [stdout] test types::block::test::test_write_default ... ok [INFO] [stdout] test types::block::test::test_write_and_read ... ok [INFO] [stdout] test types::column::concat::test::test_build_index ... ok [INFO] [stdout] test types::column::array::test::test_write_and_read ... ok [INFO] [stdout] test types::column::concat::test::test_concat_num_column ... ok [INFO] [stdout] test types::column::concat::test::test_concat_column ... ok [INFO] [stdout] test types::column::concat::test::test_find_chunk ... ok [INFO] [stdout] test types::column::concat::test::test_find_chunk2 ... ok [INFO] [stdout] test types::column::concat::test::test_find_chunk5 ... ok [INFO] [stdout] test types::column::date::test::test_create_date ... ok [INFO] [stdout] test types::column::datetime64::test::test_from_datetime ... ok [INFO] [stdout] test types::column::date::test::test_create_date_time ... ok [INFO] [stdout] test types::column::factory::test::test_parse_array_type ... ok [INFO] [stdout] test types::column::datetime64::test::test_to_datetime ... ok [INFO] [stdout] test types::column::factory::test::test_parse_date_time64 ... ok [INFO] [stdout] test types::column::factory::test::test_parse_decimal ... ok [INFO] [stdout] test types::column::factory::test::test_parse_date_time64_without_timezone ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_empty ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16 ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_empty_id ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_no_ident ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_extra_comma ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_no_value ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_single ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_single_empty_id ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_special_chars ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum16_starting_comma ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8 ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_empty ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_empty_id ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_extra_comma ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_no_ident ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_no_value ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_single ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_single_empty_id ... ok [INFO] [stdout] test types::column::factory::test::test_parse_enum8_starting_comma ... ok [INFO] [stdout] test types::column::factory::test::test_parse_fixed_string ... ok [INFO] [stdout] test types::column::factory::test::test_parse_nullable_type ... ok [INFO] [stdout] test types::column::iter::test::test_complex_iter ... ok [INFO] [stdout] test types::decimal::test::set_scale1 ... ok [INFO] [stdout] test types::decimal::test::set_scale2 ... ok [INFO] [stdout] test types::decimal::test::test_decimal2str ... ok [INFO] [stdout] test types::column::list::test::test_push_and_get ... ok [INFO] [stdout] test types::decimal::test::test_display ... ok [INFO] [stdout] test types::decimal::test::test_eq ... ok [INFO] [stdout] test types::decimal::test::test_from_f32 ... ok [INFO] [stdout] test types::decimal::test::test_from_f64 ... ok [INFO] [stdout] test types::decimal::test::test_internal32 ... ok [INFO] [stdout] test types::decimal::test::test_internal64 ... ok [INFO] [stdout] test types::decimal::test::test_new ... ok [INFO] [stdout] test types::decimal::test::test_scale ... ok [INFO] [stdout] test types::from_sql::test::test_bad_convert ... ok [INFO] [stdout] test types::from_sql::test::null_to_datetime ... ok [INFO] [stdout] test types::column::string_pool::test::test_get ... ok [INFO] [stdout] test types::from_sql::test::test_u8 ... ok [INFO] [stdout] test types::marshal::test::test_bool ... ok [INFO] [stdout] test types::marshal::test::test_f64 ... ok [INFO] [stdout] test types::marshal::test::test_f32 ... ok [INFO] [stdout] test types::marshal::test::test_i16 ... ok [INFO] [stdout] test types::marshal::test::test_i32 ... ok [INFO] [stdout] test types::marshal::test::test_i64 ... ok [INFO] [stdout] test types::marshal::test::test_i8 ... ok [INFO] [stdout] test types::options::test::test_parse_compression ... ok [INFO] [stdout] test types::marshal::test::test_u32 ... ok [INFO] [stdout] test types::options::test::test_parse_default ... ok [INFO] [stdout] test types::marshal::test::test_u64 ... ok [INFO] [stdout] test types::marshal::test::test_u16 ... ok [INFO] [stdout] test types::options::test::test_parse_duration ... ok [INFO] [stdout] test types::marshal::test::test_u8 ... ok [INFO] [stdout] test types::options::test::test_parse_hosts ... ok [INFO] [stdout] test types::options::test::test_parse_opt_duration ... ok [INFO] [stdout] test types::test_display ... ok [INFO] [stdout] test types::test_to_string ... ok [INFO] [stdout] test types::options::test::test_parse_options ... ok [INFO] [stdout] test types::column::list::test::test_push_and_len ... ok [INFO] [stdout] test types::value::test::test_f64 ... ok [INFO] [stdout] test types::value::test::test_display ... ok [INFO] [stdout] test types::column::string_pool::test::test_allocate ... ok [INFO] [stdout] test types::value::test::test_from_date ... ok [INFO] [stdout] test types::value::test::test_from_u32 ... ok [INFO] [stdout] test types::value::test::test_f32 ... ok [INFO] [stdout] test types::value::test::test_i16 ... ok [INFO] [stdout] test types::value::test::test_i32 ... ok [INFO] [stdout] test types::value::test::test_from_some ... ok [INFO] [stdout] test types::value::test::test_i8 ... ok [INFO] [stdout] test types::value::test::test_into_string ... ok [INFO] [stdout] test types::value::test::test_i64 ... ok [INFO] [stdout] test types::value::test::test_into_vec ... ok [INFO] [stdout] test types::value::test::test_size_of ... ok [INFO] [stdout] test types::value::test::test_string_from ... ok [INFO] [stdout] test types::value::test::test_time ... ok [INFO] [stdout] test types::value::test::test_u16 ... ok [INFO] [stdout] test types::value::test::test_string ... ok [INFO] [stdout] test types::value::test::test_u32 ... ok [INFO] [stdout] test types::options::test::test_parse_invalid_url - should panic ... ok [INFO] [stdout] test types::options::test::test_parse_with_multi_databases - should panic ... ok [INFO] [stdout] test types::options::test::test_parse_with_unknown_url - should panic ... ok [INFO] [stdout] test types::value::test::test_u64 ... ok [INFO] [stdout] test types::value::test::test_uuid ... ok [INFO] [stdout] test types::value::test::test_u8 ... ok [INFO] [stdout] test types::value_ref::test::test_get_sql_type ... ok [INFO] [stdout] test types::value_ref::test::test_display ... ok [INFO] [stdout] test types::value_ref::test::test_size_of ... ok [INFO] [stdout] test types::value_ref::test::test_uuid ... ok [INFO] [stdout] test types::value_ref::test::test_value_from_ref ... ok [INFO] [stdout] test types::value::test::test_default_fixed_str ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 123 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] Doc-tests clickhouse-srv [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/types/decimal.rs - types::decimal::Decimal::internal (line 204) ... FAILED [INFO] [stdout] test src/types/column/mod.rs - types::column::Column::iter (line 158) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/types/decimal.rs - types::decimal::Decimal::internal (line 204) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clickhouse_rs` [INFO] [stdout] --> src/types/decimal.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_rs::{Pool, types::Decimal, errors::Result}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clickhouse_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_srv::{Pool, types::Decimal, errors::Result}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clickhouse_rs` [INFO] [stdout] --> src/types/decimal.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_rs::{Pool, types::Decimal, errors::Result}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clickhouse_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_srv::{Pool, types::Decimal, errors::Result}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope [INFO] [stdout] --> src/types/decimal.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 13 | let x: Decimal = block.get(0, "x")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use clickhouse_srv::types::Decimal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/types/decimal.rs:208:10 [INFO] [stdout] | [INFO] [stdout] 6 | let ret: Result<()> = rt.block_on(async { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 6 | let ret: Result<(), E> = rt.block_on(async { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/types/column/mod.rs - types::column::Column::iter (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `clickhouse_rs` [INFO] [stdout] --> src/types/column/mod.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_rs::{errors::Error, Pool, errors::Result}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clickhouse_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_srv::{errors::Error, Pool, errors::Result}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `clickhouse_rs` [INFO] [stdout] --> src/types/column/mod.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_rs::{errors::Error, Pool, errors::Result}; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `clickhouse_rs` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 | use clickhouse_srv::{errors::Error, Pool, errors::Result}; [INFO] [stdout] | ~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/types/column/mod.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 7 | let ret: Result<()> = rt.block_on(async { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 7 | let ret: Result<(), E> = rt.block_on(async { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/types/column/mod.rs - types::column::Column::iter (line 158) [INFO] [stdout] src/types/decimal.rs - types::decimal::Decimal::internal (line 204) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "f7e6c8c709d8f01c99d40375e884a7e57b33c038ac1787f5dff4a2468325f2fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e6c8c709d8f01c99d40375e884a7e57b33c038ac1787f5dff4a2468325f2fe", kill_on_drop: false }` [INFO] [stdout] f7e6c8c709d8f01c99d40375e884a7e57b33c038ac1787f5dff4a2468325f2fe