[INFO] fetching crate clickhouse-driver 0.1.0-alpha.3... [INFO] testing clickhouse-driver-0.1.0-alpha.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] extracting crate clickhouse-driver 0.1.0-alpha.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate clickhouse-driver 0.1.0-alpha.3 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate clickhouse-driver 0.1.0-alpha.3 [INFO] tweaked toml for crates.io crate clickhouse-driver 0.1.0-alpha.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate clickhouse-driver 0.1.0-alpha.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clickhouse-driver 0.1.0-alpha.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.5 [INFO] [stderr] Downloaded tokio-native-tls v0.1.0 [INFO] [stderr] Downloaded tinyvec v0.3.3 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded url v2.1.1 [INFO] [stderr] Downloaded futures-task v0.3.5 [INFO] [stderr] Downloaded pin-project-lite v0.1.7 [INFO] [stderr] Downloaded clickhouse-driver-cthrs v0.1.1 [INFO] [stderr] Downloaded cloudabi v0.1.0 [INFO] [stderr] Downloaded clickhouse-driver-cth v0.1.0 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded crossbeam-deque v0.7.3 [INFO] [stderr] Downloaded crossbeam-channel v0.4.3 [INFO] [stderr] Downloaded once_cell v1.4.0 [INFO] [stderr] Downloaded parse-zoneinfo v0.3.0 [INFO] [stderr] Downloaded clickhouse-driver-lz4 v0.1.0 [INFO] [stderr] Downloaded futures-util v0.3.5 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded tokio v0.2.22 [INFO] [stderr] Downloaded syn v1.0.38 [INFO] [stderr] Downloaded futures-channel v0.3.5 [INFO] [stderr] Downloaded parking_lot v0.11.0 [INFO] [stderr] Downloaded chrono-tz v0.5.2 [INFO] [stderr] Downloaded security-framework v0.4.4 [INFO] [stderr] Downloaded futures-macro v0.3.5 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded pin-project v0.4.23 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded openssl v0.10.30 [INFO] [stderr] Downloaded proc-macro-nested v0.1.6 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded cc v1.0.58 [INFO] [stderr] Downloaded pkg-config v0.3.18 [INFO] [stderr] Downloaded openssl-sys v0.9.58 [INFO] [stderr] Downloaded memoffset v0.5.5 [INFO] [stderr] Downloaded futures v0.3.5 [INFO] [stderr] Downloaded vcpkg v0.2.10 [INFO] [stderr] Downloaded security-framework-sys v0.4.3 [INFO] [stderr] Downloaded native-tls v0.2.4 [INFO] [stderr] Downloaded futures-executor v0.3.5 [INFO] [stderr] Downloaded futures-io v0.3.5 [INFO] [stderr] Downloaded futures-sink v0.3.5 [INFO] [stderr] Downloaded lock_api v0.4.1 [INFO] [stderr] Downloaded parking_lot_core v0.8.0 [INFO] [stderr] Downloaded unicode-normalization v0.1.13 [INFO] [stderr] Downloaded pin-project-internal v0.4.23 [INFO] [stderr] Downloaded proc-macro-hack v0.5.18 [INFO] [stderr] Downloaded instant v0.1.6 [INFO] [stderr] Downloaded smallvec v1.4.1 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded futures-core v0.3.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b398cba1d04ca0d387f7d753a90178aa72d236d6eae6e0cf609c2846a6f30d9 [INFO] running `Command { std: "docker" "start" "-a" "7b398cba1d04ca0d387f7d753a90178aa72d236d6eae6e0cf609c2846a6f30d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b398cba1d04ca0d387f7d753a90178aa72d236d6eae6e0cf609c2846a6f30d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b398cba1d04ca0d387f7d753a90178aa72d236d6eae6e0cf609c2846a6f30d9", kill_on_drop: false }` [INFO] [stdout] 7b398cba1d04ca0d387f7d753a90178aa72d236d6eae6e0cf609c2846a6f30d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e08a701d5025dd49d7353a313ee05c8d0f807896b822dc192a599681edb5b2ac [INFO] running `Command { std: "docker" "start" "-a" "e08a701d5025dd49d7353a313ee05c8d0f807896b822dc192a599681edb5b2ac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling clickhouse-driver-lz4 v0.1.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling crossbeam-channel v0.4.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling chrono-tz v0.5.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling clickhouse-driver-cthrs v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling clickhouse-driver v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `lz4` [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(lz4)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lz4)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lz4)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LZ4_compress_default` [INFO] [stdout] --> src/compression/mod.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | LZ4_Compress, LZ4_CompressBounds, LZ4_Decompress, LZ4_compress_default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_nightly` [INFO] [stdout] --> src/protocol/mod.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(rustc_nightly)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stdout] --> src/protocol/column.rs:554:11 [INFO] [stdout] | [INFO] [stdout] 554 | #[cfg(feature = "is_sorted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stdout] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stdout] --> src/protocol/column.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg(not(feature = "is_sorted"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stdout] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ValueDateTime64`, `ValueDateTime`, `ValueDate`, `ValueIp4`, `ValueIp6`, and `ValueUuid` [INFO] [stdout] --> src/types/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ValueDate, ValueDateTime, ValueDateTime64, ValueDecimal32, ValueDecimal64, ValueIp4, ValueIp6, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | ValueUuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/types/parser.rs:287:6 [INFO] [stdout] | [INFO] [stdout] 287 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync/waker_set.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut inner = &mut *self.lock(); [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: field `timezone` is never read [INFO] [stdout] --> src/protocol/block.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct ServerBlock { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 229 | pub(crate) timezone: Tz, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/protocol/packet.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait Command: ServerWriter {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cancel` is never constructed [INFO] [stdout] --> src/protocol/packet.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct Cancel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Statistics` is never constructed [INFO] [stdout] --> src/protocol/packet.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Statistics { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn column_iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn column_iter(&self) -> std::slice::Iter<'_, ColumnDataAdapter<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter_rows(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter_rows(&self) -> RowIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn iter(&self) -> ItemIterator { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn iter(&self) -> ItemIterator<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] 97 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 114 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] 114 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn iter_columns(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | pub fn iter_columns(&self) -> Iter<'_, BlockColumn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn iter_values(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn iter_values(&self) -> Iter<'_, ValueRef<'_>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.05s [INFO] running `Command { std: "docker" "inspect" "e08a701d5025dd49d7353a313ee05c8d0f807896b822dc192a599681edb5b2ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e08a701d5025dd49d7353a313ee05c8d0f807896b822dc192a599681edb5b2ac", kill_on_drop: false }` [INFO] [stdout] e08a701d5025dd49d7353a313ee05c8d0f807896b822dc192a599681edb5b2ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7ffa9fa010f84411dfbaf7897f1f3ccffbc0322bdce805a4bd98b404cc8c7f7a [INFO] running `Command { std: "docker" "start" "-a" "7ffa9fa010f84411dfbaf7897f1f3ccffbc0322bdce805a4bd98b404cc8c7f7a", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition name: `lz4` [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(lz4)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lz4)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lz4)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LZ4_compress_default` [INFO] [stdout] --> src/compression/mod.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | LZ4_Compress, LZ4_CompressBounds, LZ4_Decompress, LZ4_compress_default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_nightly` [INFO] [stdout] --> src/protocol/mod.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(rustc_nightly)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stdout] --> src/protocol/column.rs:554:11 [INFO] [stdout] | [INFO] [stdout] 554 | #[cfg(feature = "is_sorted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stdout] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stdout] --> src/protocol/column.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg(not(feature = "is_sorted"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stdout] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ValueDateTime64`, `ValueDateTime`, `ValueDate`, `ValueIp4`, `ValueIp6`, and `ValueUuid` [INFO] [stdout] --> src/types/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ValueDate, ValueDateTime, ValueDateTime64, ValueDecimal32, ValueDecimal64, ValueIp4, ValueIp6, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | ValueUuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/types/parser.rs:287:6 [INFO] [stdout] | [INFO] [stdout] 287 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync/waker_set.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut inner = &mut *self.lock(); [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: field `timezone` is never read [INFO] [stdout] --> src/protocol/block.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct ServerBlock { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 229 | pub(crate) timezone: Tz, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/protocol/packet.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait Command: ServerWriter {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cancel` is never constructed [INFO] [stdout] --> src/protocol/packet.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct Cancel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Statistics` is never constructed [INFO] [stdout] --> src/protocol/packet.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Statistics { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn column_iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn column_iter(&self) -> std::slice::Iter<'_, ColumnDataAdapter<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter_rows(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter_rows(&self) -> RowIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn iter(&self) -> ItemIterator { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn iter(&self) -> ItemIterator<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling clickhouse-driver v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] 97 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 114 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] 114 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn iter_columns(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | pub fn iter_columns(&self) -> Iter<'_, BlockColumn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn iter_values(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn iter_values(&self) -> Iter<'_, ValueRef<'_>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/array.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | $row.value($i)?.ok_or_else($err)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 34 | let id: i64 = get!(row, 0, err); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/array.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | $row.value($i)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 35 | let name: Option = get!(row, 1, err, opt).map(|s: &str| s.to_owned()); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/array.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | $row.value($i)?.ok_or_else($err)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 36 | let ip: Vec = get!(row, 2, err); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/select.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | $row.value($i)?.ok_or_else($err)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 28 | let id: u32 = get!(row, 0, err); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/select.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | $row.value($i)?.ok_or_else($err)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 29 | let name: &str = get!(row, 1, err); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> examples/select.rs:20:42 [INFO] [stdout] | [INFO] [stdout] 20 | $row.value($i)?.ok_or_else($err)?; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 30 | let date: ServerDate = get!(row, 2, err); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, and `ip` are never read [INFO] [stdout] --> examples/array.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct ClickhouseRow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 25 | id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | ip: Vec, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClickhouseRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `date` are never read [INFO] [stdout] --> examples/select.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct Perf { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | id: u32, [INFO] [stdout] 14 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | date: ServerDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Perf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `url`, `date`, `client`, `ip`, and `value` are never read [INFO] [stdout] --> examples/insert-select.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Blob { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 18 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | date: ServerDate, [INFO] [stdout] | ^^^^ [INFO] [stdout] 21 | client: Uuid, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 22 | ip: Ipv4Addr, [INFO] [stdout] | ^^ [INFO] [stdout] 23 | value: Decimal32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Blob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `uuid`, `title`, `dt`, and `ip` are never read [INFO] [stdout] --> tests/query.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 224 | struct RowObject { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 225 | uuid: Uuid, [INFO] [stdout] | ^^^^ [INFO] [stdout] 226 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 227 | dt: CHDT, [INFO] [stdout] | ^^ [INFO] [stdout] 228 | ip: Ipv4Addr, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `lz4` [INFO] [stdout] --> src/lib.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(lz4)] [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lz4)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lz4)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LZ4_compress_default` [INFO] [stdout] --> src/compression/mod.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | LZ4_Compress, LZ4_CompressBounds, LZ4_Decompress, LZ4_compress_default, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rustc_nightly` [INFO] [stdout] --> src/protocol/mod.rs:118:7 [INFO] [stdout] | [INFO] [stdout] 118 | #[cfg(rustc_nightly)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stdout] --> src/protocol/column.rs:554:11 [INFO] [stdout] | [INFO] [stdout] 554 | #[cfg(feature = "is_sorted")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stdout] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stdout] --> src/protocol/column.rs:558:15 [INFO] [stdout] | [INFO] [stdout] 558 | #[cfg(not(feature = "is_sorted"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stdout] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ValueDateTime64`, `ValueDateTime`, `ValueDate`, `ValueIp4`, `ValueIp6`, and `ValueUuid` [INFO] [stdout] --> src/types/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | ValueDate, ValueDateTime, ValueDateTime64, ValueDecimal32, ValueDecimal64, ValueIp4, ValueIp6, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 5 | ValueUuid, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/types/parser.rs:287:6 [INFO] [stdout] | [INFO] [stdout] 287 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sync/waker_set.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | let mut inner = &mut *self.lock(); [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: field `timezone` is never read [INFO] [stdout] --> src/protocol/block.rs:229:16 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct ServerBlock { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 229 | pub(crate) timezone: Tz, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Command` is never used [INFO] [stdout] --> src/protocol/packet.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) trait Command: ServerWriter {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cancel` is never constructed [INFO] [stdout] --> src/protocol/packet.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | pub(crate) struct Cancel; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Statistics` is never constructed [INFO] [stdout] --> src/protocol/packet.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Statistics { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn column_iter(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^ ----------------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 134 | pub fn column_iter(&self) -> std::slice::Iter<'_, ColumnDataAdapter<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:246:22 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter_rows(&self) -> RowIterator { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 246 | pub fn iter_rows(&self) -> RowIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/block.rs:249:33 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn iter(&self) -> ItemIterator { [INFO] [stdout] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 249 | pub fn iter(&self) -> ItemIterator<'_, D> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 97 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] 97 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 114 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] 114 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:353:25 [INFO] [stdout] | [INFO] [stdout] 353 | pub fn iter_columns(&self) -> Iter { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 353 | pub fn iter_columns(&self) -> Iter<'_, BlockColumn> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/protocol/column.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | pub fn iter_values(&self) -> Iter> { [INFO] [stdout] | ^^^^^ ------------------ [INFO] [stdout] | | | | [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 357 | pub fn iter_values(&self) -> Iter<'_, ValueRef<'_>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: clickhouse-driver v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7ffa9fa010f84411dfbaf7897f1f3ccffbc0322bdce805a4bd98b404cc8c7f7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ffa9fa010f84411dfbaf7897f1f3ccffbc0322bdce805a4bd98b404cc8c7f7a", kill_on_drop: false }` [INFO] [stdout] 7ffa9fa010f84411dfbaf7897f1f3ccffbc0322bdce805a4bd98b404cc8c7f7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 32972954e394ac2688c4c471677bf172c8e9d804fd81aff5d8c4cdd42cc67bdd [INFO] running `Command { std: "docker" "start" "-a" "32972954e394ac2688c4c471677bf172c8e9d804fd81aff5d8c4cdd42cc67bdd", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `lz4` [INFO] [stderr] --> src/lib.rs:52:7 [INFO] [stderr] | [INFO] [stderr] 52 | #[cfg(lz4)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(lz4)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(lz4)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `LZ4_compress_default` [INFO] [stderr] --> src/compression/mod.rs:14:55 [INFO] [stderr] | [INFO] [stderr] 14 | LZ4_Compress, LZ4_CompressBounds, LZ4_Decompress, LZ4_compress_default, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `rustc_nightly` [INFO] [stderr] --> src/protocol/mod.rs:118:7 [INFO] [stderr] | [INFO] [stderr] 118 | #[cfg(rustc_nightly)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rustc_nightly)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rustc_nightly)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stderr] --> src/protocol/column.rs:554:11 [INFO] [stderr] | [INFO] [stderr] 554 | #[cfg(feature = "is_sorted")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stderr] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `is_sorted` [INFO] [stderr] --> src/protocol/column.rs:558:15 [INFO] [stderr] | [INFO] [stderr] 558 | #[cfg(not(feature = "is_sorted"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `cityhash`, `cityhash_rs`, `clickhouse-driver-cth`, `clickhouse-driver-cthrs`, `default`, `extra`, `int128`, `recycle`, `tls`, and `tokio-native-tls` [INFO] [stderr] = help: consider adding `is_sorted` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ValueDateTime64`, `ValueDateTime`, `ValueDate`, `ValueIp4`, `ValueIp6`, and `ValueUuid` [INFO] [stderr] --> src/types/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | ValueDate, ValueDateTime, ValueDateTime64, ValueDecimal32, ValueDecimal64, ValueIp4, ValueIp6, [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ [INFO] [stderr] 5 | ValueUuid, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/types/parser.rs:287:6 [INFO] [stderr] | [INFO] [stderr] 287 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sync/waker_set.rs:177:13 [INFO] [stderr] | [INFO] [stderr] 177 | let mut inner = &mut *self.lock(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `timezone` is never read [INFO] [stderr] --> src/protocol/block.rs:229:16 [INFO] [stderr] | [INFO] [stderr] 226 | pub struct ServerBlock { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 229 | pub(crate) timezone: Tz, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ServerBlock` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Command` is never used [INFO] [stderr] --> src/protocol/packet.rs:12:18 [INFO] [stderr] | [INFO] [stderr] 12 | pub(crate) trait Command: ServerWriter {} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Cancel` is never constructed [INFO] [stderr] --> src/protocol/packet.rs:46:19 [INFO] [stderr] | [INFO] [stderr] 46 | pub(crate) struct Cancel; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Statistics` is never constructed [INFO] [stderr] --> src/protocol/packet.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub struct Statistics { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/block.rs:134:24 [INFO] [stderr] | [INFO] [stderr] 134 | pub fn column_iter(&self) -> std::slice::Iter { [INFO] [stderr] | ^^^^^ ----------------------------------- [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 134 | pub fn column_iter(&self) -> std::slice::Iter<'_, ColumnDataAdapter<'_>> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/block.rs:246:22 [INFO] [stderr] | [INFO] [stderr] 246 | pub fn iter_rows(&self) -> RowIterator { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 246 | pub fn iter_rows(&self) -> RowIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/block.rs:249:33 [INFO] [stderr] | [INFO] [stderr] 249 | pub fn iter(&self) -> ItemIterator { [INFO] [stderr] | ^^^^^ --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 249 | pub fn iter(&self) -> ItemIterator<'_, D> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/column.rs:97:13 [INFO] [stderr] | [INFO] [stderr] 97 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stderr] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 97 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stderr] 97 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/column.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stderr] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 114 - fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stderr] 114 + fn get(&'a self, field: &'a Field) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/column.rs:353:25 [INFO] [stderr] | [INFO] [stderr] 353 | pub fn iter_columns(&self) -> Iter { [INFO] [stderr] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 353 | pub fn iter_columns(&self) -> Iter<'_, BlockColumn> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/protocol/column.rs:357:24 [INFO] [stderr] | [INFO] [stderr] 357 | pub fn iter_values(&self) -> Iter> { [INFO] [stderr] | ^^^^^ ------------------ [INFO] [stderr] | | | | [INFO] [stderr] | | | the lifetimes get resolved as `'_` [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 357 | pub fn iter_values(&self) -> Iter<'_, ValueRef<'_>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `clickhouse-driver` (lib) generated 19 warnings (run `cargo fix --lib -p clickhouse-driver` to apply 10 suggestions) [INFO] [stderr] warning: `clickhouse-driver` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] warning: fields `uuid`, `title`, `dt`, and `ip` are never read [INFO] [stderr] --> tests/query.rs:225:9 [INFO] [stderr] | [INFO] [stderr] 224 | struct RowObject { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 225 | uuid: Uuid, [INFO] [stderr] | ^^^^ [INFO] [stderr] 226 | title: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 227 | dt: CHDT, [INFO] [stderr] | ^^ [INFO] [stderr] 228 | ip: Ipv4Addr, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `RowObject` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> examples/array.rs:12:42 [INFO] [stderr] | [INFO] [stderr] 12 | $row.value($i)?.ok_or_else($err)?; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 34 | let id: i64 = get!(row, 0, err); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> examples/array.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | $row.value($i)?; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 35 | let name: Option = get!(row, 1, err, opt).map(|s: &str| s.to_owned()); [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> examples/array.rs:12:42 [INFO] [stderr] | [INFO] [stderr] 12 | $row.value($i)?.ok_or_else($err)?; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 36 | let ip: Vec = get!(row, 2, err); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `name`, and `ip` are never read [INFO] [stderr] --> examples/array.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | struct ClickhouseRow { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 25 | id: i64, [INFO] [stderr] | ^^ [INFO] [stderr] 26 | name: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | ip: Vec, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ClickhouseRow` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> examples/select.rs:20:42 [INFO] [stderr] | [INFO] [stderr] 20 | $row.value($i)?.ok_or_else($err)?; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 28 | let id: u32 = get!(row, 0, err); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stderr] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> examples/select.rs:20:42 [INFO] [stderr] | [INFO] [stderr] 20 | $row.value($i)?.ok_or_else($err)?; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 29 | let name: &str = get!(row, 1, err); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trailing semicolon in macro used in expression position [INFO] [stderr] --> examples/select.rs:20:42 [INFO] [stderr] | [INFO] [stderr] 20 | $row.value($i)?.ok_or_else($err)?; [INFO] [stderr] | ^ [INFO] [stderr] ... [INFO] [stderr] 30 | let date: ServerDate = get!(row, 2, err); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79813 [INFO] [stderr] = note: this warning originates in the macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: fields `name` and `date` are never read [INFO] [stderr] --> examples/select.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | struct Perf { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 13 | id: u32, [INFO] [stderr] 14 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 15 | date: ServerDate, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Perf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `url`, `date`, `client`, `ip`, and `value` are never read [INFO] [stderr] --> examples/insert-select.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 17 | struct Blob { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] 18 | id: u64, [INFO] [stderr] | ^^ [INFO] [stderr] 19 | url: String, [INFO] [stderr] | ^^^ [INFO] [stderr] 20 | date: ServerDate, [INFO] [stderr] | ^^^^ [INFO] [stderr] 21 | client: Uuid, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 22 | ip: Ipv4Addr, [INFO] [stderr] | ^^ [INFO] [stderr] 23 | value: Decimal32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Blob` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `clickhouse-driver` (test "query") generated 1 warning [INFO] [stderr] warning: `clickhouse-driver` (example "array") generated 4 warnings [INFO] [stderr] warning: `clickhouse-driver` (example "select") generated 4 warnings [INFO] [stderr] warning: `clickhouse-driver` (example "insert-select") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: clickhouse-driver v0.1.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/clickhouse_driver-83a432b8fb7bc76f) [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test pool::options::test::test_default_config ... ok [INFO] [stdout] test protocol::command::test::test_async_int ... ok [INFO] [stdout] test protocol::test::test_valueref_size ... ok [INFO] [stdout] test protocol::command::test::test_async_string ... ok [INFO] [stdout] test protocol::command::test::test_async_bool ... ok [INFO] [stdout] test protocol::test::test_meta_index ... ok [INFO] [stdout] test test_encoder ... ok [INFO] [stdout] test types::decimal::test::test_decimal_format ... ok [INFO] [stdout] test pool::test::test_build_pool ... ok [INFO] [stdout] test types::decimal::test::test_decimal_range ... ok [INFO] [stdout] test types::parser::test::test_parse_basic ... ok [INFO] [stdout] test types::parser::test::test_parse_array ... ok [INFO] [stdout] test types::parser::test::test_parse_decimal ... ok [INFO] [stdout] test types::parser::test::test_parse_datetime ... ok [INFO] [stdout] test types::parser::test::test_parse_enum8 ... ok [INFO] [stdout] test types::test::test_field_format_nullable ... ok [INFO] [stdout] test types::test::test_field_format_basic ... ok [INFO] [stdout] test types::test::test_field_format_enum ... ok [INFO] [stdout] test types::test::test_field_format_param ... ok [INFO] [stdout] test types::parser::test::test_parse_lowcardinality ... ok [INFO] [stdout] test pool::options::test::test_configuration ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/insert.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/insert-0c980baa036d621a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test test_insert_nullable ... FAILED [INFO] [stdout] test test_insert_enum ... FAILED [INFO] [stdout] test test_insert_uuid ... FAILED [INFO] [stdout] test test_insert_string ... FAILED [INFO] [stdout] test test_insert_ip ... FAILED [INFO] [stdout] test test_insert_number ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test insert` [INFO] [stdout] test test_insert_decimal ... FAILED [INFO] [stdout] test test_insert_date ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_insert_nullable stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_enum stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_uuid stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_string stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_ip stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_number stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_decimal stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] ---- test_insert_date stdout ---- [INFO] [stdout] Error: Io(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_insert_date [INFO] [stdout] test_insert_decimal [INFO] [stdout] test_insert_enum [INFO] [stdout] test_insert_ip [INFO] [stdout] test_insert_nullable [INFO] [stdout] test_insert_number [INFO] [stdout] test_insert_string [INFO] [stdout] test_insert_uuid [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "32972954e394ac2688c4c471677bf172c8e9d804fd81aff5d8c4cdd42cc67bdd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32972954e394ac2688c4c471677bf172c8e9d804fd81aff5d8c4cdd42cc67bdd", kill_on_drop: false }` [INFO] [stdout] 32972954e394ac2688c4c471677bf172c8e9d804fd81aff5d8c4cdd42cc67bdd