[INFO] fetching crate cdbc-mysql 0.1.14... [INFO] testing cdbc-mysql-0.1.14 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate cdbc-mysql 0.1.14 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate cdbc-mysql 0.1.14 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cdbc-mysql 0.1.14 [INFO] finished tweaking crates.io crate cdbc-mysql 0.1.14 [INFO] tweaked toml for crates.io crate cdbc-mysql 0.1.14 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded spki v0.4.1 [INFO] [stderr] Downloaded zeroize v1.4.3 [INFO] [stderr] Downloaded pem-rfc7468 v0.2.4 [INFO] [stderr] Downloaded const-oid v0.6.2 [INFO] [stderr] Downloaded crypto-bigint v0.2.11 [INFO] [stderr] Downloaded num-bigint-dig v0.7.0 [INFO] [stderr] Downloaded der v0.4.5 [INFO] [stderr] Downloaded pkcs8 v0.7.6 [INFO] [stderr] Downloaded rsa v0.5.0 [INFO] [stderr] Downloaded base64ct v1.1.1 [INFO] [stderr] Downloaded pkcs1 v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1fb289454403c84d8ff41b4613ddae12fe97d52f5a9453b5ac24227a27cb5ec [INFO] running `Command { std: "docker" "start" "-a" "a1fb289454403c84d8ff41b4613ddae12fe97d52f5a9453b5ac24227a27cb5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1fb289454403c84d8ff41b4613ddae12fe97d52f5a9453b5ac24227a27cb5ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fb289454403c84d8ff41b4613ddae12fe97d52f5a9453b5ac24227a27cb5ec", kill_on_drop: false }` [INFO] [stdout] a1fb289454403c84d8ff41b4613ddae12fe97d52f5a9453b5ac24227a27cb5ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc37a91ed9223ab366a97778f97d321e895ff99ce87e443401ce90dbf05461f6 [INFO] running `Command { std: "docker" "start" "-a" "bc37a91ed9223ab366a97778f97d321e895ff99ce87e443401ce90dbf05461f6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling cdbc-macro v0.1.3 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling mco-gen v0.1.0 [INFO] [stderr] Compiling mco v0.1.43 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [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 thiserror v1.0.30 [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 serde v1.0.136 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling rand v0.8.5 [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 sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [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.21 [INFO] [stderr] Compiling cdbc-mysql v0.1.14 (/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: `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.21/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.21/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 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:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.06s [INFO] running `Command { std: "docker" "inspect" "bc37a91ed9223ab366a97778f97d321e895ff99ce87e443401ce90dbf05461f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc37a91ed9223ab366a97778f97d321e895ff99ce87e443401ce90dbf05461f6", kill_on_drop: false }` [INFO] [stdout] bc37a91ed9223ab366a97778f97d321e895ff99ce87e443401ce90dbf05461f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad369f9c36634a64dee102be7a3a83bfe50cdaf8e39ae9272f337b384d0fdf9 [INFO] running `Command { std: "docker" "start" "-a" "cad369f9c36634a64dee102be7a3a83bfe50cdaf8e39ae9272f337b384d0fdf9", kill_on_drop: false }` [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: `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.21/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.21/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 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:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cdbc-mysql v0.1.14 (/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: `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.21/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.21/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 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:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | 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: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "cad369f9c36634a64dee102be7a3a83bfe50cdaf8e39ae9272f337b384d0fdf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad369f9c36634a64dee102be7a3a83bfe50cdaf8e39ae9272f337b384d0fdf9", kill_on_drop: false }` [INFO] [stdout] cad369f9c36634a64dee102be7a3a83bfe50cdaf8e39ae9272f337b384d0fdf9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82883cefaa04602cda7e754c78ffd2e089f6fc1a4434075adf382da1a9a8ab58 [INFO] running `Command { std: "docker" "start" "-a" "82883cefaa04602cda7e754c78ffd2e089f6fc1a4434075adf382da1a9a8ab58", kill_on_drop: false }` [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: `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.21/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.21/src/io/chan_stream.rs:115:26 [INFO] [stderr] | [INFO] [stderr] 115 | macro_rules! end { [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:220:17 [INFO] [stderr] | [INFO] [stderr] 220 | 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 26 warnings [INFO] [stderr] warning: `cdbc-mysql` (lib test) generated 23 warnings (22 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cdbc_mysql-650ee92f5be10e28) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test io::buf_mut::test_encodes_byte_lenenc ... 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 io::buf_mut::test_encodes_int_lenenc_fd ... 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 io::buf_mut::test_encodes_int_lenenc_u16 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u24 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u8 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_int_lenenc_u64 ... ok [INFO] [stdout] test io::buf_mut::test_encodes_string_lenenc ... ok [INFO] [stdout] test protocol::connect::handshake::test_decode_handshake_mariadb_10_4_7 ... ok [INFO] [stdout] test protocol::connect::handshake::test_decode_handshake_mysql_8_0_18 ... ok [INFO] [stdout] test options::parse::it_parses_username_with_at_sign_correctly ... ok [INFO] [stdout] test options::parse::it_parses_password_with_non_ascii_chars_correctly ... ok [INFO] [stdout] test protocol::response::err::test_decode_err_packet_out_of_order ... ok [INFO] [stdout] test protocol::response::err::test_decode_err_packet_unknown_database ... 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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cdbc-mysql [INFO] [stdout] [INFO] [stdout] running 4 tests [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] 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] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions::ssl_ca (line 156) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::mysql::{MySqlSslMode, MySqlConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlSslMode` [INFO] [stdout] --> src/options/mod.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 5 | .ssl_mode(MySqlSslMode::VerifyCa) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MySqlSslMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlConnectOptions` [INFO] [stdout] --> src/options/mod.rs:158:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = MySqlConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_mysql::MySqlConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::mysql::{MySqlSslMode, MySqlConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlSslMode` [INFO] [stdout] --> src/options/mod.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 5 | .ssl_mode(MySqlSslMode::VerifyCa) [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MySqlSslMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlConnectOptions` [INFO] [stdout] --> src/options/mod.rs:173:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = MySqlConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_mysql::MySqlConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 2 | use sqlx_core::error::Error; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::connection::{Connection, ConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx_core::mysql::{MySqlConnectOptions, MySqlConnection, MySqlSslMode}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlConnection` [INFO] [stdout] --> src/options/mod.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 8 | let conn = MySqlConnection::connect("mysql://root:password@localhost/db")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_mysql::MySqlConnection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlConnectOptions` [INFO] [stdout] --> src/options/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 11 | let conn = MySqlConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_mysql::MySqlConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/options/mod.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() ->Result<()>{ [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 6 | fn main() ->Result<(), E>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/options/mod.rs - options::MySqlConnectOptions::ssl_mode (line 142) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sqlx_core` [INFO] [stdout] --> src/options/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx_core::mysql::{MySqlSslMode, MySqlConnectOptions}; [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `sqlx_core` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlSslMode` [INFO] [stdout] --> src/options/mod.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 5 | .ssl_mode(MySqlSslMode::Required); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MySqlSslMode` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MySqlConnectOptions` [INFO] [stdout] --> src/options/mod.rs:144:15 [INFO] [stdout] | [INFO] [stdout] 4 | let options = MySqlConnectOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use cdbc_mysql::MySqlConnectOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [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.11s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "82883cefaa04602cda7e754c78ffd2e089f6fc1a4434075adf382da1a9a8ab58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82883cefaa04602cda7e754c78ffd2e089f6fc1a4434075adf382da1a9a8ab58", kill_on_drop: false }` [INFO] [stdout] 82883cefaa04602cda7e754c78ffd2e089f6fc1a4434075adf382da1a9a8ab58