[INFO] fetching crate mysql_cdc 0.2.1... [INFO] checking mysql_cdc-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mysql_cdc 0.2.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate mysql_cdc 0.2.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mysql_cdc 0.2.1 [INFO] finished tweaking crates.io crate mysql_cdc 0.2.1 [INFO] tweaked toml for crates.io crate mysql_cdc 0.2.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate mysql_cdc 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ad81506992a84cf037dfdda5d656b8deb4e73f24d0b814483ad99370013287f [INFO] running `Command { std: "docker" "start" "-a" "4ad81506992a84cf037dfdda5d656b8deb4e73f24d0b814483ad99370013287f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ad81506992a84cf037dfdda5d656b8deb4e73f24d0b814483ad99370013287f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ad81506992a84cf037dfdda5d656b8deb4e73f24d0b814483ad99370013287f", kill_on_drop: false }` [INFO] [stdout] 4ad81506992a84cf037dfdda5d656b8deb4e73f24d0b814483ad99370013287f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89e5773e9636d41854e188f96b9ff758ac71299e5ac49ec6331aff73937bdaeb [INFO] running `Command { std: "docker" "start" "-a" "89e5773e9636d41854e188f96b9ff758ac71299e5ac49ec6331aff73937bdaeb", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking mysql_cdc v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/providers/mysql/gtid/uuid_set.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut left = &mut intervals[index]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth_plugin_name` is never read [INFO] [stdout] --> src/commands/auth_plugin_switch_command.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AuthPluginSwitchCommand { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub auth_plugin_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BODY_LENGTH` is never used [INFO] [stdout] --> src/constants/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MAX_BODY_LENGTH: usize = 16777215; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT_MESSAGE` is never used [INFO] [stdout] --> src/constants/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const TIMEOUT_MESSAGE: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_PASSWORD` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_PASSWORD: u64 = 1 << 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOUND_ROWS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const FOUND_ROWS: u64 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_SCHEMA` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const NO_SCHEMA: u64 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPRESS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COMPRESS: u64 = 1 << 5; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ODBC` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ODBC: u64 = 1 << 6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOCAL_FILES` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LOCAL_FILES: u64 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORE_SPACE` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const IGNORE_SPACE: u64 = 1 << 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERACTIVE` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const INTERACTIVE: u64 = 1 << 10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORE_SIGPIPE` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const IGNORE_SIGPIPE: u64 = 1 << 12; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSACTIONS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TRANSACTIONS: u64 = 1 << 13; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/providers/mysql/gtid/uuid_set.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let mut left = &mut intervals[index]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const RESERVED: u64 = 1 << 14; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTI_STATEMENTS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MULTI_STATEMENTS: u64 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTI_RESULTS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MULTI_RESULTS: u64 = 1 << 17; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PS_MULTI_RESULTS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PS_MULTI_RESULTS: u64 = 1 << 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `warning_count` and `server_status` are never read [INFO] [stdout] --> src/responses/end_of_file_packet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EndOfFilePacket { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | pub warning_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub server_status: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndOfFilePacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_code`, `error_message`, and `sql_state` are never read [INFO] [stdout] --> src/responses/error_packet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ErrorPacket { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub error_code: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub error_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub sql_state: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol_version`, `connection_id`, `server_collation`, `status_flags`, `filler`, and `auth_plugin_length` are never read [INFO] [stdout] --> src/responses/handshake_packet.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HandshakePacket { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 11 | pub protocol_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub server_version: String, [INFO] [stdout] 13 | pub connection_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub server_collation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub status_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | pub filler: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub auth_plugin_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandshakePacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binlog_client.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 38 | let (mut channel, provider) = self.connect()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(BinlogEvents::new(channel, checksum)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binlog_events.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(Error::String(format!("Event stream error. {:?}", error))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binlog_reader.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(mut stream: File) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | stream, [INFO] [stdout] 30 | | parser: EventParser::new(), [INFO] [stdout] 31 | | payload_buffer: vec![0; constants::PAYLOAD_BUFFER_SIZE], [INFO] [stdout] 32 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connect.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | let mut channel = PacketChannel::new(&self.options)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Ok((channel, DatabaseProvider::from(&handshake.server_version))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packet_channel.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 15 | let stream = TcpStream::connect(address)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Ok(Self { stream }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ResponseType` should have a snake case name [INFO] [stdout] --> src/responses/response_type.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ResponseType { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `response_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mysql_cdc` (lib) due to 6 previous errors; 22 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `auth_plugin_name` is never read [INFO] [stdout] --> src/commands/auth_plugin_switch_command.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AuthPluginSwitchCommand { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub auth_plugin_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_BODY_LENGTH` is never used [INFO] [stdout] --> src/constants/mod.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const MAX_BODY_LENGTH: usize = 16777215; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIMEOUT_MESSAGE` is never used [INFO] [stdout] --> src/constants/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const TIMEOUT_MESSAGE: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_PASSWORD` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_PASSWORD: u64 = 1 << 0; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FOUND_ROWS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const FOUND_ROWS: u64 = 1 << 1; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NO_SCHEMA` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const NO_SCHEMA: u64 = 1 << 4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMPRESS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const COMPRESS: u64 = 1 << 5; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ODBC` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const ODBC: u64 = 1 << 6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOCAL_FILES` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const LOCAL_FILES: u64 = 1 << 7; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORE_SPACE` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const IGNORE_SPACE: u64 = 1 << 8; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INTERACTIVE` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const INTERACTIVE: u64 = 1 << 10; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORE_SIGPIPE` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const IGNORE_SIGPIPE: u64 = 1 << 12; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSACTIONS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const TRANSACTIONS: u64 = 1 << 13; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const RESERVED: u64 = 1 << 14; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTI_STATEMENTS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const MULTI_STATEMENTS: u64 = 1 << 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MULTI_RESULTS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const MULTI_RESULTS: u64 = 1 << 17; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PS_MULTI_RESULTS` is never used [INFO] [stdout] --> src/constants/capability_flags.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PS_MULTI_RESULTS: u64 = 1 << 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `warning_count` and `server_status` are never read [INFO] [stdout] --> src/responses/end_of_file_packet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct EndOfFilePacket { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 8 | pub warning_count: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub server_status: u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EndOfFilePacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error_code`, `error_message`, and `sql_state` are never read [INFO] [stdout] --> src/responses/error_packet.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ErrorPacket { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 8 | pub error_code: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 9 | pub error_message: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | pub sql_state: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorPacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `protocol_version`, `connection_id`, `server_collation`, `status_flags`, `filler`, and `auth_plugin_length` are never read [INFO] [stdout] --> src/responses/handshake_packet.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct HandshakePacket { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 11 | pub protocol_version: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub server_version: String, [INFO] [stdout] 13 | pub connection_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | pub server_collation: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub status_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | pub filler: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 19 | pub auth_plugin_length: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HandshakePacket` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binlog_client.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 38 | let (mut channel, provider) = self.connect()?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | Ok(BinlogEvents::new(channel, checksum)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binlog_events.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(Error::String(format!("Event stream error. {:?}", error))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/binlog_reader.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(mut stream: File) -> Result { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 28 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | stream, [INFO] [stdout] 30 | | parser: EventParser::new(), [INFO] [stdout] 31 | | payload_buffer: vec![0; constants::PAYLOAD_BUFFER_SIZE], [INFO] [stdout] 32 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/connect.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | let mut channel = PacketChannel::new(&self.options)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | Ok((channel, DatabaseProvider::from(&handshake.server_version))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/packet_channel.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 15 | let stream = TcpStream::connect(address)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | Ok(Self { stream }) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ResponseType` should have a snake case name [INFO] [stdout] --> src/responses/response_type.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ResponseType { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `response_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mysql_cdc` (lib test) due to 6 previous errors; 22 warnings emitted [INFO] running `Command { std: "docker" "inspect" "89e5773e9636d41854e188f96b9ff758ac71299e5ac49ec6331aff73937bdaeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89e5773e9636d41854e188f96b9ff758ac71299e5ac49ec6331aff73937bdaeb", kill_on_drop: false }` [INFO] [stdout] 89e5773e9636d41854e188f96b9ff758ac71299e5ac49ec6331aff73937bdaeb