[INFO] fetching crate taos-optin 0.12.4... [INFO] checking taos-optin-0.12.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate taos-optin 0.12.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate taos-optin 0.12.4 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate taos-optin 0.12.4 [INFO] finished tweaking crates.io crate taos-optin 0.12.4 [INFO] tweaked toml for crates.io crate taos-optin 0.12.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate taos-optin 0.12.4 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef7511a04034fdeb67816195e8be92474db7d61f93ef7be3ec468670d1f2cd72 [INFO] running `Command { std: "docker" "start" "-a" "ef7511a04034fdeb67816195e8be92474db7d61f93ef7be3ec468670d1f2cd72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef7511a04034fdeb67816195e8be92474db7d61f93ef7be3ec468670d1f2cd72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef7511a04034fdeb67816195e8be92474db7d61f93ef7be3ec468670d1f2cd72", kill_on_drop: false }` [INFO] [stdout] ef7511a04034fdeb67816195e8be92474db7d61f93ef7be3ec468670d1f2cd72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 93222e6d15aefd143ac67e4ccd31da847776cc2071bcef4c798fa2f0d4fe4322 [INFO] running `Command { std: "docker" "start" "-a" "93222e6d15aefd143ac67e4ccd31da847776cc2071bcef4c798fa2f0d4fe4322", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.29.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling backtrace v0.3.72 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking object v0.35.0 [INFO] [stderr] Checking num-bigint v0.2.6 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking addr2line v0.22.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking num-rational v0.2.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Checking num-complex v0.2.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling taos-error v0.12.4 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling taos-query v0.12.4 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Checking encode_unicode v1.0.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parse_duration v2.1.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking pretty_env_logger v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling dlopen2_derive v0.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling taos-macros v0.2.16 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Checking dlopen2 v0.6.1 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling fun_time_derive v0.3.4 [INFO] [stderr] Checking fun_time v0.3.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Checking derive_builder v0.12.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking faststr v0.2.19 [INFO] [stderr] Checking prettytable v0.10.0 [INFO] [stderr] Checking mdsn v0.2.25 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking taos-optin v0.12.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `taos_optin` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/stmt/mod.rs [INFO] [stderr] * src/tmq/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:45:18 [INFO] [stderr] | [INFO] [stderr] 45 | ($res:ident, $code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | ($res:ident, $code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | ($res:ident, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:59:6 [INFO] [stderr] | [INFO] [stderr] 59 | ($code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | ($code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:70:6 [INFO] [stderr] | [INFO] [stderr] 70 | ($code:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:106:57 [INFO] [stderr] | [INFO] [stderr] 106 | async fn prepare(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:111:60 [INFO] [stderr] | [INFO] [stderr] 111 | async fn set_tbname(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:116:83 [INFO] [stderr] | [INFO] [stderr] 116 | async fn set_tags(&mut self, tags: &[taos_query::common::Value]) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:127:86 [INFO] [stderr] | [INFO] [stderr] 127 | async fn bind(&mut self, params: &[taos_query::common::ColumnView]) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:134:48 [INFO] [stderr] | [INFO] [stderr] 134 | async fn add_batch(&mut self) -> RawResult<&mut Self> { [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | | [INFO] [stderr] | lifetime `'life0` declared here [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/tmq/mod.rs:185:49 [INFO] [stderr] | [INFO] [stderr] 185 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | | [INFO] [stderr] | lifetime `'life0` declared here [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:518:49 [INFO] [stderr] | [INFO] [stderr] 518 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | | [INFO] [stderr] | lifetime `'life0` declared here [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/query_future.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 78 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1550:15 [INFO] [stdout] | [INFO] [stdout] 1550 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1550 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1627:15 [INFO] [stdout] | [INFO] [stdout] 1627 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1627 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | async fn prepare(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:111:60 [INFO] [stdout] | [INFO] [stdout] 111 | async fn set_tbname(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | async fn set_tags(&mut self, tags: &[taos_query::common::Value]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | async fn bind(&mut self, params: &[taos_query::common::ColumnView]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | async fn add_batch(&mut self) -> RawResult<&mut Self> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/tmq/mod.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr_2021, $ret:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr, $ret:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ($res:ident, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 56 | ($res:ident, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr_2021, $ret:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr, $ret:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | ($code:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 70 | ($code:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:518:49 [INFO] [stdout] | [INFO] [stdout] 518 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let param = Box::from_raw(param as *mut AsyncQueryParam); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/query_future.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / unsafe extern "C" fn taos_optin_query_future_callback( [INFO] [stdout] 81 | | param: *mut c_void, [INFO] [stdout] 82 | | res: *mut TAOS_RES, [INFO] [stdout] 83 | | code: c_int, [INFO] [stdout] 84 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let s = { &mut *state.get() }; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | ... CStr::from_ptr(param.sql).to_string_lossy() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::RawRes::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(RawRes::from_ptr_unchecked(s.api.clone(), res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | (self.tmq_list_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub(crate) unsafe fn new(&self) -> *mut tmq_list_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | (self.tmq_list_destroy)(list) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) unsafe fn destroy(&self, list: *mut tmq_list_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TmqListApi::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | let list = self.new(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / pub(crate) unsafe fn from_c_str_iter<'a, T: IntoCStr<'a>>( [INFO] [stdout] 234 | | &self, [INFO] [stdout] 235 | | iter: impl IntoIterator, [INFO] [stdout] 236 | | ) -> Result<*mut tmq_list_t, RawError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | (self.tmq_conf_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) unsafe fn new(&self) -> *mut tmq_conf_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | (self.tmq_conf_destroy)(conf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub(crate) unsafe fn destroy(&self, conf: *mut tmq_conf_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | (self.tmq_conf_set)(conf, key.as_ptr(), value.as_ptr()).ok(k, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / pub(crate) unsafe fn set( [INFO] [stdout] 298 | | &self, [INFO] [stdout] 299 | | conf: *mut tmq_conf_t, [INFO] [stdout] 300 | | k: &str, [INFO] [stdout] 301 | | v: &str, [INFO] [stdout] 302 | | ) -> Result<(), RawError> { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | let tmq = (self.tmq_consumer_new)(conf, err.as_mut_ptr() as _, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | pub(crate) unsafe fn consumer(&self, conf: *mut tmq_conf_t) -> Result<*mut tmq_t, RawError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | (self.c.taos_fetch_lengths)(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | unsafe fn fetch_lengths_raw(&self) -> *const i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1557:29 [INFO] [stdout] | [INFO] [stdout] 1557 | let param = Box::from_raw(param); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1551:13 [INFO] [stdout] | [INFO] [stdout] 1551 | / unsafe extern "C" fn taos_optin_fetch_rows_callback( [INFO] [stdout] 1552 | | param: *mut c_void, [INFO] [stdout] 1553 | | res: *mut TAOS_RES, [INFO] [stdout] 1554 | | num_of_rows: c_int, [INFO] [stdout] 1555 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1559:34 [INFO] [stdout] | [INFO] [stdout] 1559 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | Box::from_raw(param as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1628:13 [INFO] [stdout] | [INFO] [stdout] 1628 | / unsafe extern "C" fn taos_optin_fetch_raw_block_callback( [INFO] [stdout] 1629 | | param: *mut c_void, [INFO] [stdout] 1630 | | res: *mut TAOS_RES, [INFO] [stdout] 1631 | | num_of_rows: c_int, [INFO] [stdout] 1632 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1637:38 [INFO] [stdout] | [INFO] [stdout] 1637 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1652:41 [INFO] [stdout] | [INFO] [stdout] 1652 | ... let block = (param.1.taos_get_raw_block.unwrap())(res) as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let _ = Box::from_raw(self.buffer as *mut bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe fn free(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | let _ = Box::from_raw(self.buffer as *mut i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | let _ = Box::from_raw(self.buffer as *mut i16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | let _ = Box::from_raw(self.buffer as *mut i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let _ = Box::from_raw(self.buffer as *mut u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | let _ = Box::from_raw(self.buffer as *mut u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | let _ = Box::from_raw(self.buffer as *mut u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let _ = Box::from_raw(self.buffer as *mut u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | let _ = Box::from_raw(self.buffer as *mut f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let _ = Box::from_raw(self.buffer as *mut f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let _ = Box::from_raw(self.length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let _ = Box::from_raw(self.is_null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::from_raw(self.error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / unsafe extern "C" fn tmq_commit_async_cb( [INFO] [stdout] 92 | | _tmq: *mut tmq_t, [INFO] [stdout] 93 | | resp: tmq_resp_err_t, [INFO] [stdout] 94 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 95 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | / unsafe extern "C" fn tmq_commit_offset_async_cb( [INFO] [stdout] 125 | | _tmq: *mut tmq_t, [INFO] [stdout] 126 | | resp: tmq_resp_err_t, [INFO] [stdout] 127 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 128 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(taos) = self.inner_conn.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.inner_conn.get() { Some(taos) => { [INFO] [stdout] 234 | Ok(taos) [INFO] [stdout] 235 ~ } _ => { [INFO] [stdout] 236 | let ptr = self [INFO] [stdout] ... [INFO] [stdout] 242 | self.inner_conn.get_or_try_init(|| taos) [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:393:26 [INFO] [stdout] | [INFO] [stdout] 393 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 393 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 394 | Edition::new(edition, expired) [INFO] [stdout] 395 ~ } _ => { [INFO] [stdout] 396 | let grant: RawResult> = [INFO] [stdout] ... [INFO] [stdout] 407 | } [INFO] [stdout] 408 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:399:16 [INFO] [stdout] | [INFO] [stdout] 399 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 400 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 403 | ) [INFO] [stdout] 404 ~ } _ => { [INFO] [stdout] 405 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 406 | Edition::new("unknown", true) [INFO] [stdout] 407 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 420 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 421 | Edition::new(edition, expired) [INFO] [stdout] 422 ~ } _ => { [INFO] [stdout] 423 | let grant: RawResult> = [INFO] [stdout] ... [INFO] [stdout] 434 | } [INFO] [stdout] 435 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:426:16 [INFO] [stdout] | [INFO] [stdout] 426 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 426 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 427 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 430 | ) [INFO] [stdout] 431 ~ } _ => { [INFO] [stdout] 432 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 433 | Edition::new("unknown", true) [INFO] [stdout] 434 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:549:26 [INFO] [stdout] | [INFO] [stdout] 549 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 549 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 550 | Edition::new(edition, expired) [INFO] [stdout] 551 ~ } _ => { [INFO] [stdout] 552 | let grant: RawResult> = time::timeout( [INFO] [stdout] ... [INFO] [stdout] 567 | } [INFO] [stdout] 568 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 560 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 563 | ) [INFO] [stdout] 564 ~ } _ => { [INFO] [stdout] 565 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 566 | Edition::new("unknown", true) [INFO] [stdout] 567 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 587 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 588 | Edition::new(edition, expired) [INFO] [stdout] 589 ~ } _ => { [INFO] [stdout] 590 | let grant: RawResult> = time::timeout( [INFO] [stdout] ... [INFO] [stdout] 605 | } [INFO] [stdout] 606 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 597 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 598 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 601 | ) [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 604 | Edition::new("unknown", true) [INFO] [stdout] 605 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:526:22 [INFO] [stdout] | [INFO] [stdout] 526 | let lib = if let Some(lib) = guard.get(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 526 ~ let lib = match guard.get(&path) { Some(lib) => { [INFO] [stdout] 527 | lib.clone() [INFO] [stdout] 528 ~ } _ => { [INFO] [stdout] 529 | let lib = Library::open(path.as_os_str())?; [INFO] [stdout] ... [INFO] [stdout] 533 | lib [INFO] [stdout] 534 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | if let Some(taos_query_with_req_id) = self.c.taos_query_with_reqid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 956 ~ match self.c.taos_query_with_reqid { Some(taos_query_with_req_id) => { [INFO] [stdout] 957 | RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] 958 | (taos_query_with_req_id)(self.as_ptr(), sql.as_ptr(), req_id) [INFO] [stdout] 959 | }) [INFO] [stdout] 960 ~ } _ => { [INFO] [stdout] 961 | unimplemented!("2.x does not support req_id") [INFO] [stdout] 962 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1066:12 [INFO] [stdout] | [INFO] [stdout] 1066 | if let Some(f) = self.c.taos_write_raw_block_with_fields { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1093 | } else if let Some(f) = self.c.taos_write_raw_block { [INFO] [stdout] | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | } else if let Some(f) = self.c.taos_write_raw_block { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1100 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1066 ~ match self.c.taos_write_raw_block_with_fields { Some(f) => { [INFO] [stdout] 1067 | let tmq_err2str = self [INFO] [stdout] ... [INFO] [stdout] 1092 | } [INFO] [stdout] 1093 ~ } _ => { match self.c.taos_write_raw_block { Some(f) => { [INFO] [stdout] 1094 | err_or!(f( [INFO] [stdout] ... [INFO] [stdout] 1099 | )) [INFO] [stdout] 1100 ~ } _ => { [INFO] [stdout] 1101 | unimplemented!("2.x does not support write raw block") [INFO] [stdout] 1102 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1116:12 [INFO] [stdout] | [INFO] [stdout] 1116 | if let Some(f) = self.c.taos_write_raw_block_with_fields_with_reqid { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1145 | } else if let Some(f) = self.c.taos_write_raw_block_with_reqid { [INFO] [stdout] | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1145:9 [INFO] [stdout] | [INFO] [stdout] 1145 | } else if let Some(f) = self.c.taos_write_raw_block_with_reqid { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1116 ~ match self.c.taos_write_raw_block_with_fields_with_reqid { Some(f) => { [INFO] [stdout] 1117 | let fields: Vec<_> = block.fields().into_iter().map(|f| f.to_c_field()).collect(); [INFO] [stdout] ... [INFO] [stdout] 1144 | } [INFO] [stdout] 1145 ~ } _ => { match self.c.taos_write_raw_block_with_reqid { Some(f) => { [INFO] [stdout] 1146 | err_or!(f( [INFO] [stdout] ... [INFO] [stdout] 1152 | )) [INFO] [stdout] 1153 ~ } _ => { [INFO] [stdout] 1154 | self.write_raw_block(block) [INFO] [stdout] 1155 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1172:16 [INFO] [stdout] | [INFO] [stdout] 1172 | if let Some(taos_schemaless_insert_raw_ttl_with_reqid) = [INFO] [stdout] | ________________^ [INFO] [stdout] 1173 | | self.c.taos_schemaless_insert_raw_ttl_with_reqid [INFO] [stdout] | |_________________------_________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1172 ~ match self.c.taos_schemaless_insert_raw_ttl_with_reqid [INFO] [stdout] 1173 ~ { Some(taos_schemaless_insert_raw_ttl_with_reqid) => { [INFO] [stdout] 1174 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1185 | }); [INFO] [stdout] 1186 ~ } _ => { [INFO] [stdout] 1187 | unimplemented!("does not support schemaless") [INFO] [stdout] 1188 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1192:16 [INFO] [stdout] | [INFO] [stdout] 1192 | if let Some(taos_schemaless_insert_raw_with_reqid) = [INFO] [stdout] | ________________^ [INFO] [stdout] 1193 | | self.c.taos_schemaless_insert_raw_with_reqid [INFO] [stdout] | |_________________------_____________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1192 ~ match self.c.taos_schemaless_insert_raw_with_reqid [INFO] [stdout] 1193 ~ { Some(taos_schemaless_insert_raw_with_reqid) => { [INFO] [stdout] 1194 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1204 | }); [INFO] [stdout] 1205 ~ } _ => { [INFO] [stdout] 1206 | unimplemented!("does not support schemaless") [INFO] [stdout] 1207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1211:16 [INFO] [stdout] | [INFO] [stdout] 1211 | if let Some(taos_schemaless_insert_raw_ttl) = self.c.taos_schemaless_insert_raw_ttl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1211 ~ match self.c.taos_schemaless_insert_raw_ttl { Some(taos_schemaless_insert_raw_ttl) => { [INFO] [stdout] 1212 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1222 | }); [INFO] [stdout] 1223 ~ } _ => { [INFO] [stdout] 1224 | unimplemented!("does not support schemaless") [INFO] [stdout] 1225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1228:16 [INFO] [stdout] | [INFO] [stdout] 1228 | if let Some(taos_schemaless_insert_raw) = self.c.taos_schemaless_insert_raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1239:13 [INFO] [stdout] | [INFO] [stdout] 1239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1228 ~ match self.c.taos_schemaless_insert_raw { Some(taos_schemaless_insert_raw) => { [INFO] [stdout] 1229 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1238 | }); [INFO] [stdout] 1239 ~ } _ => { [INFO] [stdout] 1240 | unimplemented!("does not support schemaless") [INFO] [stdout] 1241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1387:12 [INFO] [stdout] | [INFO] [stdout] 1387 | if let Some(taos_fetch_block_s) = self.c.taos_fetch_block_s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1387 ~ match self.c.taos_fetch_block_s { Some(taos_fetch_block_s) => { [INFO] [stdout] 1388 | let fetch = [INFO] [stdout] ... [INFO] [stdout] 1411 | } [INFO] [stdout] 1412 ~ } _ => { [INFO] [stdout] 1413 | num = unsafe { (self.c.taos_fetch_block)(self.as_ptr(), &mut block as _) }; [INFO] [stdout] ... [INFO] [stdout] 1428 | } [INFO] [stdout] 1429 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1527:12 [INFO] [stdout] | [INFO] [stdout] 1527 | if let Some(res) = current.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1547:9 [INFO] [stdout] | [INFO] [stdout] 1547 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1527 ~ match current.result.take() { Some(res) => { [INFO] [stdout] 1528 | let item = res.map(|block| { [INFO] [stdout] ... [INFO] [stdout] 1546 | Poll::Ready(item) [INFO] [stdout] 1547 ~ } _ => { [INFO] [stdout] 1548 | current.in_use = true; [INFO] [stdout] ... [INFO] [stdout] 1596 | Poll::Pending [INFO] [stdout] 1597 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1613:12 [INFO] [stdout] | [INFO] [stdout] 1613 | if let Some(res) = current.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1624:9 [INFO] [stdout] | [INFO] [stdout] 1624 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1613 ~ match current.result.take() { Some(res) => { [INFO] [stdout] 1614 | let item = res.map(|block| { [INFO] [stdout] ... [INFO] [stdout] 1623 | Poll::Ready(item) [INFO] [stdout] 1624 ~ } _ => { [INFO] [stdout] 1625 | current.in_use = true; [INFO] [stdout] ... [INFO] [stdout] 1670 | Poll::Pending [INFO] [stdout] 1671 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1636:20 [INFO] [stdout] | [INFO] [stdout] 1636 | if let Some(state) = param.0.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1661:17 [INFO] [stdout] | [INFO] [stdout] 1661 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1636 ~ match param.0.upgrade() { Some(state) => { [INFO] [stdout] 1637 | let state = &mut *state.get(); [INFO] [stdout] ... [INFO] [stdout] 1660 | param.2.wake() [INFO] [stdout] 1661 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(result) = state.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match state.result.take() { Some(result) => { [INFO] [stdout] 65 | let d = state.time.elapsed(); [INFO] [stdout] ... [INFO] [stdout] 70 | Poll::Ready(result) [INFO] [stdout] 71 ~ } _ => { [INFO] [stdout] 72 | if state.waiting { [INFO] [stdout] ... [INFO] [stdout] 142| Poll::Pending [INFO] [stdout] 143~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(state) = param.state.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match param.state.upgrade() { Some(state) => { [INFO] [stdout] 91 | // let state = param.read(); [INFO] [stdout] ... [INFO] [stdout] 126 | param.waker.wake(); [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | tracing::trace!("Query callback received but no listener"); [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 112 | Edition::new(edition, expired) [INFO] [stdout] 113 ~ } _ => { [INFO] [stdout] 114 | let grant: RawResult> = [INFO] [stdout] ... [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 118 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 121 | ) [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | tracing::warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 124 | Edition::new("unknown", true) [INFO] [stdout] 125 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 208 | Edition::new(edition, expired) [INFO] [stdout] 209 ~ } _ => { [INFO] [stdout] 210 | let grant: RawResult> = time::timeout( [INFO] [stdout] ... [INFO] [stdout] 225 | } [INFO] [stdout] 226 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 218 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 221 | ) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | tracing::warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 224 | Edition::new("unknown", true) [INFO] [stdout] 225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/raw.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(res) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/raw.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 185 ~ match res { Some(res) => { [INFO] [stdout] 186 | tracing::trace!("received tmq message in {:?}", elapsed.elapsed()); [INFO] [stdout] 187 | break res; [INFO] [stdout] 188 ~ } _ => { [INFO] [stdout] 189 | tokio::time::sleep(Duration::from_millis(1)).await; [INFO] [stdout] 190 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 80 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `taos_optin` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] * src/stmt/mod.rs [INFO] [stderr] * src/tmq/mod.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:45:18 [INFO] [stderr] | [INFO] [stderr] 45 | ($res:ident, $code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:45:35 [INFO] [stderr] | [INFO] [stderr] 45 | ($res:ident, $code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | ($res:ident, $code:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:59:6 [INFO] [stderr] | [INFO] [stderr] 59 | ($code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | ($code:expr_2021, $ret:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/lib.rs:70:6 [INFO] [stderr] | [INFO] [stderr] 70 | ($code:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:106:57 [INFO] [stderr] | [INFO] [stderr] 106 | async fn prepare(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:111:60 [INFO] [stderr] | [INFO] [stderr] 111 | async fn set_tbname(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:116:83 [INFO] [stderr] | [INFO] [stderr] 116 | async fn set_tags(&mut self, tags: &[taos_query::common::Value]) -> RawResult<&mut Self> { [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:127:86 [INFO] [stderr] | [INFO] [stderr] 127 | async fn bind(&mut self, params: &[taos_query::common::ColumnView]) -> RawResult<&mut Self> { [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/query_future.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] = note: `--force-warn unsafe-attr-outside-unsafe` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 78 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1550:15 [INFO] [stdout] | [INFO] [stdout] 1550 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1550 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/stmt/mod.rs:134:48 [INFO] [stderr] | [INFO] [stderr] 134 | async fn add_batch(&mut self) -> RawResult<&mut Self> { [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | | [INFO] [stderr] | lifetime `'life0` declared here [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/tmq/mod.rs:185:49 [INFO] [stderr] | [INFO] [stderr] 185 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | | [INFO] [stderr] | lifetime `'life0` declared here [INFO] [stderr] [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/lib.rs:518:49 [INFO] [stderr] | [INFO] [stderr] 518 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stderr] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stderr] | | [INFO] [stderr] | lifetime `'life0` declared here [INFO] [stderr] [INFO] [stderr] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1627:15 [INFO] [stdout] | [INFO] [stdout] 1627 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #123757 [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1627 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | async fn prepare(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:111:60 [INFO] [stdout] | [INFO] [stdout] 111 | async fn set_tbname(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | async fn set_tags(&mut self, tags: &[taos_query::common::Value]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | async fn bind(&mut self, params: &[taos_query::common::ColumnView]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | async fn add_batch(&mut self) -> RawResult<&mut Self> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/tmq/mod.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr_2021, $ret:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:45:35 [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 45 | ($res:ident, $code:expr, $ret:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | ($res:ident, $code:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 56 | ($res:ident, $code:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr_2021, $ret:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr, $ret:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 59 | ($code:expr, $ret:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/lib.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | ($code:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 70 | ($code:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:518:49 [INFO] [stdout] | [INFO] [stdout] 518 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let param = Box::from_raw(param as *mut AsyncQueryParam); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/query_future.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / unsafe extern "C" fn taos_optin_query_future_callback( [INFO] [stdout] 81 | | param: *mut c_void, [INFO] [stdout] 82 | | res: *mut TAOS_RES, [INFO] [stdout] 83 | | code: c_int, [INFO] [stdout] 84 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let s = { &mut *state.get() }; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | ... CStr::from_ptr(param.sql).to_string_lossy() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::RawRes::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(RawRes::from_ptr_unchecked(s.api.clone(), res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | (self.tmq_list_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub(crate) unsafe fn new(&self) -> *mut tmq_list_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | (self.tmq_list_destroy)(list) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) unsafe fn destroy(&self, list: *mut tmq_list_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TmqListApi::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | let list = self.new(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / pub(crate) unsafe fn from_c_str_iter<'a, T: IntoCStr<'a>>( [INFO] [stdout] 234 | | &self, [INFO] [stdout] 235 | | iter: impl IntoIterator, [INFO] [stdout] 236 | | ) -> Result<*mut tmq_list_t, RawError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | (self.tmq_conf_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) unsafe fn new(&self) -> *mut tmq_conf_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | (self.tmq_conf_destroy)(conf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub(crate) unsafe fn destroy(&self, conf: *mut tmq_conf_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | (self.tmq_conf_set)(conf, key.as_ptr(), value.as_ptr()).ok(k, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / pub(crate) unsafe fn set( [INFO] [stdout] 298 | | &self, [INFO] [stdout] 299 | | conf: *mut tmq_conf_t, [INFO] [stdout] 300 | | k: &str, [INFO] [stdout] 301 | | v: &str, [INFO] [stdout] 302 | | ) -> Result<(), RawError> { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | let tmq = (self.tmq_consumer_new)(conf, err.as_mut_ptr() as _, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | pub(crate) unsafe fn consumer(&self, conf: *mut tmq_conf_t) -> Result<*mut tmq_t, RawError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | (self.c.taos_fetch_lengths)(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | unsafe fn fetch_lengths_raw(&self) -> *const i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1557:29 [INFO] [stdout] | [INFO] [stdout] 1557 | let param = Box::from_raw(param); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1551:13 [INFO] [stdout] | [INFO] [stdout] 1551 | / unsafe extern "C" fn taos_optin_fetch_rows_callback( [INFO] [stdout] 1552 | | param: *mut c_void, [INFO] [stdout] 1553 | | res: *mut TAOS_RES, [INFO] [stdout] 1554 | | num_of_rows: c_int, [INFO] [stdout] 1555 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1559:34 [INFO] [stdout] | [INFO] [stdout] 1559 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | Box::from_raw(param as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1628:13 [INFO] [stdout] | [INFO] [stdout] 1628 | / unsafe extern "C" fn taos_optin_fetch_raw_block_callback( [INFO] [stdout] 1629 | | param: *mut c_void, [INFO] [stdout] 1630 | | res: *mut TAOS_RES, [INFO] [stdout] 1631 | | num_of_rows: c_int, [INFO] [stdout] 1632 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1637:38 [INFO] [stdout] | [INFO] [stdout] 1637 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1652:41 [INFO] [stdout] | [INFO] [stdout] 1652 | ... let block = (param.1.taos_get_raw_block.unwrap())(res) as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let _ = Box::from_raw(self.buffer as *mut bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe fn free(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | let _ = Box::from_raw(self.buffer as *mut i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | let _ = Box::from_raw(self.buffer as *mut i16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | let _ = Box::from_raw(self.buffer as *mut i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let _ = Box::from_raw(self.buffer as *mut u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | let _ = Box::from_raw(self.buffer as *mut u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | let _ = Box::from_raw(self.buffer as *mut u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let _ = Box::from_raw(self.buffer as *mut u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | let _ = Box::from_raw(self.buffer as *mut f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let _ = Box::from_raw(self.buffer as *mut f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let _ = Box::from_raw(self.length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let _ = Box::from_raw(self.is_null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::from_raw(self.error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / unsafe extern "C" fn tmq_commit_async_cb( [INFO] [stdout] 92 | | _tmq: *mut tmq_t, [INFO] [stdout] 93 | | resp: tmq_resp_err_t, [INFO] [stdout] 94 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 95 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | / unsafe extern "C" fn tmq_commit_offset_async_cb( [INFO] [stdout] 125 | | _tmq: *mut tmq_t, [INFO] [stdout] 126 | | resp: tmq_resp_err_t, [INFO] [stdout] 127 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 128 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 851 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 852 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 874 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 875 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 894 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 895 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 916 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 916 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 917 ~ unsafe { std::env::set_var("RUST_LOG", "debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:982:9 [INFO] [stdout] | [INFO] [stdout] 982 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 982 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 983 ~ unsafe { std::env::set_var("RUST_LOG", "taos=debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1048 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1049 ~ unsafe { std::env::set_var("RUST_LOG", "taos=debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1118:9 [INFO] [stdout] | [INFO] [stdout] 1118 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1118 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1119 ~ unsafe { std::env::set_var("RUST_LOG", "taos=debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1181 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1182 ~ unsafe { std::env::set_var("RUST_LOG", "taos=debug") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | if let Some(taos) = self.inner_conn.get() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 233 ~ match self.inner_conn.get() { Some(taos) => { [INFO] [stdout] 234 | Ok(taos) [INFO] [stdout] 235 ~ } _ => { [INFO] [stdout] 236 | let ptr = self [INFO] [stdout] ... [INFO] [stdout] 242 | self.inner_conn.get_or_try_init(|| taos) [INFO] [stdout] 243 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:393:26 [INFO] [stdout] | [INFO] [stdout] 393 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 393 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 394 | Edition::new(edition, expired) [INFO] [stdout] 395 ~ } _ => { [INFO] [stdout] 396 | let grant: RawResult> = [INFO] [stdout] ... [INFO] [stdout] 407 | } [INFO] [stdout] 408 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:399:16 [INFO] [stdout] | [INFO] [stdout] 399 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 399 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 400 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 403 | ) [INFO] [stdout] 404 ~ } _ => { [INFO] [stdout] 405 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 406 | Edition::new("unknown", true) [INFO] [stdout] 407 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:420:26 [INFO] [stdout] | [INFO] [stdout] 420 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 420 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 421 | Edition::new(edition, expired) [INFO] [stdout] 422 ~ } _ => { [INFO] [stdout] 423 | let grant: RawResult> = [INFO] [stdout] ... [INFO] [stdout] 434 | } [INFO] [stdout] 435 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:426:16 [INFO] [stdout] | [INFO] [stdout] 426 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 426 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 427 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 430 | ) [INFO] [stdout] 431 ~ } _ => { [INFO] [stdout] 432 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 433 | Edition::new("unknown", true) [INFO] [stdout] 434 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:549:26 [INFO] [stdout] | [INFO] [stdout] 549 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 549 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 550 | Edition::new(edition, expired) [INFO] [stdout] 551 ~ } _ => { [INFO] [stdout] 552 | let grant: RawResult> = time::timeout( [INFO] [stdout] ... [INFO] [stdout] 567 | } [INFO] [stdout] 568 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:559:16 [INFO] [stdout] | [INFO] [stdout] 559 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 559 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 560 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 563 | ) [INFO] [stdout] 564 ~ } _ => { [INFO] [stdout] 565 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 566 | Edition::new("unknown", true) [INFO] [stdout] 567 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:587:26 [INFO] [stdout] | [INFO] [stdout] 587 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:589:9 [INFO] [stdout] | [INFO] [stdout] 589 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 587 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 588 | Edition::new(edition, expired) [INFO] [stdout] 589 ~ } _ => { [INFO] [stdout] 590 | let grant: RawResult> = time::timeout( [INFO] [stdout] ... [INFO] [stdout] 605 | } [INFO] [stdout] 606 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:597:16 [INFO] [stdout] | [INFO] [stdout] 597 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:602:13 [INFO] [stdout] | [INFO] [stdout] 602 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 597 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 598 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 601 | ) [INFO] [stdout] 602 ~ } _ => { [INFO] [stdout] 603 | warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 604 | Edition::new("unknown", true) [INFO] [stdout] 605 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:526:22 [INFO] [stdout] | [INFO] [stdout] 526 | let lib = if let Some(lib) = guard.get(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 526 ~ let lib = match guard.get(&path) { Some(lib) => { [INFO] [stdout] 527 | lib.clone() [INFO] [stdout] 528 ~ } _ => { [INFO] [stdout] 529 | let lib = Library::open(path.as_os_str())?; [INFO] [stdout] ... [INFO] [stdout] 533 | lib [INFO] [stdout] 534 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:956:12 [INFO] [stdout] | [INFO] [stdout] 956 | if let Some(taos_query_with_req_id) = self.c.taos_query_with_reqid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:960:9 [INFO] [stdout] | [INFO] [stdout] 960 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 956 ~ match self.c.taos_query_with_reqid { Some(taos_query_with_req_id) => { [INFO] [stdout] 957 | RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] 958 | (taos_query_with_req_id)(self.as_ptr(), sql.as_ptr(), req_id) [INFO] [stdout] 959 | }) [INFO] [stdout] 960 ~ } _ => { [INFO] [stdout] 961 | unimplemented!("2.x does not support req_id") [INFO] [stdout] 962 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1066:12 [INFO] [stdout] | [INFO] [stdout] 1066 | if let Some(f) = self.c.taos_write_raw_block_with_fields { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1093 | } else if let Some(f) = self.c.taos_write_raw_block { [INFO] [stdout] | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1093:9 [INFO] [stdout] | [INFO] [stdout] 1093 | } else if let Some(f) = self.c.taos_write_raw_block { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1100:9 [INFO] [stdout] | [INFO] [stdout] 1100 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1066 ~ match self.c.taos_write_raw_block_with_fields { Some(f) => { [INFO] [stdout] 1067 | let tmq_err2str = self [INFO] [stdout] ... [INFO] [stdout] 1092 | } [INFO] [stdout] 1093 ~ } _ => { match self.c.taos_write_raw_block { Some(f) => { [INFO] [stdout] 1094 | err_or!(f( [INFO] [stdout] ... [INFO] [stdout] 1099 | )) [INFO] [stdout] 1100 ~ } _ => { [INFO] [stdout] 1101 | unimplemented!("2.x does not support write raw block") [INFO] [stdout] 1102 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1116:12 [INFO] [stdout] | [INFO] [stdout] 1116 | if let Some(f) = self.c.taos_write_raw_block_with_fields_with_reqid { [INFO] [stdout] | ^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] ... [INFO] [stdout] 1145 | } else if let Some(f) = self.c.taos_write_raw_block_with_reqid { [INFO] [stdout] | ------ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1145:9 [INFO] [stdout] | [INFO] [stdout] 1145 | } else if let Some(f) = self.c.taos_write_raw_block_with_reqid { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1116 ~ match self.c.taos_write_raw_block_with_fields_with_reqid { Some(f) => { [INFO] [stdout] 1117 | let fields: Vec<_> = block.fields().into_iter().map(|f| f.to_c_field()).collect(); [INFO] [stdout] ... [INFO] [stdout] 1144 | } [INFO] [stdout] 1145 ~ } _ => { match self.c.taos_write_raw_block_with_reqid { Some(f) => { [INFO] [stdout] 1146 | err_or!(f( [INFO] [stdout] ... [INFO] [stdout] 1152 | )) [INFO] [stdout] 1153 ~ } _ => { [INFO] [stdout] 1154 | self.write_raw_block(block) [INFO] [stdout] 1155 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1172:16 [INFO] [stdout] | [INFO] [stdout] 1172 | if let Some(taos_schemaless_insert_raw_ttl_with_reqid) = [INFO] [stdout] | ________________^ [INFO] [stdout] 1173 | | self.c.taos_schemaless_insert_raw_ttl_with_reqid [INFO] [stdout] | |_________________------_________________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1187:13 [INFO] [stdout] | [INFO] [stdout] 1187 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1172 ~ match self.c.taos_schemaless_insert_raw_ttl_with_reqid [INFO] [stdout] 1173 ~ { Some(taos_schemaless_insert_raw_ttl_with_reqid) => { [INFO] [stdout] 1174 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1185 | }); [INFO] [stdout] 1186 ~ } _ => { [INFO] [stdout] 1187 | unimplemented!("does not support schemaless") [INFO] [stdout] 1188 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1192:16 [INFO] [stdout] | [INFO] [stdout] 1192 | if let Some(taos_schemaless_insert_raw_with_reqid) = [INFO] [stdout] | ________________^ [INFO] [stdout] 1193 | | self.c.taos_schemaless_insert_raw_with_reqid [INFO] [stdout] | |_________________------_____________________________________^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1206:13 [INFO] [stdout] | [INFO] [stdout] 1206 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1192 ~ match self.c.taos_schemaless_insert_raw_with_reqid [INFO] [stdout] 1193 ~ { Some(taos_schemaless_insert_raw_with_reqid) => { [INFO] [stdout] 1194 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1204 | }); [INFO] [stdout] 1205 ~ } _ => { [INFO] [stdout] 1206 | unimplemented!("does not support schemaless") [INFO] [stdout] 1207 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1211:16 [INFO] [stdout] | [INFO] [stdout] 1211 | if let Some(taos_schemaless_insert_raw_ttl) = self.c.taos_schemaless_insert_raw_ttl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1223:13 [INFO] [stdout] | [INFO] [stdout] 1223 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1211 ~ match self.c.taos_schemaless_insert_raw_ttl { Some(taos_schemaless_insert_raw_ttl) => { [INFO] [stdout] 1212 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1222 | }); [INFO] [stdout] 1223 ~ } _ => { [INFO] [stdout] 1224 | unimplemented!("does not support schemaless") [INFO] [stdout] 1225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1228:16 [INFO] [stdout] | [INFO] [stdout] 1228 | if let Some(taos_schemaless_insert_raw) = self.c.taos_schemaless_insert_raw { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1239:13 [INFO] [stdout] | [INFO] [stdout] 1239 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1228 ~ match self.c.taos_schemaless_insert_raw { Some(taos_schemaless_insert_raw) => { [INFO] [stdout] 1229 | res = RawRes::from_ptr(self.c.clone(), unsafe { [INFO] [stdout] ... [INFO] [stdout] 1238 | }); [INFO] [stdout] 1239 ~ } _ => { [INFO] [stdout] 1240 | unimplemented!("does not support schemaless") [INFO] [stdout] 1241 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1387:12 [INFO] [stdout] | [INFO] [stdout] 1387 | if let Some(taos_fetch_block_s) = self.c.taos_fetch_block_s { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1387 ~ match self.c.taos_fetch_block_s { Some(taos_fetch_block_s) => { [INFO] [stdout] 1388 | let fetch = [INFO] [stdout] ... [INFO] [stdout] 1411 | } [INFO] [stdout] 1412 ~ } _ => { [INFO] [stdout] 1413 | num = unsafe { (self.c.taos_fetch_block)(self.as_ptr(), &mut block as _) }; [INFO] [stdout] ... [INFO] [stdout] 1428 | } [INFO] [stdout] 1429 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1527:12 [INFO] [stdout] | [INFO] [stdout] 1527 | if let Some(res) = current.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1547:9 [INFO] [stdout] | [INFO] [stdout] 1547 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1527 ~ match current.result.take() { Some(res) => { [INFO] [stdout] 1528 | let item = res.map(|block| { [INFO] [stdout] ... [INFO] [stdout] 1546 | Poll::Ready(item) [INFO] [stdout] 1547 ~ } _ => { [INFO] [stdout] 1548 | current.in_use = true; [INFO] [stdout] ... [INFO] [stdout] 1596 | Poll::Pending [INFO] [stdout] 1597 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1613:12 [INFO] [stdout] | [INFO] [stdout] 1613 | if let Some(res) = current.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1624:9 [INFO] [stdout] | [INFO] [stdout] 1624 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1613 ~ match current.result.take() { Some(res) => { [INFO] [stdout] 1614 | let item = res.map(|block| { [INFO] [stdout] ... [INFO] [stdout] 1623 | Poll::Ready(item) [INFO] [stdout] 1624 ~ } _ => { [INFO] [stdout] 1625 | current.in_use = true; [INFO] [stdout] ... [INFO] [stdout] 1670 | Poll::Pending [INFO] [stdout] 1671 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1636:20 [INFO] [stdout] | [INFO] [stdout] 1636 | if let Some(state) = param.0.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/mod.rs:1661:17 [INFO] [stdout] | [INFO] [stdout] 1661 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1636 ~ match param.0.upgrade() { Some(state) => { [INFO] [stdout] 1637 | let state = &mut *state.get(); [INFO] [stdout] ... [INFO] [stdout] 1660 | param.2.wake() [INFO] [stdout] 1661 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | if let Some(result) = state.result.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 64 ~ match state.result.take() { Some(result) => { [INFO] [stdout] 65 | let d = state.time.elapsed(); [INFO] [stdout] ... [INFO] [stdout] 70 | Poll::Ready(result) [INFO] [stdout] 71 ~ } _ => { [INFO] [stdout] 72 | if state.waiting { [INFO] [stdout] ... [INFO] [stdout] 142| Poll::Pending [INFO] [stdout] 143~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(state) = param.state.upgrade() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/raw/query_future.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match param.state.upgrade() { Some(state) => { [INFO] [stdout] 91 | // let state = param.read(); [INFO] [stdout] ... [INFO] [stdout] 126 | param.waker.wake(); [INFO] [stdout] 127 ~ } _ => { [INFO] [stdout] 128 | tracing::trace!("Query callback received but no listener"); [INFO] [stdout] 129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/stmt/mod.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | if let Some(raw) = res.fetch_raw_block()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/stmt/mod.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 485 ~ match res.fetch_raw_block()? { Some(raw) => { [INFO] [stdout] 486 | assert_eq!(raw.nrows(), 2); [INFO] [stdout] 487 ~ } _ => { [INFO] [stdout] 488 | panic!("no data retrieved"); [INFO] [stdout] 489 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:111:26 [INFO] [stdout] | [INFO] [stdout] 111 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 111 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 112 | Edition::new(edition, expired) [INFO] [stdout] 113 ~ } _ => { [INFO] [stdout] 114 | let grant: RawResult> = [INFO] [stdout] ... [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 118 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 121 | ) [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | tracing::warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 124 | Edition::new("unknown", true) [INFO] [stdout] 125 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:207:26 [INFO] [stdout] | [INFO] [stdout] 207 | let edition = if let Ok(Some((edition, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:209:9 [INFO] [stdout] | [INFO] [stdout] 209 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 207 ~ let edition = match grant { Ok(Some((edition, expired))) => { [INFO] [stdout] 208 | Edition::new(edition, expired) [INFO] [stdout] 209 ~ } _ => { [INFO] [stdout] 210 | let grant: RawResult> = time::timeout( [INFO] [stdout] ... [INFO] [stdout] 225 | } [INFO] [stdout] 226 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:217:16 [INFO] [stdout] | [INFO] [stdout] 217 | if let Ok(Some((edition, _, expired))) = grant { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 217 ~ match grant { Ok(Some((edition, _, expired))) => { [INFO] [stdout] 218 | Edition::new( [INFO] [stdout] ... [INFO] [stdout] 221 | ) [INFO] [stdout] 222 ~ } _ => { [INFO] [stdout] 223 | tracing::warn!("Can't check enterprise edition with either \"show cluster\" or \"show grants\""); [INFO] [stdout] 224 | Edition::new("unknown", true) [INFO] [stdout] 225 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/raw.rs:185:20 [INFO] [stdout] | [INFO] [stdout] 185 | if let Some(res) = res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/raw.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 185 ~ match res { Some(res) => { [INFO] [stdout] 186 | tracing::trace!("received tmq message in {:?}", elapsed.elapsed()); [INFO] [stdout] 187 | break res; [INFO] [stdout] 188 ~ } _ => { [INFO] [stdout] 189 | tokio::time::sleep(Duration::from_millis(1)).await; [INFO] [stdout] 190 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | if let Err(err) = taos.exec(sql) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1151:25 [INFO] [stdout] | [INFO] [stdout] 1151 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1130 ~ match taos.exec(sql) { Err(err) => { [INFO] [stdout] 1131 | match err.code() { [INFO] [stdout] ... [INFO] [stdout] 1150 | } [INFO] [stdout] 1151 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1332:28 [INFO] [stdout] | [INFO] [stdout] 1332 | if let Err(err) = taos.exec(sql) { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1353:25 [INFO] [stdout] | [INFO] [stdout] 1353 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1332 ~ match taos.exec(sql) { Err(err) => { [INFO] [stdout] 1333 | match err.code() { [INFO] [stdout] ... [INFO] [stdout] 1352 | } [INFO] [stdout] 1353 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1625:32 [INFO] [stdout] | [INFO] [stdout] 1625 | ... if let Err(err) = taos.exec(sql).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1656:29 [INFO] [stdout] | [INFO] [stdout] 1656 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1625 ~ match taos.exec(sql).await { Err(err) => { [INFO] [stdout] 1626 | match err.code() { [INFO] [stdout] ... [INFO] [stdout] 1655 | } [INFO] [stdout] 1656 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1661:31 [INFO] [stdout] | [INFO] [stdout] 1661 | while let Some(_data) = data.next().transpose()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1664:25 [INFO] [stdout] | [INFO] [stdout] 1664 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1782:19 [INFO] [stdout] | [INFO] [stdout] 1782 | while let Some((offset, message)) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1841:13 [INFO] [stdout] | [INFO] [stdout] 1841 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1809:32 [INFO] [stdout] | [INFO] [stdout] 1809 | ... if let Err(err) = taos.exec(sql).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1811:29 [INFO] [stdout] | [INFO] [stdout] 1811 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1809 ~ match taos.exec(sql).await { Err(err) => { [INFO] [stdout] 1810 | println!("maybe error: {}", err); [INFO] [stdout] 1811 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1817:31 [INFO] [stdout] | [INFO] [stdout] 1817 | while let Some(data) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1820:25 [INFO] [stdout] | [INFO] [stdout] 1820 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1834:31 [INFO] [stdout] | [INFO] [stdout] 1834 | while let Some(data) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:1837:25 [INFO] [stdout] | [INFO] [stdout] 1837 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2000:19 [INFO] [stdout] | [INFO] [stdout] 2000 | while let Some((offset, message)) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2065:13 [INFO] [stdout] | [INFO] [stdout] 2065 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2027:32 [INFO] [stdout] | [INFO] [stdout] 2027 | ... if let Err(err) = taos.exec(sql).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2029:29 [INFO] [stdout] | [INFO] [stdout] 2029 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2027 ~ match taos.exec(sql).await { Err(err) => { [INFO] [stdout] 2028 | println!("maybe error: {}", err); [INFO] [stdout] 2029 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2035:31 [INFO] [stdout] | [INFO] [stdout] 2035 | while let Some(data) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2038:25 [INFO] [stdout] | [INFO] [stdout] 2038 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2052:31 [INFO] [stdout] | [INFO] [stdout] 2052 | while let Some(data) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2055:25 [INFO] [stdout] | [INFO] [stdout] 2055 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2267:19 [INFO] [stdout] | [INFO] [stdout] 2267 | while let Some((offset, message)) = stream.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2328:13 [INFO] [stdout] | [INFO] [stdout] 2328 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2294:32 [INFO] [stdout] | [INFO] [stdout] 2294 | ... if let Err(err) = taos.exec(sql).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2296:29 [INFO] [stdout] | [INFO] [stdout] 2296 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2294 ~ match taos.exec(sql).await { Err(err) => { [INFO] [stdout] 2295 | println!("maybe error: {}", err); [INFO] [stdout] 2296 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2302:31 [INFO] [stdout] | [INFO] [stdout] 2302 | while let Some(data) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2305:25 [INFO] [stdout] | [INFO] [stdout] 2305 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2316:32 [INFO] [stdout] | [INFO] [stdout] 2316 | ... if let Err(err) = taos.exec(sql).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2318:29 [INFO] [stdout] | [INFO] [stdout] 2318 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2316 ~ match taos.exec(sql).await { Err(err) => { [INFO] [stdout] 2317 | println!("maybe error: {}", err); [INFO] [stdout] 2318 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2321:31 [INFO] [stdout] | [INFO] [stdout] 2321 | while let Some(data) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2324:25 [INFO] [stdout] | [INFO] [stdout] 2324 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2454:27 [INFO] [stdout] | [INFO] [stdout] 2454 | while let Some(block) = data.fetch_raw_block().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tmq/mod.rs:2461:21 [INFO] [stdout] | [INFO] [stdout] 2461 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:859:15 [INFO] [stdout] | [INFO] [stdout] 859 | while let Some(row) = rows.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:864:9 [INFO] [stdout] | [INFO] [stdout] 864 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lib.rs:968:15 [INFO] [stdout] | [INFO] [stdout] 968 | while let Some(row) = rows.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lib.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.83s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking taos-optin v0.12.4 (/tmp/fixit) [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/query_future.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 78 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1550:15 [INFO] [stdout] | [INFO] [stdout] 1550 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1550 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1627:15 [INFO] [stdout] | [INFO] [stdout] 1627 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1627 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | async fn prepare(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:111:60 [INFO] [stdout] | [INFO] [stdout] 111 | async fn set_tbname(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | async fn set_tags(&mut self, tags: &[taos_query::common::Value]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | async fn bind(&mut self, params: &[taos_query::common::ColumnView]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | async fn add_batch(&mut self) -> RawResult<&mut Self> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/tmq/mod.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:518:49 [INFO] [stdout] | [INFO] [stdout] 518 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/query_future.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 78 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1550:15 [INFO] [stdout] | [INFO] [stdout] 1550 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1550 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unsafe attribute used without unsafe [INFO] [stdout] --> src/raw/mod.rs:1627:15 [INFO] [stdout] | [INFO] [stdout] 1627 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^ usage of unsafe attribute [INFO] [stdout] | [INFO] [stdout] help: wrap the attribute in `unsafe(...)` [INFO] [stdout] | [INFO] [stdout] 1627 | #[unsafe(no_mangle)] [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 106 | async fn prepare(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:111:60 [INFO] [stdout] | [INFO] [stdout] 111 | async fn set_tbname(&mut self, sql: &str) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:116:83 [INFO] [stdout] | [INFO] [stdout] 116 | async fn set_tags(&mut self, tags: &[taos_query::common::Value]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | async fn bind(&mut self, params: &[taos_query::common::ColumnView]) -> RawResult<&mut Self> { [INFO] [stdout] | - lifetime `'life0` declared here ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/stmt/mod.rs:134:48 [INFO] [stdout] | [INFO] [stdout] 134 | async fn add_batch(&mut self) -> RawResult<&mut Self> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/tmq/mod.rs:185:49 [INFO] [stdout] | [INFO] [stdout] 185 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib.rs:518:49 [INFO] [stdout] | [INFO] [stdout] 518 | async fn server_version(&self) -> RawResult<&str> { [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'life0` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'life0` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let param = Box::from_raw(param as *mut AsyncQueryParam); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/query_future.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / unsafe extern "C" fn taos_optin_query_future_callback( [INFO] [stdout] 81 | | param: *mut c_void, [INFO] [stdout] 82 | | res: *mut TAOS_RES, [INFO] [stdout] 83 | | code: c_int, [INFO] [stdout] 84 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let s = { &mut *state.get() }; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | ... CStr::from_ptr(param.sql).to_string_lossy() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::RawRes::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(RawRes::from_ptr_unchecked(s.api.clone(), res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | (self.tmq_list_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub(crate) unsafe fn new(&self) -> *mut tmq_list_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | (self.tmq_list_destroy)(list) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) unsafe fn destroy(&self, list: *mut tmq_list_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TmqListApi::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | let list = self.new(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / pub(crate) unsafe fn from_c_str_iter<'a, T: IntoCStr<'a>>( [INFO] [stdout] 234 | | &self, [INFO] [stdout] 235 | | iter: impl IntoIterator, [INFO] [stdout] 236 | | ) -> Result<*mut tmq_list_t, RawError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | (self.tmq_conf_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) unsafe fn new(&self) -> *mut tmq_conf_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | (self.tmq_conf_destroy)(conf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub(crate) unsafe fn destroy(&self, conf: *mut tmq_conf_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | (self.tmq_conf_set)(conf, key.as_ptr(), value.as_ptr()).ok(k, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / pub(crate) unsafe fn set( [INFO] [stdout] 298 | | &self, [INFO] [stdout] 299 | | conf: *mut tmq_conf_t, [INFO] [stdout] 300 | | k: &str, [INFO] [stdout] 301 | | v: &str, [INFO] [stdout] 302 | | ) -> Result<(), RawError> { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | let tmq = (self.tmq_consumer_new)(conf, err.as_mut_ptr() as _, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | pub(crate) unsafe fn consumer(&self, conf: *mut tmq_conf_t) -> Result<*mut tmq_t, RawError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | (self.c.taos_fetch_lengths)(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | unsafe fn fetch_lengths_raw(&self) -> *const i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1557:29 [INFO] [stdout] | [INFO] [stdout] 1557 | let param = Box::from_raw(param); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1551:13 [INFO] [stdout] | [INFO] [stdout] 1551 | / unsafe extern "C" fn taos_optin_fetch_rows_callback( [INFO] [stdout] 1552 | | param: *mut c_void, [INFO] [stdout] 1553 | | res: *mut TAOS_RES, [INFO] [stdout] 1554 | | num_of_rows: c_int, [INFO] [stdout] 1555 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1559:34 [INFO] [stdout] | [INFO] [stdout] 1559 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | Box::from_raw(param as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1628:13 [INFO] [stdout] | [INFO] [stdout] 1628 | / unsafe extern "C" fn taos_optin_fetch_raw_block_callback( [INFO] [stdout] 1629 | | param: *mut c_void, [INFO] [stdout] 1630 | | res: *mut TAOS_RES, [INFO] [stdout] 1631 | | num_of_rows: c_int, [INFO] [stdout] 1632 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1637:38 [INFO] [stdout] | [INFO] [stdout] 1637 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1652:41 [INFO] [stdout] | [INFO] [stdout] 1652 | ... let block = (param.1.taos_get_raw_block.unwrap())(res) as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let _ = Box::from_raw(self.buffer as *mut bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe fn free(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | let _ = Box::from_raw(self.buffer as *mut i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | let _ = Box::from_raw(self.buffer as *mut i16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | let _ = Box::from_raw(self.buffer as *mut i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let _ = Box::from_raw(self.buffer as *mut u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | let _ = Box::from_raw(self.buffer as *mut u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | let _ = Box::from_raw(self.buffer as *mut u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let _ = Box::from_raw(self.buffer as *mut u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | let _ = Box::from_raw(self.buffer as *mut f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let _ = Box::from_raw(self.buffer as *mut f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let _ = Box::from_raw(self.length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let _ = Box::from_raw(self.is_null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::from_raw(self.error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / unsafe extern "C" fn tmq_commit_async_cb( [INFO] [stdout] 92 | | _tmq: *mut tmq_t, [INFO] [stdout] 93 | | resp: tmq_resp_err_t, [INFO] [stdout] 94 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 95 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | / unsafe extern "C" fn tmq_commit_offset_async_cb( [INFO] [stdout] 125 | | _tmq: *mut tmq_t, [INFO] [stdout] 126 | | resp: tmq_resp_err_t, [INFO] [stdout] 127 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 128 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `taos-optin` (lib) due to 4 previous errors; 43 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let param = Box::from_raw(param as *mut AsyncQueryParam); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/query_future.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | / unsafe extern "C" fn taos_optin_query_future_callback( [INFO] [stdout] 81 | | param: *mut c_void, [INFO] [stdout] 82 | | res: *mut TAOS_RES, [INFO] [stdout] 83 | | code: c_int, [INFO] [stdout] 84 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:92:36 [INFO] [stdout] | [INFO] [stdout] 92 | let s = { &mut *state.get() }; [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ffi::CStr::from_ptr` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | ... CStr::from_ptr(param.sql).to_string_lossy() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::RawRes::from_ptr_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/query_future.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(RawRes::from_ptr_unchecked(s.api.clone(), res)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | (self.tmq_list_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | pub(crate) unsafe fn new(&self) -> *mut tmq_list_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:230:9 [INFO] [stdout] | [INFO] [stdout] 230 | (self.tmq_list_destroy)(list) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub(crate) unsafe fn destroy(&self, list: *mut tmq_list_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `raw::TmqListApi::new` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | let list = self.new(); [INFO] [stdout] | ^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / pub(crate) unsafe fn from_c_str_iter<'a, T: IntoCStr<'a>>( [INFO] [stdout] 234 | | &self, [INFO] [stdout] 235 | | iter: impl IntoIterator, [INFO] [stdout] 236 | | ) -> Result<*mut tmq_list_t, RawError> { [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | (self.tmq_conf_new)() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub(crate) unsafe fn new(&self) -> *mut tmq_conf_t { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | (self.tmq_conf_destroy)(conf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:294:5 [INFO] [stdout] | [INFO] [stdout] 294 | pub(crate) unsafe fn destroy(&self, conf: *mut tmq_conf_t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | (self.tmq_conf_set)(conf, key.as_ptr(), value.as_ptr()).ok(k, v) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 297 | / pub(crate) unsafe fn set( [INFO] [stdout] 298 | | &self, [INFO] [stdout] 299 | | conf: *mut tmq_conf_t, [INFO] [stdout] 300 | | k: &str, [INFO] [stdout] 301 | | v: &str, [INFO] [stdout] 302 | | ) -> Result<(), RawError> { [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:319:19 [INFO] [stdout] | [INFO] [stdout] 319 | let tmq = (self.tmq_consumer_new)(conf, err.as_mut_ptr() as _, 255); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | pub(crate) unsafe fn consumer(&self, conf: *mut tmq_conf_t) -> Result<*mut tmq_t, RawError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | (self.c.taos_fetch_lengths)(self.as_ptr()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1358:5 [INFO] [stdout] | [INFO] [stdout] 1358 | unsafe fn fetch_lengths_raw(&self) -> *const i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1557:29 [INFO] [stdout] | [INFO] [stdout] 1557 | let param = Box::from_raw(param); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1551:13 [INFO] [stdout] | [INFO] [stdout] 1551 | / unsafe extern "C" fn taos_optin_fetch_rows_callback( [INFO] [stdout] 1552 | | param: *mut c_void, [INFO] [stdout] 1553 | | res: *mut TAOS_RES, [INFO] [stdout] 1554 | | num_of_rows: c_int, [INFO] [stdout] 1555 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1559:34 [INFO] [stdout] | [INFO] [stdout] 1559 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::ptr::mut_ptr::::read` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1576:40 [INFO] [stdout] | [INFO] [stdout] 1576 | ... Some(f) => (f)(res).read() as _, [INFO] [stdout] | ^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1635:21 [INFO] [stdout] | [INFO] [stdout] 1635 | Box::from_raw(param as _); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/raw/mod.rs:1628:13 [INFO] [stdout] | [INFO] [stdout] 1628 | / unsafe extern "C" fn taos_optin_fetch_raw_block_callback( [INFO] [stdout] 1629 | | param: *mut c_void, [INFO] [stdout] 1630 | | res: *mut TAOS_RES, [INFO] [stdout] 1631 | | num_of_rows: c_int, [INFO] [stdout] 1632 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1637:38 [INFO] [stdout] | [INFO] [stdout] 1637 | let state = &mut *state.get(); [INFO] [stdout] | ^^^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/raw/mod.rs:1652:41 [INFO] [stdout] | [INFO] [stdout] 1652 | ... let block = (param.1.taos_get_raw_block.unwrap())(res) as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | let _ = Box::from_raw(self.buffer as *mut bool); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/types/mod.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | unsafe fn free(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | let _ = Box::from_raw(self.buffer as *mut i8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:278:25 [INFO] [stdout] | [INFO] [stdout] 278 | let _ = Box::from_raw(self.buffer as *mut i16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 281 | let _ = Box::from_raw(self.buffer as *mut i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 284 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | let _ = Box::from_raw(self.buffer as *mut u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:290:25 [INFO] [stdout] | [INFO] [stdout] 290 | let _ = Box::from_raw(self.buffer as *mut u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:293:25 [INFO] [stdout] | [INFO] [stdout] 293 | let _ = Box::from_raw(self.buffer as *mut u32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:296:25 [INFO] [stdout] | [INFO] [stdout] 296 | let _ = Box::from_raw(self.buffer as *mut u64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:299:25 [INFO] [stdout] | [INFO] [stdout] 299 | let _ = Box::from_raw(self.buffer as *mut f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let _ = Box::from_raw(self.buffer as *mut f64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:305:25 [INFO] [stdout] | [INFO] [stdout] 305 | let _ = Box::from_raw(self.buffer as *mut i64); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | let _ = Box::from_raw(self.length); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:318:21 [INFO] [stdout] | [INFO] [stdout] 318 | let _ = Box::from_raw(self.is_null); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/types/mod.rs:321:21 [INFO] [stdout] | [INFO] [stdout] 321 | let _ = Box::from_raw(self.error); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:98:30 [INFO] [stdout] | [INFO] [stdout] 98 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | / unsafe extern "C" fn tmq_commit_async_cb( [INFO] [stdout] 92 | | _tmq: *mut tmq_t, [INFO] [stdout] 93 | | resp: tmq_resp_err_t, [INFO] [stdout] 94 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 95 | | ) { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::boxed::Box::::from_raw` is unsafe and requires unsafe block [INFO] [stdout] --> src/tmq/raw.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let sender = Box::from_raw(sender); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/tmq/raw.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | / unsafe extern "C" fn tmq_commit_offset_async_cb( [INFO] [stdout] 125 | | _tmq: *mut tmq_t, [INFO] [stdout] 126 | | resp: tmq_resp_err_t, [INFO] [stdout] 127 | | param: *mut std::os::raw::c_void, [INFO] [stdout] 128 | | ) { [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:874:9 [INFO] [stdout] | [INFO] [stdout] 874 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 916 | std::env::set_var("RUST_LOG", "debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:982:9 [INFO] [stdout] | [INFO] [stdout] 982 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1118:9 [INFO] [stdout] | [INFO] [stdout] 1118 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:1181:9 [INFO] [stdout] | [INFO] [stdout] 1181 | std::env::set_var("RUST_LOG", "taos=debug"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `taos-optin` (lib test) due to 12 previous errors; 43 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "93222e6d15aefd143ac67e4ccd31da847776cc2071bcef4c798fa2f0d4fe4322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93222e6d15aefd143ac67e4ccd31da847776cc2071bcef4c798fa2f0d4fe4322", kill_on_drop: false }` [INFO] [stdout] 93222e6d15aefd143ac67e4ccd31da847776cc2071bcef4c798fa2f0d4fe4322