[INFO] fetching crate cdbc-mysql 0.1.22... [INFO] testing cdbc-mysql-0.1.22 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate cdbc-mysql 0.1.22 into /workspace/builds/worker-30/source [INFO] validating manifest of crates.io crate cdbc-mysql 0.1.22 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 cdbc-mysql 0.1.22 [INFO] finished tweaking crates.io crate cdbc-mysql 0.1.22 [INFO] tweaked toml for crates.io crate cdbc-mysql 0.1.22 written to /workspace/builds/worker-30/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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] f27b5668a5897bba18f175d755988b555548efb91f937597720ae9b1e41f3beb [INFO] running `Command { std: "docker" "start" "-a" "f27b5668a5897bba18f175d755988b555548efb91f937597720ae9b1e41f3beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f27b5668a5897bba18f175d755988b555548efb91f937597720ae9b1e41f3beb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f27b5668a5897bba18f175d755988b555548efb91f937597720ae9b1e41f3beb", kill_on_drop: false }` [INFO] [stdout] f27b5668a5897bba18f175d755988b555548efb91f937597720ae9b1e41f3beb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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] 4138c27b4dc0f8a02bd404247aa3ad4a2f2cc3829d91ea1a8de0c68dc1d527f4 [INFO] running `Command { std: "docker" "start" "-a" "4138c27b4dc0f8a02bd404247aa3ad4a2f2cc3829d91ea1a8de0c68dc1d527f4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling mco-gen v0.1.0 [INFO] [stderr] Compiling mco v0.1.43 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling nix v0.21.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling cdbc-macro v0.1.23 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crypto-bigint v0.2.11 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling der v0.4.5 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Compiling spki v0.4.1 [INFO] [stderr] Compiling pkcs8 v0.7.6 [INFO] [stderr] Compiling rsa v0.5.0 [INFO] [stderr] Compiling cdbc v0.1.23 [INFO] [stderr] Compiling cdbc-mysql v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Execute` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use cdbc::executor::{Execute, Executor}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySql` [INFO] [stdout] --> src/connection/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{MySql, MySqlConnectOptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/connection/executor.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{borrow::Cow, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/connection/executor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use cdbc::io::chan_stream::{ChanStream, Stream, TryStream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | macro_rules! err_end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! end { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database`, `HasStatement` [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | use cdbc::database::{Database, HasStatement}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::describe::Describe` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use cdbc::describe::Describe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::Error` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use cdbc::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::io::chan_stream::ChanStream` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use cdbc::io::chan_stream::ChanStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_certs` [INFO] [stdout] --> src/connection/tls.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let accept_invalid_certs = !matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_host_names` [INFO] [stdout] --> src/connection/tls.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let accept_invalid_host_names = !matches!(options.ssl_mode, MySqlSslMode::VerifyIdentity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_host_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol_version` [INFO] [stdout] --> src/protocol/connect/handshake.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) protocol_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `connection_id` [INFO] [stdout] --> src/protocol/connect/handshake.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) connection_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `server_default_collation` [INFO] [stdout] --> src/protocol/connect/handshake.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) server_default_collation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `status` [INFO] [stdout] --> src/protocol/connect/handshake.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) status: Status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `warnings` [INFO] [stdout] --> src/protocol/statement/prepare_ok.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) warnings: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrepareOk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/statement/prepare_ok.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(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: `catalog` [INFO] [stdout] --> src/protocol/text/column.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | catalog: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `schema` [INFO] [stdout] --> src/protocol/text/column.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | schema: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `table_alias` [INFO] [stdout] --> src/protocol/text/column.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | table_alias: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `table` [INFO] [stdout] --> src/protocol/text/column.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | table: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `decimals` [INFO] [stdout] --> src/protocol/text/column.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | decimals: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | r#yield!(Either::Left(done)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | / r#yield!(Either::Left(MySqlQueryResult { [INFO] [stdout] 171 | | rows_affected: 0, [INFO] [stdout] 172 | | last_insert_id: 0, [INFO] [stdout] 173 | | })); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.15s [INFO] running `Command { std: "docker" "inspect" "4138c27b4dc0f8a02bd404247aa3ad4a2f2cc3829d91ea1a8de0c68dc1d527f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4138c27b4dc0f8a02bd404247aa3ad4a2f2cc3829d91ea1a8de0c68dc1d527f4", kill_on_drop: false }` [INFO] [stdout] 4138c27b4dc0f8a02bd404247aa3ad4a2f2cc3829d91ea1a8de0c68dc1d527f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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] 478c0b42e790aba50cec1880fb3b169b91d5caf5c0cb78df0e80efe06171bcac [INFO] running `Command { std: "docker" "start" "-a" "478c0b42e790aba50cec1880fb3b169b91d5caf5c0cb78df0e80efe06171bcac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Execute` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use cdbc::executor::{Execute, Executor}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySql` [INFO] [stdout] --> src/connection/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{MySql, MySqlConnectOptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/connection/executor.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{borrow::Cow, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/connection/executor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use cdbc::io::chan_stream::{ChanStream, Stream, TryStream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | macro_rules! err_end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! end { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database`, `HasStatement` [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | use cdbc::database::{Database, HasStatement}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::describe::Describe` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use cdbc::describe::Describe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::Error` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use cdbc::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::io::chan_stream::ChanStream` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use cdbc::io::chan_stream::ChanStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_certs` [INFO] [stdout] --> src/connection/tls.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let accept_invalid_certs = !matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_host_names` [INFO] [stdout] --> src/connection/tls.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let accept_invalid_host_names = !matches!(options.ssl_mode, MySqlSslMode::VerifyIdentity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_host_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `protocol_version` [INFO] [stdout] --> src/protocol/connect/handshake.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) protocol_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `connection_id` [INFO] [stdout] --> src/protocol/connect/handshake.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) connection_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `server_default_collation` [INFO] [stdout] --> src/protocol/connect/handshake.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) server_default_collation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `status` [INFO] [stdout] --> src/protocol/connect/handshake.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) status: Status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `warnings` [INFO] [stdout] --> src/protocol/statement/prepare_ok.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) warnings: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrepareOk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/statement/prepare_ok.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(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: `catalog` [INFO] [stdout] --> src/protocol/text/column.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | catalog: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `schema` [INFO] [stdout] --> src/protocol/text/column.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | schema: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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] [stderr] Compiling cdbc-mysql v0.1.22 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `table_alias` [INFO] [stdout] --> src/protocol/text/column.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | table_alias: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `table` [INFO] [stdout] --> src/protocol/text/column.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | table: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `decimals` [INFO] [stdout] --> src/protocol/text/column.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | decimals: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | r#yield!(Either::Left(done)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | / r#yield!(Either::Left(MySqlQueryResult { [INFO] [stdout] 171 | | rows_affected: 0, [INFO] [stdout] 172 | | last_insert_id: 0, [INFO] [stdout] 173 | | })); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `either::Either` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use either::Either; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Execute` [INFO] [stdout] --> src/lib.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use cdbc::executor::{Execute, Executor}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MySql` [INFO] [stdout] --> src/connection/mod.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{MySql, MySqlConnectOptions}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::Cow` [INFO] [stdout] --> src/connection/executor.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | use std::{borrow::Cow, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> src/connection/executor.rs:21:41 [INFO] [stdout] | [INFO] [stdout] 21 | use cdbc::io::chan_stream::{ChanStream, Stream, TryStream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `err_end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:108:26 [INFO] [stdout] | [INFO] [stdout] 108 | macro_rules! err_end { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `end` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:115:26 [INFO] [stdout] | [INFO] [stdout] 115 | macro_rules! end { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Database`, `HasStatement` [INFO] [stdout] --> src/lib.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | use cdbc::database::{Database, HasStatement}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::describe::Describe` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use cdbc::describe::Describe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::Error` [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use cdbc::Error; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cdbc::io::chan_stream::ChanStream` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use cdbc::io::chan_stream::ChanStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_certs` [INFO] [stdout] --> src/connection/tls.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | let accept_invalid_certs = !matches!( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `accept_invalid_host_names` [INFO] [stdout] --> src/connection/tls.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let accept_invalid_host_names = !matches!(options.ssl_mode, MySqlSslMode::VerifyIdentity); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_host_names` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `connection_id` [INFO] [stdout] --> src/protocol/connect/handshake.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) connection_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(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: `warnings` [INFO] [stdout] --> src/protocol/statement/prepare_ok.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) warnings: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PrepareOk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/statement/prepare_ok.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(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: `catalog` [INFO] [stdout] --> src/protocol/text/column.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | catalog: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `schema` [INFO] [stdout] --> src/protocol/text/column.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | schema: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `table_alias` [INFO] [stdout] --> src/protocol/text/column.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | table_alias: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `table` [INFO] [stdout] --> src/protocol/text/column.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | table: Bytes, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: `decimals` [INFO] [stdout] --> src/protocol/text/column.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | decimals: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/protocol/text/column.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | #[derive(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: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:137:21 [INFO] [stdout] | [INFO] [stdout] 137 | r#yield!(Either::Left(done)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | / r#yield!(Either::Left(MySqlQueryResult { [INFO] [stdout] 171 | | rows_affected: 0, [INFO] [stdout] 172 | | last_insert_id: 0, [INFO] [stdout] 173 | | })); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/connection/executor.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | r#yield!(v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.86s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/cdbc_mysql-f02307adc7e89eb5) [INFO] running `Command { std: "docker" "inspect" "478c0b42e790aba50cec1880fb3b169b91d5caf5c0cb78df0e80efe06171bcac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478c0b42e790aba50cec1880fb3b169b91d5caf5c0cb78df0e80efe06171bcac", kill_on_drop: false }` [INFO] [stdout] 478c0b42e790aba50cec1880fb3b169b91d5caf5c0cb78df0e80efe06171bcac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-30/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] 0401d2c5bcb39f44f6a45c08fb11f42c89512b876d6b94005ba85a6e0ceba660 [INFO] running `Command { std: "docker" "start" "-a" "0401d2c5bcb39f44f6a45c08fb11f42c89512b876d6b94005ba85a6e0ceba660", 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] [stderr] warning: unused import: `either::Either` [INFO] [stderr] --> src/lib.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use either::Either; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Execute` [INFO] [stderr] --> src/lib.rs:10:22 [INFO] [stderr] | [INFO] [stderr] 10 | use cdbc::executor::{Execute, Executor}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `MySql` [INFO] [stderr] --> src/connection/mod.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use crate::{MySql, MySqlConnectOptions}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `borrow::Cow` [INFO] [stderr] --> src/connection/executor.rs:19:11 [INFO] [stderr] | [INFO] [stderr] 19 | use std::{borrow::Cow, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stream` [INFO] [stderr] --> src/connection/executor.rs:21:41 [INFO] [stderr] | [INFO] [stderr] 21 | use cdbc::io::chan_stream::{ChanStream, Stream, TryStream}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `err_end` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:108:26 [INFO] [stderr] | [INFO] [stderr] 108 | macro_rules! err_end { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `end` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/cdbc-0.1.23/src/io/chan_stream.rs:115:26 [INFO] [stderr] | [INFO] [stderr] 115 | macro_rules! end { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/statement.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Database`, `HasStatement` [INFO] [stderr] --> src/lib.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | use cdbc::database::{Database, HasStatement}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cdbc::describe::Describe` [INFO] [stderr] --> src/lib.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use cdbc::describe::Describe; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cdbc::Error` [INFO] [stderr] --> src/lib.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | use cdbc::Error; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cdbc::io::chan_stream::ChanStream` [INFO] [stderr] --> src/lib.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | use cdbc::io::chan_stream::ChanStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accept_invalid_certs` [INFO] [stderr] --> src/connection/tls.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | let accept_invalid_certs = !matches!( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_certs` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `accept_invalid_host_names` [INFO] [stderr] --> src/connection/tls.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let accept_invalid_host_names = !matches!(options.ssl_mode, MySqlSslMode::VerifyIdentity); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_accept_invalid_host_names` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `protocol_version` [INFO] [stderr] --> src/protocol/connect/handshake.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | pub(crate) protocol_version: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(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: `connection_id` [INFO] [stderr] --> src/protocol/connect/handshake.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) connection_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(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: `server_default_collation` [INFO] [stderr] --> src/protocol/connect/handshake.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | pub(crate) server_default_collation: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(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: `status` [INFO] [stderr] --> src/protocol/connect/handshake.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) status: Status, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(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: `warnings` [INFO] [stderr] --> src/protocol/statement/prepare_ok.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub(crate) warnings: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PrepareOk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/statement/prepare_ok.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(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: `catalog` [INFO] [stderr] --> src/protocol/text/column.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | catalog: Bytes, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/text/column.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(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: `schema` [INFO] [stderr] --> src/protocol/text/column.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | schema: Bytes, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/text/column.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(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: `table_alias` [INFO] [stderr] --> src/protocol/text/column.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | table_alias: Bytes, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/text/column.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(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: `table` [INFO] [stderr] --> src/protocol/text/column.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | table: Bytes, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/text/column.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(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: `decimals` [INFO] [stderr] --> src/protocol/text/column.rs:114:5 [INFO] [stderr] | [INFO] [stderr] 114 | decimals: u8, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ColumnDefinition` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/text/column.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | #[derive(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: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:137:21 [INFO] [stderr] | [INFO] [stderr] 137 | r#yield!(Either::Left(done)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:170:25 [INFO] [stderr] | [INFO] [stderr] 170 | / r#yield!(Either::Left(MySqlQueryResult { [INFO] [stderr] 171 | | rows_affected: 0, [INFO] [stderr] 172 | | last_insert_id: 0, [INFO] [stderr] 173 | | })); [INFO] [stderr] | |___________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:196:21 [INFO] [stderr] | [INFO] [stderr] 196 | r#yield!(v); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/connection/executor.rs:219:17 [INFO] [stderr] | [INFO] [stderr] 219 | r#yield!(v); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `yield` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `connection_id` [INFO] [stderr] --> src/protocol/connect/handshake.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub(crate) connection_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Handshake` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/protocol/connect/handshake.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(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: `cdbc-mysql` (lib) generated 28 warnings [INFO] [stderr] warning: `cdbc-mysql` (lib test) generated 25 warnings (24 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.35s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cdbc_mysql-f02307adc7e89eb5) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u16 ... ok [INFO] [stdout] test protocol::connect::handshake::test_decode_handshake_mariadb_10_4_7 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u24 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u64 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u8 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_byte_lenenc ... ok [INFO] [stdout] test io::buf_mut::test_encodes_string_lenenc ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_fe ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_ff ... ok [INFO] [stdout] test protocol::connect::handshake::test_decode_handshake_mysql_8_0_18 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_fb ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_fc ... ok [INFO] [stdout] test protocol::response::err::test_decode_err_packet_out_of_order ... ok [INFO] [stdout] test options::parse::it_parses_password_with_non_ascii_chars_correctly ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_fd ... ok [INFO] [stdout] test protocol::response::err::test_decode_err_packet_unknown_database ... ok [INFO] [stdout] test options::parse::it_parses_username_with_at_sign_correctly ... ok [INFO] [stdout] test protocol::response::ok::test_decode_ok_packet ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests cdbc-mysql [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/options/mod.rs - options::MySqlConnectOptions (line 32) - compile ... FAILED [INFO] [stdout] test src/options/mod.rs - options::MySqlConnectOptions::ssl_mode (line 142) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::MySqlConnectOptions::ssl_ca (line 156) ... FAILED [INFO] [stdout] test src/options/mod.rs - options::MySqlConnectOptions::ssl_ca_from_pem (line 171) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions (line 32) stdout ---- [INFO] [stdout] error: expected identifier, found `::` [INFO] [stdout] --> src/options/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 6 | use cdbc_mysql::::{MySqlConnectOptions, MySqlConnection, MySqlSslMode}; [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions::ssl_mode (line 142) stdout ---- [INFO] [stdout] error: expected identifier, found `::` [INFO] [stdout] --> src/options/mod.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 4 | use cdbc_mysql::::{MySqlSslMode, MySqlConnectOptions}; [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions::ssl_ca (line 156) stdout ---- [INFO] [stdout] error: expected identifier, found `::` [INFO] [stdout] --> src/options/mod.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 4 | use cdbc_mysql::::{MySqlSslMode, MySqlConnectOptions}; [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions::ssl_ca_from_pem (line 171) stdout ---- [INFO] [stdout] error: expected identifier, found `::` [INFO] [stdout] --> src/options/mod.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 4 | use cdbc_mysql::::{MySqlSslMode, MySqlConnectOptions}; [INFO] [stdout] | ^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/options/mod.rs - options::MySqlConnectOptions (line 32) [INFO] [stdout] src/options/mod.rs - options::MySqlConnectOptions::ssl_ca (line 156) [INFO] [stdout] src/options/mod.rs - options::MySqlConnectOptions::ssl_ca_from_pem (line 171) [INFO] [stdout] src/options/mod.rs - options::MySqlConnectOptions::ssl_mode (line 142) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0401d2c5bcb39f44f6a45c08fb11f42c89512b876d6b94005ba85a6e0ceba660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0401d2c5bcb39f44f6a45c08fb11f42c89512b876d6b94005ba85a6e0ceba660", kill_on_drop: false }` [INFO] [stdout] 0401d2c5bcb39f44f6a45c08fb11f42c89512b876d6b94005ba85a6e0ceba660