[INFO] fetching crate remdb 0.4.5...
[INFO] testing remdb-0.4.5 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate remdb 0.4.5 into /workspace/builds/worker-0-tc1/source
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate remdb 0.4.5
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate remdb 0.4.5
[INFO] tweaked toml for crates.io crate remdb 0.4.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate remdb 0.4.5 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate remdb 0.4.5 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serial_test v3.3.1
[INFO] [stderr]   Downloaded serial_test_derive v3.3.1
[INFO] [stderr]   Downloaded sdd v3.0.10
[INFO] [stderr]   Downloaded remdb-macros v0.4.5
[INFO] [stderr]   Downloaded tokenizers v0.21.4
[INFO] [stderr]   Downloaded hmac-sha256 v1.1.14
[INFO] [stderr]   Downloaded ort-sys v2.0.0-rc.11
[INFO] [stderr]   Downloaded scc v2.4.0
[INFO] [stderr]   Downloaded ort v2.0.0-rc.11
[INFO] [stderr]   Downloaded ureq v3.2.0
[INFO] [stderr]   Downloaded lzma-rust2 v0.15.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd
[INFO] running `Command { std: "docker" "start" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.4
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling memchr v2.7.6
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling regex-syntax v0.8.8
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling log v0.4.29
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.8
[INFO] [stderr]    Compiling num-conv v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling itoa v1.0.17
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling remdb-macros v0.4.5
[INFO] [stderr]    Compiling deranged v0.5.5
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex-automata v0.4.13
[INFO] [stderr]    Compiling time v0.3.47
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.12.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.22
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling remdb v0.4.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/model/onnx_runtime.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::log::{debug, info};
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 57.03s
[INFO] running `Command { std: "docker" "inspect" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.33
[INFO] [stderr]    Compiling zerocopy-derive v0.8.33
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling zmij v1.0.14
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling plotters-backend v0.3.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling clap_lex v0.7.7
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling anstyle v1.0.13
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling ciborium-io v0.2.2
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling cast v0.3.0
[INFO] [stderr]    Compiling clap_builder v4.5.54
[INFO] [stderr]    Compiling plotters-svg v0.3.7
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling sdd v3.0.10
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling is-terminal v0.4.17
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling serial_test_derive v3.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling scc v2.4.0
[INFO] [stderr]    Compiling tracing-appender v0.2.4
[INFO] [stderr]    Compiling anes v0.1.6
[INFO] [stderr]    Compiling plotters v0.3.7
[INFO] [stderr]    Compiling oorandom v11.1.5
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling clap v4.5.54
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling serial_test v3.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling half v2.7.1
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.5.1
[INFO] [stderr]    Compiling remdb v0.4.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/model/onnx_runtime.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::log::{debug, info};
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/model/onnx_runtime.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 19 | use crate::log::{debug, info};
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::string::String`
[INFO] [stdout]  --> examples/misc/export_example.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use alloc::string::String;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]  --> examples/misc/export_example.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use alloc::vec::Vec;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/export_example.rs:41:57
[INFO] [stdout]    |
[INFO] [stdout] 41 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/export_example.rs:41:81
[INFO] [stdout]    |
[INFO] [stdout] 41 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/sql/test_auto_increment.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let mut db = init_global_db(&CONFIG).expect("Failed to initialize database");
[INFO] [stdout]    |             ----^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_json_functions.rs:17:57
[INFO] [stdout]    |
[INFO] [stdout] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_json_functions.rs:17:81
[INFO] [stdout]    |
[INFO] [stdout] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/test_auto_increment.rs:12:50
[INFO] [stdout]    |
[INFO] [stdout] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/test_auto_increment.rs:12:74
[INFO] [stdout]    |
[INFO] [stdout] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/composite_pk_example.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         &mut DEFAULT_ALLOCATOR
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]    |
[INFO] [stdout] 15 |         &raw mut DEFAULT_ALLOCATOR
[INFO] [stdout]    |          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/composite_pk_example.rs:44:57
[INFO] [stdout]    |
[INFO] [stdout] 44 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/composite_pk_example.rs:44:81
[INFO] [stdout]    |
[INFO] [stdout] 44 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::table::*`
[INFO] [stdout]  --> tests/large_table_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use remdb::table::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `AnySecondaryIndex` and `PrimaryIndex`
[INFO] [stdout]  --> tests/large_table_test.rs:7:29
[INFO] [stdout]   |
[INFO] [stdout] 7 | use remdb::{init_global_db, AnySecondaryIndex, PrimaryIndex};
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/large_table_test.rs:183:5
[INFO] [stdout]     |
[INFO] [stdout] 183 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> examples/misc/pubsub_sql_test_server.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         unsafe { Some(NonNull::new(core::ptr::addr_of_mut!(BUFFER).cast::<u8>()).unwrap()) }
[INFO] [stdout]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `setup_test_db_with_memory` and `setup_test_db`
[INFO] [stdout]   --> tests/common/mod.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use db_setup::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DdlExecutor`
[INFO] [stdout]  --> examples/sql/timeseries_ddl_usage.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     DdlExecutor, RemDb,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SensorReading` is never constructed
[INFO] [stdout]   --> examples/sql/timeseries_ddl_usage.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct SensorReading {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/simple_time_type_test.rs:167:57
[INFO] [stdout]     |
[INFO] [stdout] 167 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/simple_time_type_test.rs:167:81
[INFO] [stdout]     |
[INFO] [stdout] 167 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_DB_MEMORY` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static TEST_DB_MEMORY: Mutex<Option<Box<[u8]>>> = Mutex::new(None);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_memory` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn setup_test_db_with_memory(size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn setup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestPlatform` is never constructed
[INFO] [stdout]  --> tests/common/platform.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct TestPlatform;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_PLATFORM` is never used
[INFO] [stdout]    --> tests/common/platform.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static TEST_PLATFORM: TestPlatform = TestPlatform;
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> tests/large_table_test.rs:289:9
[INFO] [stdout]     |
[INFO] [stdout] 289 |         drop(table); // 释放表的可变引用
[INFO] [stdout]     |         ^^^^^-----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut MemoryTable`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 289 -         drop(table); // 释放表的可变引用
[INFO] [stdout] 289 +         let _ = table; // 释放表的可变引用
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> tests/large_table_test.rs:336:9
[INFO] [stdout]     |
[INFO] [stdout] 336 |         drop(table);
[INFO] [stdout]     |         ^^^^^-----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut MemoryTable`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 336 -         drop(table);
[INFO] [stdout] 336 +         let _ = table;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> tests/large_table_test.rs:370:9
[INFO] [stdout]     |
[INFO] [stdout] 370 |         drop(table);
[INFO] [stdout]     |         ^^^^^-----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut MemoryTable`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 370 -         drop(table);
[INFO] [stdout] 370 +         let _ = table;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> tests/large_table_test.rs:428:9
[INFO] [stdout]     |
[INFO] [stdout] 428 |         drop(table);
[INFO] [stdout]     |         ^^^^^-----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut MemoryTable`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 428 -         drop(table);
[INFO] [stdout] 428 +         let _ = table;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]    --> tests/large_table_test.rs:461:9
[INFO] [stdout]     |
[INFO] [stdout] 461 |         drop(table);
[INFO] [stdout]     |         ^^^^^-----^
[INFO] [stdout]     |              |
[INFO] [stdout]     |              argument has type `&mut MemoryTable`
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]     |
[INFO] [stdout] 461 -         drop(table);
[INFO] [stdout] 461 +         let _ = table;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_index_advanced_test.rs:180:6
[INFO] [stdout]     |
[INFO] [stdout] 180 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_index_advanced_test.rs:252:6
[INFO] [stdout]     |
[INFO] [stdout] 252 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_index_advanced_test.rs:327:6
[INFO] [stdout]     |
[INFO] [stdout] 327 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_index_advanced_test.rs:400:6
[INFO] [stdout]     |
[INFO] [stdout] 400 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_index_advanced_test.rs:480:6
[INFO] [stdout]     |
[INFO] [stdout] 480 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:259:58
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:259:82
[INFO] [stdout]     |
[INFO] [stdout] 259 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:298:58
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/time_series_module_test.rs:298:82
[INFO] [stdout]     |
[INFO] [stdout] 298 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::platform::TEST_PLATFORM`
[INFO] [stdout]   --> tests/timeseries_table_test.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use crate::common::platform::TEST_PLATFORM;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db`
[INFO] [stdout]   --> tests/timeseries_table_test.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::types::RecordHeader`
[INFO] [stdout]  --> examples/misc/generate_snapshot.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use remdb::types::RecordHeader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Database` is never constructed
[INFO] [stdout]   --> examples/sql/ddl_example.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct Database;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_like_operator.rs:17:57
[INFO] [stdout]    |
[INFO] [stdout] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_like_operator.rs:17:81
[INFO] [stdout]    |
[INFO] [stdout] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/like_operator_test.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |         DB_MEMORY.fill(0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `DB_MEMORY` is never used
[INFO] [stdout]   --> tests/timeseries_table_test.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | static mut DB_MEMORY: [u8; 104857600] = [0u8; 104857600]; // 100MB内存
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TEST_MEMORY_SIZE` is never used
[INFO] [stdout]  --> tests/common/db_setup.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const DEFAULT_TEST_MEMORY_SIZE: usize = 1024 * 1024; // 1MB
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn setup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/like_operator_test.rs:57:57
[INFO] [stdout]    |
[INFO] [stdout] 57 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/like_operator_test.rs:57:81
[INFO] [stdout]    |
[INFO] [stdout] 57 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/like_operator_test.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 127 |         DB_MEMORY.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/like_operator_test.rs:128:57
[INFO] [stdout]     |
[INFO] [stdout] 128 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/like_operator_test.rs:128:81
[INFO] [stdout]     |
[INFO] [stdout] 128 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_index_comprehensive_test.rs:712:6
[INFO] [stdout]     |
[INFO] [stdout] 712 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RECORD_SIZE` is never used
[INFO] [stdout]   --> examples/misc/low_power_mode.rs:47:7
[INFO] [stdout]    |
[INFO] [stdout] 47 | const RECORD_SIZE: usize = 4 + 32 + 8 + 8;
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_RECORDS` is never used
[INFO] [stdout]   --> examples/misc/low_power_mode.rs:48:7
[INFO] [stdout]    |
[INFO] [stdout] 48 | const MAX_RECORDS: usize = 100; // 与表定义中的值保持一致
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TABLE_DATA_SIZE` is never used
[INFO] [stdout]   --> examples/misc/low_power_mode.rs:49:7
[INFO] [stdout]    |
[INFO] [stdout] 49 | const TABLE_DATA_SIZE: usize = RECORD_SIZE * MAX_RECORDS;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STATUS_ARRAY_SIZE` is never used
[INFO] [stdout]   --> examples/misc/low_power_mode.rs:50:7
[INFO] [stdout]    |
[INFO] [stdout] 50 | const STATUS_ARRAY_SIZE: usize = core::mem::size_of::<RecordHeader>() * MAX_RECORDS;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FREE_SLOTS_SIZE` is never used
[INFO] [stdout]   --> examples/misc/low_power_mode.rs:51:7
[INFO] [stdout]    |
[INFO] [stdout] 51 | const FREE_SLOTS_SIZE: usize = core::mem::size_of::<usize>() * MAX_RECORDS;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `TABLE_MEM_SIZE` is never used
[INFO] [stdout]   --> examples/misc/low_power_mode.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 | const TABLE_MEM_SIZE: usize = TABLE_DATA_SIZE + STATUS_ARRAY_SIZE + FREE_SLOTS_SIZE;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> tests/vector_index_comprehensive_test.rs:681:9
[INFO] [stdout]     |
[INFO] [stdout] 681 |     let result =
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> tests/vector_index_comprehensive_test.rs:695:9
[INFO] [stdout]     |
[INFO] [stdout] 695 |     let result =
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> tests/vector_index_comprehensive_test.rs:722:9
[INFO] [stdout]     |
[INFO] [stdout] 722 |     let result = db.sql_query("CREATE INDEX invalid_distance_idx ON VECTOR_TABLE_2D (vector) USING HNSW WITH DISTANCE=INVALID");
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DataType`
[INFO] [stdout]  --> examples/sql/test_create_timeseries_table.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     DataType, RemDb,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/test_create_timeseries_table.rs:20:57
[INFO] [stdout]    |
[INFO] [stdout] 20 |         remdb::memory::allocator::init_global_allocator(MEMORY.as_mut_ptr(), MEMORY_SIZE)
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:358:32
[INFO] [stdout]     |
[INFO] [stdout] 358 |         core::ptr::write_bytes(DB_MEMORY_1.as_mut_ptr(), 0, DB_MEMORY_1.len());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:358:61
[INFO] [stdout]     |
[INFO] [stdout] 358 |         core::ptr::write_bytes(DB_MEMORY_1.as_mut_ptr(), 0, DB_MEMORY_1.len());
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:362:13
[INFO] [stdout]     |
[INFO] [stdout] 362 |             DB_MEMORY_1.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |             DB_MEMORY_1.len(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:441:32
[INFO] [stdout]     |
[INFO] [stdout] 441 |         core::ptr::write_bytes(DB_MEMORY_2.as_mut_ptr(), 0, DB_MEMORY_2.len());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:441:61
[INFO] [stdout]     |
[INFO] [stdout] 441 |         core::ptr::write_bytes(DB_MEMORY_2.as_mut_ptr(), 0, DB_MEMORY_2.len());
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:445:13
[INFO] [stdout]     |
[INFO] [stdout] 445 |             DB_MEMORY_2.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/wal_recovery_test.rs:446:13
[INFO] [stdout]     |
[INFO] [stdout] 446 |             DB_MEMORY_2.len(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:173:9
[INFO] [stdout]     |
[INFO] [stdout] 173 |         unsafe { 1024 * 1024 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:235:9
[INFO] [stdout]     |
[INFO] [stdout] 235 |         unsafe { 1024 * 1024 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:328:9
[INFO] [stdout]     |
[INFO] [stdout] 328 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 329 |         unsafe { 1024 * 1024 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:573:9
[INFO] [stdout]     |
[INFO] [stdout] 573 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:574:9
[INFO] [stdout]     |
[INFO] [stdout] 574 |         unsafe { 1024 * 1024 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:665:9
[INFO] [stdout]     |
[INFO] [stdout] 665 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:666:9
[INFO] [stdout]     |
[INFO] [stdout] 666 |         unsafe { 1024 * 1024 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:723:9
[INFO] [stdout]     |
[INFO] [stdout] 723 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/dynamic_ddl_test.rs:724:9
[INFO] [stdout]     |
[INFO] [stdout] 724 |         unsafe { 1024 * 1024 },
[INFO] [stdout]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ptr::NonNull`
[INFO] [stdout]  --> tests/transaction_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::ptr::NonNull;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::sync::Arc`
[INFO] [stdout]  --> tests/transaction_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use alloc::sync::Arc;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::platform::*`
[INFO] [stdout]  --> tests/transaction_test.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use remdb::platform::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::common::platform::TEST_PLATFORM`
[INFO] [stdout]   --> tests/transaction_test.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use crate::common::platform::TEST_PLATFORM;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::types::Result`
[INFO] [stdout]  --> tests/memory_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use remdb::types::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> tests/memory_test.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         manager.free(ptr1);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let _ = manager.free(ptr1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> tests/memory_test.rs:116:9
[INFO] [stdout]     |
[INFO] [stdout] 116 |         manager.free(ptr2);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 116 |         let _ = manager.free(ptr2);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> tests/memory_test.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |         manager.free(ptr3);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 117 |         let _ = manager.free(ptr3);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> tests/memory_test.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |         manager.free(ptr4);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 118 |         let _ = manager.free(ptr4);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/transaction_test.rs:161:18
[INFO] [stdout]     |
[INFO] [stdout] 129 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 161 |         let tx = unsafe {
[INFO] [stdout]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/transaction_test.rs:185:13
[INFO] [stdout]     |
[INFO] [stdout] 185 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> tests/transaction_test.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |         let tx = unsafe {
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_id`
[INFO] [stdout]    --> tests/transaction_test.rs:186:13
[INFO] [stdout]     |
[INFO] [stdout] 186 |         let record_id = table_mut.insert(record_data.as_ptr()).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx1`
[INFO] [stdout]    --> tests/transaction_test.rs:239:13
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let tx1 = db
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx2`
[INFO] [stdout]    --> tests/transaction_test.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let tx2 = db
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx3`
[INFO] [stdout]    --> tests/transaction_test.rs:308:13
[INFO] [stdout]     |
[INFO] [stdout] 308 |         let tx3 = db
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx4`
[INFO] [stdout]    --> tests/transaction_test.rs:344:13
[INFO] [stdout]     |
[INFO] [stdout] 344 |         let tx4 = db
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx1`
[INFO] [stdout]    --> tests/transaction_test.rs:655:17
[INFO] [stdout]     |
[INFO] [stdout] 655 |             let tx1 = db
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_tx1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx2`
[INFO] [stdout]    --> tests/transaction_test.rs:697:17
[INFO] [stdout]     |
[INFO] [stdout] 697 |             let tx2 = db
[INFO] [stdout]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_tx2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/transaction_test.rs:791:13
[INFO] [stdout]     |
[INFO] [stdout] 791 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> tests/transaction_test.rs:768:13
[INFO] [stdout]     |
[INFO] [stdout] 768 |         let tx = db
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/transaction_test.rs:891:13
[INFO] [stdout]     |
[INFO] [stdout] 891 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> tests/transaction_test.rs:865:13
[INFO] [stdout]     |
[INFO] [stdout] 865 |         let tx = db
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/transaction_test.rs:985:13
[INFO] [stdout]     |
[INFO] [stdout] 985 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stdout]     |             ----^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> tests/transaction_test.rs:974:13
[INFO] [stdout]     |
[INFO] [stdout] 974 |         let tx = db
[INFO] [stdout]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TABLE_FREE_SLOTS_BUFFER` is never used
[INFO] [stdout]    --> tests/transaction_test.rs:117:12
[INFO] [stdout]     |
[INFO] [stdout] 117 | static mut TABLE_FREE_SLOTS_BUFFER: [usize; 100] = [0usize; 100];
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BGE_SMALL_ZH_MODEL_PATH` is never used
[INFO] [stdout]   --> examples/misc/model_runtime.rs:23:7
[INFO] [stdout]    |
[INFO] [stdout] 23 | const BGE_SMALL_ZH_MODEL_PATH: &str = "models/bge-small-zh-v1.5.onnx";
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `BGE_SMALL_ZH_DIMENSION` is never used
[INFO] [stdout]   --> examples/misc/model_runtime.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const BGE_SMALL_ZH_DIMENSION: usize = 512;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/misc/ha_example.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/test_default_value.rs:36:50
[INFO] [stdout]    |
[INFO] [stdout] 36 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/test_default_value.rs:36:74
[INFO] [stdout]    |
[INFO] [stdout] 36 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db_with_memory`
[INFO] [stdout]   --> tests/vector_index_manager_test.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/misc/ha_example.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/ha_example.rs:46:50
[INFO] [stdout]    |
[INFO] [stdout] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> tests/vector_index_manager_test.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let db = init_global_db(config).unwrap();
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/ha_example.rs:46:74
[INFO] [stdout]    |
[INFO] [stdout] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FileHandle`, `FileMode`, `FileResult`, `Platform`, `SeekWhence`, and `init_platform`
[INFO] [stdout]  --> tests/wal_test.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use remdb::platform::{init_platform, FileHandle, FileMode, FileResult, Platform, SeekWhence};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db_with_memory`
[INFO] [stdout]   --> tests/common/mod.rs:11:35
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use db_setup::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db`
[INFO] [stdout]   --> tests/wal_test.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 | use common::{setup_test_db, setup_test_db_with_posix};
[INFO] [stdout]    |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/misc/ha_example.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/misc/ha_example.rs:111:50
[INFO] [stdout]     |
[INFO] [stdout] 111 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/misc/ha_example.rs:111:74
[INFO] [stdout]     |
[INFO] [stdout] 111 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db_with_memory`
[INFO] [stdout]   --> tests/sql_query_test.rs:12:29
[INFO] [stdout]    |
[INFO] [stdout] 12 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_path`
[INFO] [stdout]   --> tests/wal_test.rs:80:13
[INFO] [stdout]    |
[INFO] [stdout] 80 |         let log_path = &get_test_wal_path("test_wal.log");
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_path`
[INFO] [stdout]    --> tests/wal_test.rs:137:13
[INFO] [stdout]     |
[INFO] [stdout] 137 |         let log_path = &get_test_wal_path("test_wal_sync.log");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_path`
[INFO] [stdout]    --> tests/wal_test.rs:214:13
[INFO] [stdout]     |
[INFO] [stdout] 214 |         let log_path = &get_test_wal_path("test_wal_async.log");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_path`
[INFO] [stdout]    --> tests/wal_test.rs:294:13
[INFO] [stdout]     |
[INFO] [stdout] 294 |         let log_path = &get_test_wal_path("test_wal_checkpoint.log");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_path`
[INFO] [stdout]    --> tests/wal_test.rs:374:13
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let log_path = &get_test_wal_path("test_wal_prealloc.log");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `log_path`
[INFO] [stdout]    --> tests/wal_test.rs:771:13
[INFO] [stdout]     |
[INFO] [stdout] 771 |         let log_path = &get_test_wal_path("test_wal_recovery.log");
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_DB_MEMORY` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static TEST_DB_MEMORY: Mutex<Option<Box<[u8]>>> = Mutex::new(None);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_memory` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn setup_test_db_with_memory(size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn setup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestPlatform` is never constructed
[INFO] [stdout]  --> tests/common/platform.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct TestPlatform;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_PLATFORM` is never used
[INFO] [stdout]    --> tests/common/platform.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static TEST_PLATFORM: TestPlatform = TestPlatform;
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:110:14
[INFO] [stdout]     |
[INFO] [stdout] 110 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:184:25
[INFO] [stdout]     |
[INFO] [stdout] 184 |         let insert_id = unsafe {
[INFO] [stdout]     |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:197:17
[INFO] [stdout]     |
[INFO] [stdout] 197 |     let table = unsafe { db.get_table_mut(0).unwrap() };
[INFO] [stdout]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `record_ptr`
[INFO] [stdout]    --> tests/sql_query_test.rs:212:27
[INFO] [stdout]     |
[INFO] [stdout] 212 |             .iterate(|id, record_ptr| {
[INFO] [stdout]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_ptr`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:376:14
[INFO] [stdout]     |
[INFO] [stdout] 376 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr::NonNull`
[INFO] [stdout]  --> examples/api/time_series.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use core::ptr::NonNull;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:445:14
[INFO] [stdout]     |
[INFO] [stdout] 445 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:532:14
[INFO] [stdout]     |
[INFO] [stdout] 532 |     let db = unsafe { init_global_db(&HYBRID_DB).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:595:14
[INFO] [stdout]     |
[INFO] [stdout] 595 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:846:14
[INFO] [stdout]     |
[INFO] [stdout] 846 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:925:14
[INFO] [stdout]     |
[INFO] [stdout] 925 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/sql_query_test.rs:964:14
[INFO] [stdout]     |
[INFO] [stdout] 964 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> tests/sql_query_test.rs:1038:14
[INFO] [stdout]      |
[INFO] [stdout] 1038 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]      |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> tests/sql_query_test.rs:1088:14
[INFO] [stdout]      |
[INFO] [stdout] 1088 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]      |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> tests/sql_query_test.rs:1142:14
[INFO] [stdout]      |
[INFO] [stdout] 1142 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]      |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]     --> tests/sql_query_test.rs:1179:25
[INFO] [stdout]      |
[INFO] [stdout] 1179 |         let insert_id = unsafe {
[INFO] [stdout]      |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> tests/sql_query_test.rs:1305:57
[INFO] [stdout]      |
[INFO] [stdout] 1305 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> tests/sql_query_test.rs:1305:81
[INFO] [stdout]      |
[INFO] [stdout] 1305 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]      |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]     --> tests/sql_query_test.rs:1413:57
[INFO] [stdout]      |
[INFO] [stdout] 1413 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]     --> tests/sql_query_test.rs:1413:81
[INFO] [stdout]      |
[INFO] [stdout] 1413 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]      |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]      |
[INFO] [stdout]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/utf8_support_test.rs:37:58
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/utf8_support_test.rs:37:82
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/utf8_support_test.rs:249:58
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/utf8_support_test.rs:249:82
[INFO] [stdout]     |
[INFO] [stdout] 249 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/utf8_support_test.rs:373:58
[INFO] [stdout]     |
[INFO] [stdout] 373 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/utf8_support_test.rs:373:82
[INFO] [stdout]     |
[INFO] [stdout] 373 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/sql/ddl_runtime_example.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             &mut DEFAULT_ALLOCATOR
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 116 |             &raw mut DEFAULT_ALLOCATOR
[INFO] [stdout]     |              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sum`
[INFO] [stdout]    --> examples/api/time_series.rs:280:32
[INFO] [stdout]     |
[INFO] [stdout] 280 |         for (i, (window_start, sum, avg, min, max, count)) in window_aggregates.iter().enumerate() {
[INFO] [stdout]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::vec::Vec`
[INFO] [stdout]   --> examples/sql/sql_query.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use alloc::vec::Vec;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::alloc::Layout`
[INFO] [stdout]   --> examples/sql/sql_query.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use core::alloc::Layout;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr::NonNull`
[INFO] [stdout]   --> examples/sql/sql_query.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use core::ptr::NonNull;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/sql/sql_query.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/vector_example.rs:15:42
[INFO] [stdout]    |
[INFO] [stdout] 15 |         allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/vector_example.rs:15:66
[INFO] [stdout]    |
[INFO] [stdout] 15 |         allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/misc/ha_example_master.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/debug_table_creation.rs:12:50
[INFO] [stdout]    |
[INFO] [stdout] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/debug_table_creation.rs:12:74
[INFO] [stdout]    |
[INFO] [stdout] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr::NonNull`
[INFO] [stdout]  --> examples/misc/ha_example_master.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::ptr::NonNull;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ModelInfo`
[INFO] [stdout]  --> tests/model_runtime_test.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | use remdb::model::{ModelError, ModelInfo, ModelManager, ModelUDF, OnnxModel};
[INFO] [stdout]   |                                ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `setup_test_db_with_memory` and `setup_test_db`
[INFO] [stdout]   --> tests/common/mod.rs:11:20
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub use db_setup::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> examples/misc/ha_example_slave.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ptr::NonNull`
[INFO] [stdout]  --> examples/misc/ha_example_slave.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use core::ptr::NonNull;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::platform::*`
[INFO] [stdout]  --> tests/sql_transaction_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use remdb::platform::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::transaction::*`
[INFO] [stdout]  --> tests/sql_transaction_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use remdb::transaction::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db_with_memory`
[INFO] [stdout]   --> tests/sql_transaction_test.rs:10:29
[INFO] [stdout]    |
[INFO] [stdout] 10 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CompressionType`, `DataType`, `DbConfig`, `DefaultMemoryAllocator`, `FieldDef`, `HAConfig`, `IndexType`, `LogMode`, `TableDef`, `TimeSeriesConfig`, `WALConfig`, `pubsub::PubSubConfig`, and `reset_global_db`
[INFO] [stdout]  --> tests/model_pushdown_test.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 |     config::{DbConfig, DefaultMemoryAllocator, HAConfig, LogMode, TimeSeriesConfig, WALConfig},
[INFO] [stdout]   |              ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 3 |     init_global_db,
[INFO] [stdout] 4 |     pubsub::PubSubConfig,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 5 |     reset_global_db, CompressionType, DataType, FieldDef, IndexType, TableDef,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alloc::boxed::Box`
[INFO] [stdout]  --> tests/table_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use alloc::boxed::Box;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::platform::*`
[INFO] [stdout]  --> tests/table_test.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use remdb::platform::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db_with_memory`
[INFO] [stdout]   --> tests/table_test.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_table_management.rs:17:57
[INFO] [stdout]    |
[INFO] [stdout] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_table_management.rs:17:81
[INFO] [stdout]    |
[INFO] [stdout] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/alter_table_example.rs:18:57
[INFO] [stdout]    |
[INFO] [stdout] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/alter_table_example.rs:18:81
[INFO] [stdout]    |
[INFO] [stdout] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/table_test.rs:223:5
[INFO] [stdout]     |
[INFO] [stdout] 223 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> tests/table_test.rs:268:21
[INFO] [stdout]     |
[INFO] [stdout] 268 |                 let id = core::ptr::read(data_ptr as *const u32);
[INFO] [stdout]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/variable_size_log_test.rs:79:35
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe {
[INFO] [stdout]    |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 79 |         let calculated_checksum = unsafe {
[INFO] [stdout]    |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/variable_size_log_test.rs:112:35
[INFO] [stdout]     |
[INFO] [stdout]  59 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 112 |         let calculated_checksum = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/variable_size_log_test.rs:143:35
[INFO] [stdout]     |
[INFO] [stdout]  59 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 143 |         let calculated_checksum = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/variable_size_log_test.rs:265:35
[INFO] [stdout]     |
[INFO] [stdout] 241 |     unsafe {
[INFO] [stdout]     |     ------ because it's nested under this `unsafe` block
[INFO] [stdout] ...
[INFO] [stdout] 265 |         let calculated_checksum = unsafe {
[INFO] [stdout]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_DB_MEMORY` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | static TEST_DB_MEMORY: Mutex<Option<Box<[u8]>>> = Mutex::new(None);
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/monitoring_example.rs:18:57
[INFO] [stdout]    |
[INFO] [stdout] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/monitoring_example.rs:18:81
[INFO] [stdout]    |
[INFO] [stdout] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_memory` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn setup_test_db_with_memory(size: usize) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn setup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestPlatform` is never constructed
[INFO] [stdout]  --> tests/common/platform.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct TestPlatform;
[INFO] [stdout]   |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_PLATFORM` is never used
[INFO] [stdout]    --> tests/common/platform.rs:103:12
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub static TEST_PLATFORM: TestPlatform = TestPlatform;
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/misc/ha_example_master.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/ha_example_master.rs:77:50
[INFO] [stdout]    |
[INFO] [stdout] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/ha_example_master.rs:77:74
[INFO] [stdout]    |
[INFO] [stdout] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/misc/ha_example_slave.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 77 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/ha_example_slave.rs:77:50
[INFO] [stdout]    |
[INFO] [stdout] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/ha_example_slave.rs:77:74
[INFO] [stdout]    |
[INFO] [stdout] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]    --> tests/model_pushdown_test.rs:349:9
[INFO] [stdout]     |
[INFO] [stdout] 349 |     let result = std::thread::Builder::new()
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/alter_table_test.rs:167:32
[INFO] [stdout]     |
[INFO] [stdout] 167 |         core::ptr::write_bytes(DB_MEMORY.as_mut_ptr(), 0, DB_MEMORY.len());
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/alter_table_test.rs:167:59
[INFO] [stdout]     |
[INFO] [stdout] 167 |         core::ptr::write_bytes(DB_MEMORY.as_mut_ptr(), 0, DB_MEMORY.len());
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/alter_table_test.rs:172:59
[INFO] [stdout]     |
[INFO] [stdout] 172 |         memory::allocator::init_global_allocator(unsafe { DB_MEMORY.as_mut_ptr() }, unsafe {
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/alter_table_test.rs:173:13
[INFO] [stdout]     |
[INFO] [stdout] 173 |             DB_MEMORY.len()
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_ivf_variants_performance_test.rs:171:6
[INFO] [stdout]     |
[INFO] [stdout] 171 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_ivf_variants_performance_test.rs:267:6
[INFO] [stdout]     |
[INFO] [stdout] 267 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_ivf_variants_performance_test.rs:365:6
[INFO] [stdout]     |
[INFO] [stdout] 365 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> tests/vector_ivf_variants_performance_test.rs:493:6
[INFO] [stdout]     |
[INFO] [stdout] 493 |     };
[INFO] [stdout]     |      ^ help: remove this semicolon
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/basic_usage.rs:35:58
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/basic_usage.rs:35:82
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> tests/test_snapshot_gen.rs:330:27
[INFO] [stdout]     |
[INFO] [stdout] 330 |             let id: i32 = (i + 1); // id从1开始，避免全0被视为null
[INFO] [stdout]     |                           ^     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 330 -             let id: i32 = (i + 1); // id从1开始，避免全0被视为null
[INFO] [stdout] 330 +             let id: i32 = i + 1; // id从1开始，避免全0被视为null
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TABLE_FREE_SLOTS_BUFFER` is never used
[INFO] [stdout]    --> tests/test_snapshot_gen.rs:102:12
[INFO] [stdout]     |
[INFO] [stdout] 102 | static mut TABLE_FREE_SLOTS_BUFFER: [usize; 100] = [0usize; 100];
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/test_snapshot_gen.rs:308:9
[INFO] [stdout]     |
[INFO] [stdout] 308 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> examples/misc/describe_table.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/describe_table.rs:33:50
[INFO] [stdout]    |
[INFO] [stdout] 33 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/describe_table.rs:33:74
[INFO] [stdout]    |
[INFO] [stdout] 33 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `common::platform::TEST_PLATFORM`
[INFO] [stdout]  --> tests/json_functions_test.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use common::platform::TEST_PLATFORM;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db`
[INFO] [stdout]  --> tests/json_functions_test.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]   |              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFAULT_TEST_MEMORY_SIZE` is never used
[INFO] [stdout]  --> tests/common/db_setup.rs:9:7
[INFO] [stdout]   |
[INFO] [stdout] 9 | const DEFAULT_TEST_MEMORY_SIZE: usize = 1024 * 1024; // 1MB
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn setup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/rbac_example.rs:19:57
[INFO] [stdout]    |
[INFO] [stdout] 19 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/rbac_example.rs:19:81
[INFO] [stdout]    |
[INFO] [stdout] 19 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/misc/incremental_snapshot.rs:236:13
[INFO] [stdout]     |
[INFO] [stdout] 236 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/misc/incremental_snapshot.rs:237:13
[INFO] [stdout]     |
[INFO] [stdout] 237 |             DB_MEMORY.len(),
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> examples/misc/incremental_snapshot.rs:279:13
[INFO] [stdout]     |
[INFO] [stdout] 279 |             table.set_field(record.0.as_mut_ptr(), 2, &value_value);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 279 |             let _ = table.set_field(record.0.as_mut_ptr(), 2, &value_value);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_time_functions.rs:16:57
[INFO] [stdout]    |
[INFO] [stdout] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_time_functions.rs:16:81
[INFO] [stdout]    |
[INFO] [stdout] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> examples/api/multiple_tables.rs:338:58
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> examples/api/multiple_tables.rs:338:82
[INFO] [stdout]     |
[INFO] [stdout] 338 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory_size`
[INFO] [stdout]   --> examples/api/time_series_iot.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let memory_size = 128 * 1024 * 1024; // 128MB
[INFO] [stdout]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rooms`
[INFO] [stdout]    --> examples/api/time_series_iot.rs:375:13
[INFO] [stdout]     |
[INFO] [stdout] 375 |         let rooms = ["room_101", "room_102"];
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_rooms`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/api/time_series_iot.rs:36:58
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/api/time_series_iot.rs:36:82
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stdout]    |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/test_index_recovery.rs:111:5
[INFO] [stdout]     |
[INFO] [stdout] 111 |     unsafe {
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> tests/test_index_recovery.rs:117:57
[INFO] [stdout]     |
[INFO] [stdout] 117 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> tests/test_index_recovery.rs:117:81
[INFO] [stdout]     |
[INFO] [stdout] 117 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DdlExecutor`
[INFO] [stdout]  --> examples/sql/timeseries_ddl_core.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     DdlExecutor, RemDb,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `time`, `value`, `sensor_id`, and `location` are never read
[INFO] [stdout]   --> examples/sql/timeseries_ddl_core.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | struct SensorReading {
[INFO] [stdout]    |        ------------- fields in this struct
[INFO] [stdout] 19 |     time: u64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 20 |     value: f64,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 21 |     sensor_id: String,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 22 |     location: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SensorReading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_aggregate_functions.rs:16:57
[INFO] [stdout]    |
[INFO] [stdout] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/sql/sql_aggregate_functions.rs:16:81
[INFO] [stdout]    |
[INFO] [stdout] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/drop_table_example.rs:56:50
[INFO] [stdout]    |
[INFO] [stdout] 56 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> examples/misc/drop_table_example.rs:56:74
[INFO] [stdout]    |
[INFO] [stdout] 56 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `setup_test_db_with_memory`
[INFO] [stdout]   --> tests/vector_test.rs:11:29
[INFO] [stdout]    |
[INFO] [stdout] 11 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `TEST_RESULTS` is never used
[INFO] [stdout]   --> tests/pubsub_test_system.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | static mut TEST_RESULTS: Vec<(String, bool, String)> = Vec::new();
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/vector_test.rs:99:14
[INFO] [stdout]    |
[INFO] [stdout] 99 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]    |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/vector_test.rs:126:15
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let _db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/vector_test.rs:139:14
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/vector_test.rs:182:14
[INFO] [stdout]     |
[INFO] [stdout] 182 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/vector_test.rs:229:14
[INFO] [stdout]     |
[INFO] [stdout] 229 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/vector_test.rs:327:14
[INFO] [stdout]     |
[INFO] [stdout] 327 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stdout]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:57
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> tests/common/db_setup.rs:62:81
[INFO] [stdout]    |
[INFO] [stdout] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stdout]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `remdb::platform::*`
[INFO] [stdout]  --> tests/database_test.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use remdb::platform::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `DataType`, `FieldDef`, `RemDb`, `TableDef`, and `time_series::CompressionType`
[INFO] [stdout]  --> tests/database_test.rs:5:59
[INFO] [stdout]   |
[INFO] [stdout] 5 |     config::DbConfig, config::LogMode, config::WALConfig, time_series::CompressionType,
[INFO] [stdout]   |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     time_series::TimeSeriesConfig, DataType, DatabaseStatus, FieldDef, RemDb, Result, TableDef,
[INFO] [stdout]   |                                    ^^^^^^^^                  ^^^^^^^^  ^^^^^          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stdout]   --> tests/common/mod.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/common/db_setup.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     unsafe {
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> tests/database_test.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stdout]    |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> tests/database_test.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 57 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stdout]    |         ----^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/database_test.rs:128:18
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stdout]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/database_test.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> tests/database_test.rs:150:18
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stdout]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> tests/database_test.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stdout]     |         ----^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cleanup_test_db` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn cleanup_test_db() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_test_db_with_posix` is never used
[INFO] [stdout]   --> tests/common/db_setup.rs:71:8
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: comparison is useless due to type limits
[INFO] [stdout]   --> tests/database_test.rs:74:13
[INFO] [stdout]    |
[INFO] [stdout] 74 |     assert!(db_info.table_count >= 0); // 可能包含系统表
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> examples/misc/test_remdb_server.rs:24:36
[INFO] [stdout]    |
[INFO] [stdout] 24 |         unsafe { Some(NonNull::new(BUFFER.as_mut_ptr()).unwrap()) }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 1m 39s
[INFO] running `Command { std: "docker" "inspect" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `info`
[INFO] [stderr]   --> src/model/onnx_runtime.rs:19:25
[INFO] [stderr]    |
[INFO] [stderr] 19 | use crate::log::{debug, info};
[INFO] [stderr]    |                         ^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (lib) generated 1 warning (run `cargo fix --lib -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/alter_table_test.rs:167:32
[INFO] [stderr]     |
[INFO] [stderr] 167 |         core::ptr::write_bytes(DB_MEMORY.as_mut_ptr(), 0, DB_MEMORY.len());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/alter_table_test.rs:167:59
[INFO] [stderr]     |
[INFO] [stderr] 167 |         core::ptr::write_bytes(DB_MEMORY.as_mut_ptr(), 0, DB_MEMORY.len());
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/alter_table_test.rs:172:59
[INFO] [stderr]     |
[INFO] [stderr] 172 |         memory::allocator::init_global_allocator(unsafe { DB_MEMORY.as_mut_ptr() }, unsafe {
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/alter_table_test.rs:173:13
[INFO] [stderr]     |
[INFO] [stderr] 173 |             DB_MEMORY.len()
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::platform::*`
[INFO] [stderr]  --> tests/sql_transaction_test.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use remdb::platform::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::transaction::*`
[INFO] [stderr]  --> tests/sql_transaction_test.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use remdb::transaction::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stderr]   --> tests/common/mod.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db_with_memory`
[INFO] [stderr]   --> tests/sql_transaction_test.rs:10:29
[INFO] [stderr]    |
[INFO] [stderr] 10 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> tests/common/db_setup.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     unsafe {
[INFO] [stderr]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `cleanup_test_db` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn cleanup_test_db() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `setup_test_db_with_posix_platform` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:49:8
[INFO] [stderr]    |
[INFO] [stderr] 49 | pub fn setup_test_db_with_posix_platform(_size: usize) -> Box<Vec<u8>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `setup_test_db_with_posix` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:71:8
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub fn setup_test_db_with_posix() -> Box<Vec<u8>> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `ModelInfo`
[INFO] [stderr]  --> tests/model_runtime_test.rs:6:32
[INFO] [stderr]   |
[INFO] [stderr] 6 | use remdb::model::{ModelError, ModelInfo, ModelManager, ModelUDF, OnnxModel};
[INFO] [stderr]   |                                ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `setup_test_db_with_memory` and `setup_test_db`
[INFO] [stderr]   --> tests/common/mod.rs:11:20
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub use db_setup::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                    ^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> tests/variable_size_log_test.rs:79:35
[INFO] [stderr]    |
[INFO] [stderr] 59 |     unsafe {
[INFO] [stderr]    |     ------ because it's nested under this `unsafe` block
[INFO] [stderr] ...
[INFO] [stderr] 79 |         let calculated_checksum = unsafe {
[INFO] [stderr]    |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/variable_size_log_test.rs:112:35
[INFO] [stderr]     |
[INFO] [stderr]  59 |     unsafe {
[INFO] [stderr]     |     ------ because it's nested under this `unsafe` block
[INFO] [stderr] ...
[INFO] [stderr] 112 |         let calculated_checksum = unsafe {
[INFO] [stderr]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/variable_size_log_test.rs:143:35
[INFO] [stderr]     |
[INFO] [stderr]  59 |     unsafe {
[INFO] [stderr]     |     ------ because it's nested under this `unsafe` block
[INFO] [stderr] ...
[INFO] [stderr] 143 |         let calculated_checksum = unsafe {
[INFO] [stderr]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/variable_size_log_test.rs:265:35
[INFO] [stderr]     |
[INFO] [stderr] 241 |     unsafe {
[INFO] [stderr]     |     ------ because it's nested under this `unsafe` block
[INFO] [stderr] ...
[INFO] [stderr] 265 |         let calculated_checksum = unsafe {
[INFO] [stderr]     |                                   ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: static `TEST_DB_MEMORY` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | static TEST_DB_MEMORY: Mutex<Option<Box<[u8]>>> = Mutex::new(None);
[INFO] [stderr]    |        ^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `setup_test_db_with_memory` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub fn setup_test_db_with_memory(size: usize) {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `setup_test_db` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:40:8
[INFO] [stderr]    |
[INFO] [stderr] 40 | pub fn setup_test_db() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `cleanup_test_db` is never used
[INFO] [stderr]   --> tests/common/db_setup.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn cleanup_test_db() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TestPlatform` is never constructed
[INFO] [stderr]  --> tests/common/platform.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct TestPlatform;
[INFO] [stderr]   |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `TEST_PLATFORM` is never used
[INFO] [stderr]    --> tests/common/platform.rs:103:12
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub static TEST_PLATFORM: TestPlatform = TestPlatform;
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> tests/common/db_setup.rs:62:57
[INFO] [stderr]    |
[INFO] [stderr] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> tests/common/db_setup.rs:62:81
[INFO] [stderr]    |
[INFO] [stderr] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/alter_table_example.rs:18:57
[INFO] [stderr]    |
[INFO] [stderr] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/alter_table_example.rs:18:81
[INFO] [stderr]    |
[INFO] [stderr] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_ivf_variants_performance_test.rs:171:6
[INFO] [stderr]     |
[INFO] [stderr] 171 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_ivf_variants_performance_test.rs:267:6
[INFO] [stderr]     |
[INFO] [stderr] 267 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_ivf_variants_performance_test.rs:365:6
[INFO] [stderr]     |
[INFO] [stderr] 365 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_ivf_variants_performance_test.rs:493:6
[INFO] [stderr]     |
[INFO] [stderr] 493 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::boxed::Box`
[INFO] [stderr]  --> tests/table_test.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use alloc::boxed::Box;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::platform::*`
[INFO] [stderr]  --> tests/table_test.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use remdb::platform::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db_with_memory`
[INFO] [stderr]   --> tests/table_test.rs:11:29
[INFO] [stderr]    |
[INFO] [stderr] 11 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/table_test.rs:223:5
[INFO] [stderr]     |
[INFO] [stderr] 223 |     unsafe {
[INFO] [stderr]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `id`
[INFO] [stderr]    --> tests/table_test.rs:268:21
[INFO] [stderr]     |
[INFO] [stderr] 268 |                 let id = core::ptr::read(data_ptr as *const u32);
[INFO] [stderr]     |                     ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/debug_table_creation.rs:12:50
[INFO] [stderr]    |
[INFO] [stderr] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/debug_table_creation.rs:12:74
[INFO] [stderr]    |
[INFO] [stderr] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/misc/ha_example_slave.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::ptr::NonNull`
[INFO] [stderr]  --> examples/misc/ha_example_slave.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use core::ptr::NonNull;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> examples/misc/ha_example_slave.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 77 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/ha_example_slave.rs:77:50
[INFO] [stderr]    |
[INFO] [stderr] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/ha_example_slave.rs:77:74
[INFO] [stderr]    |
[INFO] [stderr] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/basic_usage.rs:35:58
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/basic_usage.rs:35:82
[INFO] [stderr]    |
[INFO] [stderr] 35 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (test "alter_table_test") generated 4 warnings
[INFO] [stderr] warning: `remdb` (test "sql_transaction_test") generated 8 warnings (run `cargo fix --test "sql_transaction_test" -p remdb` to apply 4 suggestions)
[INFO] [stderr] warning: `remdb` (test "model_runtime_test") generated 1 warning (run `cargo fix --test "model_runtime_test" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (test "variable_size_log_test") generated 14 warnings (1 duplicate) (run `cargo fix --test "variable_size_log_test" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (example "alter_table_example") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "vector_ivf_variants_performance_test") generated 4 warnings
[INFO] [stderr] warning: `remdb` (test "table_test") generated 10 warnings (5 duplicates) (run `cargo fix --test "table_test" -p remdb` to apply 4 suggestions)
[INFO] [stderr] warning: `remdb` (example "debug_table_creation") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "ha_example_slave") generated 5 warnings (run `cargo fix --example "ha_example_slave" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (example "basic_usage") generated 2 warnings
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_time_functions.rs:16:57
[INFO] [stderr]    |
[INFO] [stderr] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_time_functions.rs:16:81
[INFO] [stderr]    |
[INFO] [stderr] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around assigned value
[INFO] [stderr]    --> tests/test_snapshot_gen.rs:330:27
[INFO] [stderr]     |
[INFO] [stderr] 330 |             let id: i32 = (i + 1); // id从1开始，避免全0被视为null
[INFO] [stderr]     |                           ^     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 330 -             let id: i32 = (i + 1); // id从1开始，避免全0被视为null
[INFO] [stderr] 330 +             let id: i32 = i + 1; // id从1开始，避免全0被视为null
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: static `TABLE_FREE_SLOTS_BUFFER` is never used
[INFO] [stderr]    --> tests/test_snapshot_gen.rs:102:12
[INFO] [stderr]     |
[INFO] [stderr] 102 | static mut TABLE_FREE_SLOTS_BUFFER: [usize; 100] = [0usize; 100];
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/test_snapshot_gen.rs:308:9
[INFO] [stderr]     |
[INFO] [stderr] 308 |         TABLE_DATA_BUFFER.fill(0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/monitoring_example.rs:18:57
[INFO] [stderr]    |
[INFO] [stderr] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/monitoring_example.rs:18:81
[INFO] [stderr]    |
[INFO] [stderr] 18 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/rbac_example.rs:19:57
[INFO] [stderr]    |
[INFO] [stderr] 19 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/rbac_example.rs:19:81
[INFO] [stderr]    |
[INFO] [stderr] 19 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `db_setup::setup_test_db_with_posix`
[INFO] [stderr]   --> tests/common/mod.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub use db_setup::setup_test_db_with_posix;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `common::platform::TEST_PLATFORM`
[INFO] [stderr]  --> tests/json_functions_test.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use common::platform::TEST_PLATFORM;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db`
[INFO] [stderr]  --> tests/json_functions_test.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]   |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DEFAULT_TEST_MEMORY_SIZE` is never used
[INFO] [stderr]  --> tests/common/db_setup.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | const DEFAULT_TEST_MEMORY_SIZE: usize = 1024 * 1024; // 1MB
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> examples/misc/describe_table.rs:33:9
[INFO] [stderr]    |
[INFO] [stderr] 33 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 33 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/describe_table.rs:33:50
[INFO] [stderr]    |
[INFO] [stderr] 33 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/describe_table.rs:33:74
[INFO] [stderr]    |
[INFO] [stderr] 33 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `memory_size`
[INFO] [stderr]   --> examples/api/time_series_iot.rs:33:13
[INFO] [stderr]    |
[INFO] [stderr] 33 |         let memory_size = 128 * 1024 * 1024; // 128MB
[INFO] [stderr]    |             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory_size`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rooms`
[INFO] [stderr]    --> examples/api/time_series_iot.rs:375:13
[INFO] [stderr]     |
[INFO] [stderr] 375 |         let rooms = ["room_101", "room_102"];
[INFO] [stderr]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_rooms`
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/time_series_iot.rs:36:58
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/time_series_iot.rs:36:82
[INFO] [stderr]    |
[INFO] [stderr] 36 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> examples/misc/incremental_snapshot.rs:236:13
[INFO] [stderr]     |
[INFO] [stderr] 236 |             DB_MEMORY.as_mut_ptr(),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> examples/misc/incremental_snapshot.rs:237:13
[INFO] [stderr]     |
[INFO] [stderr] 237 |             DB_MEMORY.len(),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> examples/misc/incremental_snapshot.rs:279:13
[INFO] [stderr]     |
[INFO] [stderr] 279 |             table.set_field(record.0.as_mut_ptr(), 2, &value_value);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 279 |             let _ = table.set_field(record.0.as_mut_ptr(), 2, &value_value);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/test_index_recovery.rs:111:5
[INFO] [stderr]     |
[INFO] [stderr] 111 |     unsafe {
[INFO] [stderr]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/test_index_recovery.rs:117:57
[INFO] [stderr]     |
[INFO] [stderr] 117 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/test_index_recovery.rs:117:81
[INFO] [stderr]     |
[INFO] [stderr] 117 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (example "sql_time_functions") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "test_snapshot_gen") generated 3 warnings (run `cargo fix --test "test_snapshot_gen" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (example "monitoring_example") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "rbac_example") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "json_functions_test") generated 11 warnings (7 duplicates) (run `cargo fix --test "json_functions_test" -p remdb` to apply 3 suggestions)
[INFO] [stderr] warning: `remdb` (example "describe_table") generated 3 warnings
[INFO] [stderr] warning: `remdb` (example "time_series_iot") generated 4 warnings (run `cargo fix --example "time_series_iot" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (example "incremental_snapshot") generated 3 warnings
[INFO] [stderr] warning: `remdb` (test "test_index_recovery") generated 3 warnings
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> examples/api/multiple_tables.rs:338:58
[INFO] [stderr]     |
[INFO] [stderr] 338 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> examples/api/multiple_tables.rs:338:82
[INFO] [stderr]     |
[INFO] [stderr] 338 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DdlExecutor`
[INFO] [stderr]  --> examples/sql/timeseries_ddl_core.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     DdlExecutor, RemDb,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `time`, `value`, `sensor_id`, and `location` are never read
[INFO] [stderr]   --> examples/sql/timeseries_ddl_core.rs:19:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | struct SensorReading {
[INFO] [stderr]    |        ------------- fields in this struct
[INFO] [stderr] 19 |     time: u64,
[INFO] [stderr]    |     ^^^^
[INFO] [stderr] 20 |     value: f64,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 21 |     sensor_id: String,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 22 |     location: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `SensorReading` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_aggregate_functions.rs:16:57
[INFO] [stderr]    |
[INFO] [stderr] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_aggregate_functions.rs:16:81
[INFO] [stderr]    |
[INFO] [stderr] 16 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/drop_table_example.rs:56:50
[INFO] [stderr]    |
[INFO] [stderr] 56 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/drop_table_example.rs:56:74
[INFO] [stderr]    |
[INFO] [stderr] 56 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len()).unwrap();
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: static `TEST_RESULTS` is never used
[INFO] [stderr]   --> tests/pubsub_test_system.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | static mut TEST_RESULTS: Vec<(String, bool, String)> = Vec::new();
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db_with_memory`
[INFO] [stderr]   --> tests/vector_test.rs:11:29
[INFO] [stderr]    |
[INFO] [stderr] 11 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> tests/vector_test.rs:99:14
[INFO] [stderr]    |
[INFO] [stderr] 99 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]    |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/vector_test.rs:126:15
[INFO] [stderr]     |
[INFO] [stderr] 126 |     let _db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |               ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/vector_test.rs:139:14
[INFO] [stderr]     |
[INFO] [stderr] 139 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/vector_test.rs:182:14
[INFO] [stderr]     |
[INFO] [stderr] 182 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/vector_test.rs:229:14
[INFO] [stderr]     |
[INFO] [stderr] 229 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/vector_test.rs:327:14
[INFO] [stderr]     |
[INFO] [stderr] 327 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (example "multiple_tables") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "timeseries_ddl_core") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "sql_aggregate_functions") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "drop_table_example") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "pubsub_test_system") generated 1 warning
[INFO] [stderr] warning: `remdb` (test "vector_test") generated 14 warnings (7 duplicates) (run `cargo fix --test "vector_test" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: unused import: `remdb::platform::*`
[INFO] [stderr]  --> tests/database_test.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use remdb::platform::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `DataType`, `FieldDef`, `RemDb`, `TableDef`, and `time_series::CompressionType`
[INFO] [stderr]  --> tests/database_test.rs:5:59
[INFO] [stderr]   |
[INFO] [stderr] 5 |     config::DbConfig, config::LogMode, config::WALConfig, time_series::CompressionType,
[INFO] [stderr]   |                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 6 |     time_series::TimeSeriesConfig, DataType, DatabaseStatus, FieldDef, RemDb, Result, TableDef,
[INFO] [stderr]   |                                    ^^^^^^^^                  ^^^^^^^^  ^^^^^          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> tests/database_test.rs:57:18
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stderr]    |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> tests/database_test.rs:57:9
[INFO] [stderr]    |
[INFO] [stderr] 57 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stderr]    |         ----^^
[INFO] [stderr]    |         |
[INFO] [stderr]    |         help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/database_test.rs:128:18
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stderr]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> tests/database_test.rs:128:9
[INFO] [stderr]     |
[INFO] [stderr] 128 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stderr]     |         ----^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/database_test.rs:150:18
[INFO] [stderr]     |
[INFO] [stderr] 150 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stderr]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> tests/database_test.rs:150:9
[INFO] [stderr]     |
[INFO] [stderr] 150 |     let mut db = unsafe { remdb::init_global_db(&TEST_DB_CONFIG)? };
[INFO] [stderr]     |         ----^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: comparison is useless due to type limits
[INFO] [stderr]   --> tests/database_test.rs:74:13
[INFO] [stderr]    |
[INFO] [stderr] 74 |     assert!(db_info.table_count >= 0); // 可能包含系统表
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_comparisons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/composite_pk_example.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |         &mut DEFAULT_ALLOCATOR
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]    |
[INFO] [stderr] 15 |         &raw mut DEFAULT_ALLOCATOR
[INFO] [stderr]    |          +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/composite_pk_example.rs:44:57
[INFO] [stderr]    |
[INFO] [stderr] 44 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/composite_pk_example.rs:44:81
[INFO] [stderr]    |
[INFO] [stderr] 44 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/test_remdb_server.rs:24:36
[INFO] [stderr]    |
[INFO] [stderr] 24 |         unsafe { Some(NonNull::new(BUFFER.as_mut_ptr()).unwrap()) }
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/time_series_module_test.rs:259:58
[INFO] [stderr]     |
[INFO] [stderr] 259 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/time_series_module_test.rs:259:82
[INFO] [stderr]     |
[INFO] [stderr] 259 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/time_series_module_test.rs:298:58
[INFO] [stderr]     |
[INFO] [stderr] 298 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/time_series_module_test.rs:298:82
[INFO] [stderr]     |
[INFO] [stderr] 298 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_json_functions.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_json_functions.rs:17:81
[INFO] [stderr]    |
[INFO] [stderr] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DdlExecutor`
[INFO] [stderr]  --> examples/sql/timeseries_ddl_usage.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     DdlExecutor, RemDb,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SensorReading` is never constructed
[INFO] [stderr]   --> examples/sql/timeseries_ddl_usage.rs:19:8
[INFO] [stderr]    |
[INFO] [stderr] 19 | struct SensorReading {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::table::*`
[INFO] [stderr]  --> tests/large_table_test.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use remdb::table::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `AnySecondaryIndex` and `PrimaryIndex`
[INFO] [stderr]  --> tests/large_table_test.rs:7:29
[INFO] [stderr]   |
[INFO] [stderr] 7 | use remdb::{init_global_db, AnySecondaryIndex, PrimaryIndex};
[INFO] [stderr]   |                             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/large_table_test.rs:183:5
[INFO] [stderr]     |
[INFO] [stderr] 183 |     unsafe {
[INFO] [stderr]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> tests/large_table_test.rs:289:9
[INFO] [stderr]     |
[INFO] [stderr] 289 |         drop(table); // 释放表的可变引用
[INFO] [stderr]     |         ^^^^^-----^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              argument has type `&mut MemoryTable`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dropping_references)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     |
[INFO] [stderr] 289 -         drop(table); // 释放表的可变引用
[INFO] [stderr] 289 +         let _ = table; // 释放表的可变引用
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> tests/large_table_test.rs:336:9
[INFO] [stderr]     |
[INFO] [stderr] 336 |         drop(table);
[INFO] [stderr]     |         ^^^^^-----^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              argument has type `&mut MemoryTable`
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     |
[INFO] [stderr] 336 -         drop(table);
[INFO] [stderr] 336 +         let _ = table;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> tests/large_table_test.rs:370:9
[INFO] [stderr]     |
[INFO] [stderr] 370 |         drop(table);
[INFO] [stderr]     |         ^^^^^-----^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              argument has type `&mut MemoryTable`
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     |
[INFO] [stderr] 370 -         drop(table);
[INFO] [stderr] 370 +         let _ = table;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> tests/large_table_test.rs:428:9
[INFO] [stderr]     |
[INFO] [stderr] 428 |         drop(table);
[INFO] [stderr]     |         ^^^^^-----^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              argument has type `&mut MemoryTable`
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     |
[INFO] [stderr] 428 -         drop(table);
[INFO] [stderr] 428 +         let _ = table;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stderr]    --> tests/large_table_test.rs:461:9
[INFO] [stderr]     |
[INFO] [stderr] 461 |         drop(table);
[INFO] [stderr]     |         ^^^^^-----^
[INFO] [stderr]     |              |
[INFO] [stderr]     |              argument has type `&mut MemoryTable`
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the expression or result
[INFO] [stderr]     |
[INFO] [stderr] 461 -         drop(table);
[INFO] [stderr] 461 +         let _ = table;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_index_advanced_test.rs:180:6
[INFO] [stderr]     |
[INFO] [stderr] 180 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_index_advanced_test.rs:252:6
[INFO] [stderr]     |
[INFO] [stderr] 252 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_index_advanced_test.rs:327:6
[INFO] [stderr]     |
[INFO] [stderr] 327 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_index_advanced_test.rs:400:6
[INFO] [stderr]     |
[INFO] [stderr] 400 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_index_advanced_test.rs:480:6
[INFO] [stderr]     |
[INFO] [stderr] 480 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::string::String`
[INFO] [stderr]  --> examples/misc/export_example.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use alloc::string::String;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::vec::Vec`
[INFO] [stderr]  --> examples/misc/export_example.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use alloc::vec::Vec;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/export_example.rs:41:57
[INFO] [stderr]    |
[INFO] [stderr] 41 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/export_example.rs:41:81
[INFO] [stderr]    |
[INFO] [stderr] 41 |         crate::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/simple_time_type_test.rs:167:57
[INFO] [stderr]     |
[INFO] [stderr] 167 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/simple_time_type_test.rs:167:81
[INFO] [stderr]     |
[INFO] [stderr] 167 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> examples/sql/test_auto_increment.rs:59:13
[INFO] [stderr]    |
[INFO] [stderr] 59 |         let mut db = init_global_db(&CONFIG).expect("Failed to initialize database");
[INFO] [stderr]    |             ----^^
[INFO] [stderr]    |             |
[INFO] [stderr]    |             help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/test_auto_increment.rs:12:50
[INFO] [stderr]    |
[INFO] [stderr] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/test_auto_increment.rs:12:74
[INFO] [stderr]    |
[INFO] [stderr] 12 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]   --> examples/misc/pubsub_sql_test_server.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |         unsafe { Some(NonNull::new(core::ptr::addr_of_mut!(BUFFER).cast::<u8>()).unwrap()) }
[INFO] [stderr]    |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (test "database_test") generated 14 warnings (5 duplicates) (run `cargo fix --test "database_test" -p remdb` to apply 5 suggestions)
[INFO] [stderr] warning: `remdb` (example "composite_pk_example") generated 3 warnings
[INFO] [stderr] warning: `remdb` (example "test_remdb_server") generated 1 warning
[INFO] [stderr] warning: `remdb` (test "time_series_module_test") generated 4 warnings
[INFO] [stderr] warning: `remdb` (example "sql_json_functions") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "timeseries_ddl_usage") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "large_table_test") generated 8 warnings (run `cargo fix --test "large_table_test" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (test "vector_index_advanced_test") generated 5 warnings
[INFO] [stderr] warning: `remdb` (example "export_example") generated 4 warnings (run `cargo fix --example "export_example" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (test "simple_time_type_test") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "test_auto_increment") generated 3 warnings (run `cargo fix --example "test_auto_increment" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (test "wal_compression_test") generated 10 warnings (10 duplicates)
[INFO] [stderr] warning: `remdb` (example "pubsub_sql_test_server") generated 1 warning
[INFO] [stderr] warning: struct `Database` is never constructed
[INFO] [stderr]   --> examples/sql/ddl_example.rs:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | struct Database;
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::vec::Vec`
[INFO] [stderr]   --> examples/sql/sql_query.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 | use alloc::vec::Vec;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::alloc::Layout`
[INFO] [stderr]   --> examples/sql/sql_query.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 | use core::alloc::Layout;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::ptr::NonNull`
[INFO] [stderr]   --> examples/sql/sql_query.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 | use core::ptr::NonNull;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> examples/sql/sql_query.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::common::platform::TEST_PLATFORM`
[INFO] [stderr]   --> tests/timeseries_table_test.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 | use crate::common::platform::TEST_PLATFORM;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db`
[INFO] [stderr]   --> tests/timeseries_table_test.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `DB_MEMORY` is never used
[INFO] [stderr]   --> tests/timeseries_table_test.rs:25:12
[INFO] [stderr]    |
[INFO] [stderr] 25 | static mut DB_MEMORY: [u8; 104857600] = [0u8; 104857600]; // 100MB内存
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `DEFAULT_TEST_MEMORY_SIZE` is never used
[INFO] [stderr]  --> tests/common/db_setup.rs:9:7
[INFO] [stderr]   |
[INFO] [stderr] 9 | const DEFAULT_TEST_MEMORY_SIZE: usize = 1024 * 1024; // 1MB
[INFO] [stderr]   |       ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_like_operator.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_like_operator.rs:17:81
[INFO] [stderr]    |
[INFO] [stderr] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> tests/like_operator_test.rs:56:9
[INFO] [stderr]    |
[INFO] [stderr] 56 |         DB_MEMORY.fill(0);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> tests/like_operator_test.rs:57:57
[INFO] [stderr]    |
[INFO] [stderr] 57 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> tests/like_operator_test.rs:57:81
[INFO] [stderr]    |
[INFO] [stderr] 57 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/like_operator_test.rs:127:9
[INFO] [stderr]     |
[INFO] [stderr] 127 |         DB_MEMORY.fill(0);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/like_operator_test.rs:128:57
[INFO] [stderr]     |
[INFO] [stderr] 128 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]     |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/like_operator_test.rs:128:81
[INFO] [stderr]     |
[INFO] [stderr] 128 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]     |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::types::RecordHeader`
[INFO] [stderr]  --> examples/misc/generate_snapshot.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use remdb::types::RecordHeader;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> tests/vector_index_comprehensive_test.rs:712:6
[INFO] [stderr]     |
[INFO] [stderr] 712 |     };
[INFO] [stderr]     |      ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]    --> tests/vector_index_comprehensive_test.rs:681:9
[INFO] [stderr]     |
[INFO] [stderr] 681 |     let result =
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]    --> tests/vector_index_comprehensive_test.rs:695:9
[INFO] [stderr]     |
[INFO] [stderr] 695 |     let result =
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]    --> tests/vector_index_comprehensive_test.rs:722:9
[INFO] [stderr]     |
[INFO] [stderr] 722 |     let result = db.sql_query("CREATE INDEX invalid_distance_idx ON VECTOR_TABLE_2D (vector) USING HNSW WITH DISTANCE=INVALID");
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RECORD_SIZE` is never used
[INFO] [stderr]   --> examples/misc/low_power_mode.rs:47:7
[INFO] [stderr]    |
[INFO] [stderr] 47 | const RECORD_SIZE: usize = 4 + 32 + 8 + 8;
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `MAX_RECORDS` is never used
[INFO] [stderr]   --> examples/misc/low_power_mode.rs:48:7
[INFO] [stderr]    |
[INFO] [stderr] 48 | const MAX_RECORDS: usize = 100; // 与表定义中的值保持一致
[INFO] [stderr]    |       ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TABLE_DATA_SIZE` is never used
[INFO] [stderr]   --> examples/misc/low_power_mode.rs:49:7
[INFO] [stderr]    |
[INFO] [stderr] 49 | const TABLE_DATA_SIZE: usize = RECORD_SIZE * MAX_RECORDS;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `STATUS_ARRAY_SIZE` is never used
[INFO] [stderr]   --> examples/misc/low_power_mode.rs:50:7
[INFO] [stderr]    |
[INFO] [stderr] 50 | const STATUS_ARRAY_SIZE: usize = core::mem::size_of::<RecordHeader>() * MAX_RECORDS;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `FREE_SLOTS_SIZE` is never used
[INFO] [stderr]   --> examples/misc/low_power_mode.rs:51:7
[INFO] [stderr]    |
[INFO] [stderr] 51 | const FREE_SLOTS_SIZE: usize = core::mem::size_of::<usize>() * MAX_RECORDS;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: constant `TABLE_MEM_SIZE` is never used
[INFO] [stderr]   --> examples/misc/low_power_mode.rs:52:7
[INFO] [stderr]    |
[INFO] [stderr] 52 | const TABLE_MEM_SIZE: usize = TABLE_DATA_SIZE + STATUS_ARRAY_SIZE + FREE_SLOTS_SIZE;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `DataType`
[INFO] [stderr]  --> examples/sql/test_create_timeseries_table.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     DataType, RemDb,
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/test_create_timeseries_table.rs:20:57
[INFO] [stderr]    |
[INFO] [stderr] 20 |         remdb::memory::allocator::init_global_allocator(MEMORY.as_mut_ptr(), MEMORY_SIZE)
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:358:32
[INFO] [stderr]     |
[INFO] [stderr] 358 |         core::ptr::write_bytes(DB_MEMORY_1.as_mut_ptr(), 0, DB_MEMORY_1.len());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:358:61
[INFO] [stderr]     |
[INFO] [stderr] 358 |         core::ptr::write_bytes(DB_MEMORY_1.as_mut_ptr(), 0, DB_MEMORY_1.len());
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:362:13
[INFO] [stderr]     |
[INFO] [stderr] 362 |             DB_MEMORY_1.as_mut_ptr(),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:363:13
[INFO] [stderr]     |
[INFO] [stderr] 363 |             DB_MEMORY_1.len(),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:441:32
[INFO] [stderr]     |
[INFO] [stderr] 441 |         core::ptr::write_bytes(DB_MEMORY_2.as_mut_ptr(), 0, DB_MEMORY_2.len());
[INFO] [stderr]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:441:61
[INFO] [stderr]     |
[INFO] [stderr] 441 |         core::ptr::write_bytes(DB_MEMORY_2.as_mut_ptr(), 0, DB_MEMORY_2.len());
[INFO] [stderr]     |                                                             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:445:13
[INFO] [stderr]     |
[INFO] [stderr] 445 |             DB_MEMORY_2.as_mut_ptr(),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/wal_recovery_test.rs:446:13
[INFO] [stderr]     |
[INFO] [stderr] 446 |             DB_MEMORY_2.len(),
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (example "ddl_example") generated 1 warning
[INFO] [stderr] warning: `remdb` (example "sql_query") generated 4 warnings (run `cargo fix --example "sql_query" -p remdb` to apply 3 suggestions)
[INFO] [stderr] warning: `remdb` (test "timeseries_table_test") generated 10 warnings (6 duplicates) (run `cargo fix --test "timeseries_table_test" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (example "sql_like_operator") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "like_operator_test") generated 6 warnings
[INFO] [stderr] warning: `remdb` (example "generate_snapshot") generated 1 warning (run `cargo fix --example "generate_snapshot" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (test "vector_index_comprehensive_test") generated 4 warnings (run `cargo fix --test "vector_index_comprehensive_test" -p remdb` to apply 3 suggestions)
[INFO] [stderr] warning: `remdb` (example "low_power_mode") generated 6 warnings
[INFO] [stderr] warning: `remdb` (example "test_create_timeseries_table") generated 2 warnings (run `cargo fix --example "test_create_timeseries_table" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (test "wal_recovery_test") generated 8 warnings
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:172:9
[INFO] [stderr]     |
[INFO] [stderr] 172 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:173:9
[INFO] [stderr]     |
[INFO] [stderr] 173 |         unsafe { 1024 * 1024 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:234:9
[INFO] [stderr]     |
[INFO] [stderr] 234 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:235:9
[INFO] [stderr]     |
[INFO] [stderr] 235 |         unsafe { 1024 * 1024 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:328:9
[INFO] [stderr]     |
[INFO] [stderr] 328 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:329:9
[INFO] [stderr]     |
[INFO] [stderr] 329 |         unsafe { 1024 * 1024 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:573:9
[INFO] [stderr]     |
[INFO] [stderr] 573 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:574:9
[INFO] [stderr]     |
[INFO] [stderr] 574 |         unsafe { 1024 * 1024 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:665:9
[INFO] [stderr]     |
[INFO] [stderr] 665 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:666:9
[INFO] [stderr]     |
[INFO] [stderr] 666 |         unsafe { 1024 * 1024 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:723:9
[INFO] [stderr]     |
[INFO] [stderr] 723 |         unsafe { core::ptr::addr_of_mut!(DB_MEMORY) as *mut u8 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/dynamic_ddl_test.rs:724:9
[INFO] [stderr]     |
[INFO] [stderr] 724 |         unsafe { 1024 * 1024 },
[INFO] [stderr]     |         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::ptr::NonNull`
[INFO] [stderr]  --> tests/transaction_test.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::ptr::NonNull;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `alloc::sync::Arc`
[INFO] [stderr]  --> tests/transaction_test.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use alloc::sync::Arc;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::platform::*`
[INFO] [stderr]  --> tests/transaction_test.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use remdb::platform::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::common::platform::TEST_PLATFORM`
[INFO] [stderr]   --> tests/transaction_test.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use crate::common::platform::TEST_PLATFORM;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/transaction_test.rs:161:18
[INFO] [stderr]     |
[INFO] [stderr] 129 |     unsafe {
[INFO] [stderr]     |     ------ because it's nested under this `unsafe` block
[INFO] [stderr] ...
[INFO] [stderr] 161 |         let tx = unsafe {
[INFO] [stderr]     |                  ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> tests/transaction_test.rs:185:13
[INFO] [stderr]     |
[INFO] [stderr] 185 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stderr]     |             ----^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]    --> tests/transaction_test.rs:161:13
[INFO] [stderr]     |
[INFO] [stderr] 161 |         let tx = unsafe {
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `record_id`
[INFO] [stderr]    --> tests/transaction_test.rs:186:13
[INFO] [stderr]     |
[INFO] [stderr] 186 |         let record_id = table_mut.insert(record_data.as_ptr()).unwrap();
[INFO] [stderr]     |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_id`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx1`
[INFO] [stderr]    --> tests/transaction_test.rs:239:13
[INFO] [stderr]     |
[INFO] [stderr] 239 |         let tx1 = db
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx2`
[INFO] [stderr]    --> tests/transaction_test.rs:277:13
[INFO] [stderr]     |
[INFO] [stderr] 277 |         let tx2 = db
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx3`
[INFO] [stderr]    --> tests/transaction_test.rs:308:13
[INFO] [stderr]     |
[INFO] [stderr] 308 |         let tx3 = db
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx3`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx4`
[INFO] [stderr]    --> tests/transaction_test.rs:344:13
[INFO] [stderr]     |
[INFO] [stderr] 344 |         let tx4 = db
[INFO] [stderr]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_tx4`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx1`
[INFO] [stderr]    --> tests/transaction_test.rs:655:17
[INFO] [stderr]     |
[INFO] [stderr] 655 |             let tx1 = db
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_tx1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx2`
[INFO] [stderr]    --> tests/transaction_test.rs:697:17
[INFO] [stderr]     |
[INFO] [stderr] 697 |             let tx2 = db
[INFO] [stderr]     |                 ^^^ help: if this is intentional, prefix it with an underscore: `_tx2`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> tests/transaction_test.rs:791:13
[INFO] [stderr]     |
[INFO] [stderr] 791 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stderr]     |             ----^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]    --> tests/transaction_test.rs:768:13
[INFO] [stderr]     |
[INFO] [stderr] 768 |         let tx = db
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> tests/transaction_test.rs:891:13
[INFO] [stderr]     |
[INFO] [stderr] 891 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stderr]     |             ----^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]    --> tests/transaction_test.rs:865:13
[INFO] [stderr]     |
[INFO] [stderr] 865 |         let tx = db
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> tests/transaction_test.rs:985:13
[INFO] [stderr]     |
[INFO] [stderr] 985 |         let mut table_mut = db.get_table_mut(0).unwrap();
[INFO] [stderr]     |             ----^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]    --> tests/transaction_test.rs:974:13
[INFO] [stderr]     |
[INFO] [stderr] 974 |         let tx = db
[INFO] [stderr]     |             ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: static `TABLE_FREE_SLOTS_BUFFER` is never used
[INFO] [stderr]    --> tests/transaction_test.rs:117:12
[INFO] [stderr]     |
[INFO] [stderr] 117 | static mut TABLE_FREE_SLOTS_BUFFER: [usize; 100] = [0usize; 100];
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `remdb::types::Result`
[INFO] [stderr]  --> tests/memory_test.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use remdb::types::Result;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> tests/memory_test.rs:115:9
[INFO] [stderr]     |
[INFO] [stderr] 115 |         manager.free(ptr1);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 115 |         let _ = manager.free(ptr1);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> tests/memory_test.rs:116:9
[INFO] [stderr]     |
[INFO] [stderr] 116 |         manager.free(ptr2);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 116 |         let _ = manager.free(ptr2);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> tests/memory_test.rs:117:9
[INFO] [stderr]     |
[INFO] [stderr] 117 |         manager.free(ptr3);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 117 |         let _ = manager.free(ptr3);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> tests/memory_test.rs:118:9
[INFO] [stderr]     |
[INFO] [stderr] 118 |         manager.free(ptr4);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 118 |         let _ = manager.free(ptr4);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/misc/ha_example.rs:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> examples/misc/ha_example.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 46 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/ha_example.rs:46:50
[INFO] [stderr]    |
[INFO] [stderr] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/ha_example.rs:46:74
[INFO] [stderr]    |
[INFO] [stderr] 46 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> examples/misc/ha_example.rs:111:9
[INFO] [stderr]     |
[INFO] [stderr] 111 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 111 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> examples/misc/ha_example.rs:111:50
[INFO] [stderr]     |
[INFO] [stderr] 111 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> examples/misc/ha_example.rs:111:74
[INFO] [stderr]     |
[INFO] [stderr] 111 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db_with_memory`
[INFO] [stderr]   --> tests/vector_index_manager_test.rs:12:29
[INFO] [stderr]    |
[INFO] [stderr] 12 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db`
[INFO] [stderr]   --> tests/vector_index_manager_test.rs:42:9
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let db = init_global_db(config).unwrap();
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db_with_memory`
[INFO] [stderr]   --> tests/sql_query_test.rs:12:29
[INFO] [stderr]    |
[INFO] [stderr] 12 | use common::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:110:14
[INFO] [stderr]     |
[INFO] [stderr] 110 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:184:25
[INFO] [stderr]     |
[INFO] [stderr] 184 |         let insert_id = unsafe {
[INFO] [stderr]     |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:197:17
[INFO] [stderr]     |
[INFO] [stderr] 197 |     let table = unsafe { db.get_table_mut(0).unwrap() };
[INFO] [stderr]     |                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `record_ptr`
[INFO] [stderr]    --> tests/sql_query_test.rs:212:27
[INFO] [stderr]     |
[INFO] [stderr] 212 |             .iterate(|id, record_ptr| {
[INFO] [stderr]     |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_record_ptr`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:376:14
[INFO] [stderr]     |
[INFO] [stderr] 376 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:445:14
[INFO] [stderr]     |
[INFO] [stderr] 445 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:532:14
[INFO] [stderr]     |
[INFO] [stderr] 532 |     let db = unsafe { init_global_db(&HYBRID_DB).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:595:14
[INFO] [stderr]     |
[INFO] [stderr] 595 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:846:14
[INFO] [stderr]     |
[INFO] [stderr] 846 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:925:14
[INFO] [stderr]     |
[INFO] [stderr] 925 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]    --> tests/sql_query_test.rs:964:14
[INFO] [stderr]     |
[INFO] [stderr] 964 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]     |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]     --> tests/sql_query_test.rs:1038:14
[INFO] [stderr]      |
[INFO] [stderr] 1038 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]      |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]     --> tests/sql_query_test.rs:1088:14
[INFO] [stderr]      |
[INFO] [stderr] 1088 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]      |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]     --> tests/sql_query_test.rs:1142:14
[INFO] [stderr]      |
[INFO] [stderr] 1142 |     let db = unsafe { init_global_db(config).unwrap() };
[INFO] [stderr]      |              ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary `unsafe` block
[INFO] [stderr]     --> tests/sql_query_test.rs:1179:25
[INFO] [stderr]      |
[INFO] [stderr] 1179 |         let insert_id = unsafe {
[INFO] [stderr]      |                         ^^^^^^ unnecessary `unsafe` block
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]     --> tests/sql_query_test.rs:1305:57
[INFO] [stderr]      |
[INFO] [stderr] 1305 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]      = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]     --> tests/sql_query_test.rs:1305:81
[INFO] [stderr]      |
[INFO] [stderr] 1305 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]      |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]     --> tests/sql_query_test.rs:1413:57
[INFO] [stderr]      |
[INFO] [stderr] 1413 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]      |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]     --> tests/sql_query_test.rs:1413:81
[INFO] [stderr]      |
[INFO] [stderr] 1413 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]      |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]      |
[INFO] [stderr]      = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]      = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> tests/common/db_setup.rs:62:57
[INFO] [stderr]    |
[INFO] [stderr] 62 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `FileHandle`, `FileMode`, `FileResult`, `Platform`, `SeekWhence`, and `init_platform`
[INFO] [stderr]  --> tests/wal_test.rs:8:23
[INFO] [stderr]   |
[INFO] [stderr] 8 | use remdb::platform::{init_platform, FileHandle, FileMode, FileResult, Platform, SeekWhence};
[INFO] [stderr]   |                       ^^^^^^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db_with_memory`
[INFO] [stderr]   --> tests/common/mod.rs:11:35
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub use db_setup::{setup_test_db, setup_test_db_with_memory};
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `setup_test_db`
[INFO] [stderr]   --> tests/wal_test.rs:13:14
[INFO] [stderr]    |
[INFO] [stderr] 13 | use common::{setup_test_db, setup_test_db_with_posix};
[INFO] [stderr]    |              ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_path`
[INFO] [stderr]   --> tests/wal_test.rs:80:13
[INFO] [stderr]    |
[INFO] [stderr] 80 |         let log_path = &get_test_wal_path("test_wal.log");
[INFO] [stderr]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_path`
[INFO] [stderr]    --> tests/wal_test.rs:137:13
[INFO] [stderr]     |
[INFO] [stderr] 137 |         let log_path = &get_test_wal_path("test_wal_sync.log");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_path`
[INFO] [stderr]    --> tests/wal_test.rs:214:13
[INFO] [stderr]     |
[INFO] [stderr] 214 |         let log_path = &get_test_wal_path("test_wal_async.log");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_path`
[INFO] [stderr]    --> tests/wal_test.rs:294:13
[INFO] [stderr]     |
[INFO] [stderr] 294 |         let log_path = &get_test_wal_path("test_wal_checkpoint.log");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_path`
[INFO] [stderr]    --> tests/wal_test.rs:374:13
[INFO] [stderr]     |
[INFO] [stderr] 374 |         let log_path = &get_test_wal_path("test_wal_prealloc.log");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `log_path`
[INFO] [stderr]    --> tests/wal_test.rs:771:13
[INFO] [stderr]     |
[INFO] [stderr] 771 |         let log_path = &get_test_wal_path("test_wal_recovery.log");
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_log_path`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BGE_SMALL_ZH_MODEL_PATH` is never used
[INFO] [stderr]   --> examples/misc/model_runtime.rs:23:7
[INFO] [stderr]    |
[INFO] [stderr] 23 | const BGE_SMALL_ZH_MODEL_PATH: &str = "models/bge-small-zh-v1.5.onnx";
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: constant `BGE_SMALL_ZH_DIMENSION` is never used
[INFO] [stderr]   --> examples/misc/model_runtime.rs:24:7
[INFO] [stderr]    |
[INFO] [stderr] 24 | const BGE_SMALL_ZH_DIMENSION: usize = 512;
[INFO] [stderr]    |       ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/test_default_value.rs:36:50
[INFO] [stderr]    |
[INFO] [stderr] 36 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/test_default_value.rs:36:74
[INFO] [stderr]    |
[INFO] [stderr] 36 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (test "dynamic_ddl_test") generated 12 warnings
[INFO] [stderr] warning: `remdb` (test "transaction_test") generated 26 warnings (5 duplicates) (run `cargo fix --test "transaction_test" -p remdb` to apply 19 suggestions)
[INFO] [stderr] warning: `remdb` (test "memory_test") generated 5 warnings (run `cargo fix --test "memory_test" -p remdb` to apply 1 suggestion)
[INFO] [stderr] warning: `remdb` (example "ha_example") generated 7 warnings
[INFO] [stderr] warning: `remdb` (test "vector_index_manager_test") generated 9 warnings (7 duplicates) (run `cargo fix --test "vector_index_manager_test" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (test "sql_query_test") generated 27 warnings (6 duplicates) (run `cargo fix --test "sql_query_test" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr] warning: `remdb` (test "wal_test") generated 18 warnings (9 duplicates) (run `cargo fix --test "wal_test" -p remdb` to apply 9 suggestions)
[INFO] [stderr] warning: `remdb` (example "model_runtime") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "test_default_value") generated 2 warnings
[INFO] [stderr] warning: unused import: `core::ptr::NonNull`
[INFO] [stderr]  --> examples/api/time_series.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use core::ptr::NonNull;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sum`
[INFO] [stderr]    --> examples/api/time_series.rs:280:32
[INFO] [stderr]     |
[INFO] [stderr] 280 |         for (i, (window_start, sum, avg, min, max, count)) in window_aggregates.iter().enumerate() {
[INFO] [stderr]     |                                ^^^ help: if this is intentional, prefix it with an underscore: `_sum`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> examples/sql/ddl_runtime_example.rs:116:13
[INFO] [stderr]     |
[INFO] [stderr] 116 |             &mut DEFAULT_ALLOCATOR
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 116 |             &raw mut DEFAULT_ALLOCATOR
[INFO] [stderr]     |              +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> tests/utf8_support_test.rs:37:58
[INFO] [stderr]    |
[INFO] [stderr] 37 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> tests/utf8_support_test.rs:37:82
[INFO] [stderr]    |
[INFO] [stderr] 37 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/utf8_support_test.rs:249:58
[INFO] [stderr]     |
[INFO] [stderr] 249 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/utf8_support_test.rs:249:82
[INFO] [stderr]     |
[INFO] [stderr] 249 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> tests/utf8_support_test.rs:373:58
[INFO] [stderr]     |
[INFO] [stderr] 373 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> tests/utf8_support_test.rs:373:82
[INFO] [stderr]     |
[INFO] [stderr] 373 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]     |                                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/api/vector_example.rs:15:42
[INFO] [stderr]    |
[INFO] [stderr] 15 |         allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                          ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/api/vector_example.rs:15:66
[INFO] [stderr]    |
[INFO] [stderr] 15 |         allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                  ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_table_management.rs:17:57
[INFO] [stderr]    |
[INFO] [stderr] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                         ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/sql/sql_table_management.rs:17:81
[INFO] [stderr]    |
[INFO] [stderr] 17 |         remdb::memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len())?;
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CompressionType`, `DataType`, `DbConfig`, `DefaultMemoryAllocator`, `FieldDef`, `HAConfig`, `IndexType`, `LogMode`, `TableDef`, `TimeSeriesConfig`, `WALConfig`, `pubsub::PubSubConfig`, and `reset_global_db`
[INFO] [stderr]  --> tests/model_pushdown_test.rs:2:14
[INFO] [stderr]   |
[INFO] [stderr] 2 |     config::{DbConfig, DefaultMemoryAllocator, HAConfig, LogMode, TimeSeriesConfig, WALConfig},
[INFO] [stderr]   |              ^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 3 |     init_global_db,
[INFO] [stderr] 4 |     pubsub::PubSubConfig,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 5 |     reset_global_db, CompressionType, DataType, FieldDef, IndexType, TableDef,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^  ^^^^^^^^  ^^^^^^^^  ^^^^^^^^^  ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `result`
[INFO] [stderr]    --> tests/model_pushdown_test.rs:349:9
[INFO] [stderr]     |
[INFO] [stderr] 349 |     let result = std::thread::Builder::new()
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> examples/misc/ha_example_master.rs:4:1
[INFO] [stderr]   |
[INFO] [stderr] 4 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `core::ptr::NonNull`
[INFO] [stderr]  --> examples/misc/ha_example_master.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use core::ptr::NonNull;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> examples/misc/ha_example_master.rs:77:9
[INFO] [stderr]    |
[INFO] [stderr] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]    |
[INFO] [stderr] 77 |         let _ = memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> examples/misc/ha_example_master.rs:77:50
[INFO] [stderr]    |
[INFO] [stderr] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> examples/misc/ha_example_master.rs:77:74
[INFO] [stderr]    |
[INFO] [stderr] 77 |         memory::allocator::init_global_allocator(DB_MEMORY.as_mut_ptr(), DB_MEMORY.len());
[INFO] [stderr]    |                                                                          ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = help: use a type that relies on "interior mutability" instead; to read more on this, visit <https://doc.rust-lang.org/reference/interior-mutability.html>
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `remdb` (example "time_series") generated 2 warnings (run `cargo fix --example "time_series" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (example "ddl_runtime_example") generated 1 warning
[INFO] [stderr] warning: `remdb` (test "utf8_support_test") generated 6 warnings
[INFO] [stderr] warning: `remdb` (example "vector_example") generated 2 warnings
[INFO] [stderr] warning: `remdb` (example "sql_table_management") generated 2 warnings
[INFO] [stderr] warning: `remdb` (test "model_pushdown_test") generated 2 warnings (run `cargo fix --test "model_pushdown_test" -p remdb` to apply 2 suggestions)
[INFO] [stderr] warning: `remdb` (example "ha_example_master") generated 5 warnings (run `cargo fix --example "ha_example_master" -p remdb` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [optimized + debuginfo] target(s) in 0.40s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/remdb-425f62d7e587e3a3)
[INFO] [stdout] 
[INFO] [stdout] running 35 tests
[INFO] [stdout] test pubsub::crc32::tests::test_crc32_calculation ... ok
[INFO] [stdout] test model::onnx_runtime::tests::test_stub_model_execute ... ok
[INFO] [stdout] test pubsub::crc32::tests::test_crc32_verification ... ok
[INFO] [stdout] test ha::protocol::tests::test_sync_ack ... ok
[INFO] [stdout] test model::onnx_runtime::tests::test_stub_model_load ... ok
[INFO] [stdout] test ha::protocol::tests::test_sync_request_incremental ... ok
[INFO] [stdout] test compression::tests::test_vector_compression ... ok
[INFO] [stdout] test ha::protocol::tests::test_sync_data_chunk ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_available_used_space ... ok
[INFO] [stdout] test ha::protocol::tests::test_sync_data_begin ... ok
[INFO] [stdout] test pubsub::publisher::tests::test_handle_nack ... ok
[INFO] [stdout] test ha::protocol::tests::test_sync_request_full ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_buffer_creation ... ok
[INFO] [stdout] test ha::protocol::tests::test_sync_data_end ... ok
[INFO] [stdout] test pubsub::subscriber::tests::test_subscribe_unsubscribe ... ok
[INFO] [stdout] test pubsub::subscriber::tests::test_cleanup_inactive ... ok
[INFO] [stdout] test pubsub::subscriber::tests::test_handle_data ... ok
[INFO] [stdout] test compression::tests::test_float16_conversion ... ok
[INFO] [stdout] test pubsub::publisher::tests::test_create_frame ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_evict_shortest_ttl ... ok
[INFO] [stdout] test pubsub::publisher::tests::test_create_heartbeat_frame ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_buffer_full ... ok
[INFO] [stdout] test utf8::tests::test_contains ... ok
[INFO] [stdout] test utf8::tests::test_compare ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_write_read ... ok
[INFO] [stdout] test wal_compression::tests::test_large_data_compression ... ok
[INFO] [stdout] test wal_compression::tests::test_no_compression ... ok
[INFO] [stdout] test utf8::tests::test_starts_with ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_expired_data ... ok
[INFO] [stdout] test pubsub::ttl_ringbuffer::tests::test_evict_expired ... ok
[INFO] [stdout] test pubsub::publisher::tests::test_check_timeouts ... ok
[INFO] [stdout] test utf8::tests::test_char_length ... ok
[INFO] [stdout] test utf8::tests::test_utf8_validation ... ok
[INFO] [stdout] test sql::query_parser::tests::test_parse_create_table_composite_primary_key ... ok
[INFO] [stdout] test sql::query_parser::test_parse_composite_primary_key ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 35 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/alter_table_test.rs (/opt/rustwide/target/debug/deps/alter_table_test-3569ee91b8d239d6)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test test_alter_table_modify_column ... ok
[INFO] [stdout] test test_alter_table_drop_column ... ok
[INFO] [stdout] test test_alter_table_data_migration ... ok
[INFO] [stdout] test test_alter_table_rename_column ... ok
[INFO] [stdout] test test_alter_table_add_column ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/check_size.rs (/opt/rustwide/target/debug/deps/check_size-f997078a6c038da4)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/composite_primary_key_test.rs (/opt/rustwide/target/debug/deps/composite_primary_key_test-2c3a66c826278276)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test test_composite_pk_with_three_fields ... ok
[INFO] [stdout] test test_insert_and_query_with_composite_pk ... ok
[INFO] [stdout] test test_create_table_with_composite_pk ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/database_test.rs (/opt/rustwide/target/debug/deps/database_test-aa3d166bc7fee460)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test test_database_manager_list_databases ... ok
[INFO] [stdout] test test_create_database_duplicate_returns_exists ... ok
[INFO] [stdout] test test_databases_command ... ok
[INFO] [stdout] test test_use_database_on_created_database ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/drop_table_test.rs (/opt/rustwide/target/debug/deps/drop_table_test-706a192c12c63b49)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test test_drop_table_vector_with_if_exists ... ok
[INFO] [stdout] test test_drop_table_sql_if_exists ... ok
[INFO] [stdout] test test_drop_table_sql ... ok
[INFO] [stdout] test test_drop_table_basic ... ok
[INFO] [stdout] test test_drop_table_if_exists ... ok
[INFO] [stdout] test test_drop_table_memory_recovery ... ok
[INFO] [stdout] test test_drop_table_in_transaction ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/dynamic_ddl_test.rs (/opt/rustwide/target/debug/deps/dynamic_ddl_test-9f90c2e9b9d3ad4b)
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test test_ddl_export_with_time_series ... FAILED
[INFO] [stdout] test test_describe_time_series_table ... ok
[INFO] [stdout] test test_describe_table ... ok
[INFO] [stdout] test test_create_table ... ok
[INFO] [stdout] test test_create_index ... ok
[INFO] [stdout] test test_create_time_series_table ... ok
[INFO] [stdout] test test_create_table_invalid ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- test_ddl_export_with_time_series stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'test_ddl_export_with_time_series' (4536) panicked at tests/dynamic_ddl_test.rs:708:5:
[INFO] [stdout] Failed to export DDL: Some(FileIoError)
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5d57d57ad561 - std[70759c8f55707aa4]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5d57d57ad561 - std[70759c8f55707aa4]::backtrace_rs::backtrace::trace_unsynchronized::<std[70759c8f55707aa4]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5d57d57ad561 - std[70759c8f55707aa4]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5d57d57ad561 - <<std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[df12db4294e9bfd3]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5d57d57c47aa - <core[df12db4294e9bfd3]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5d57d57c47aa - core[df12db4294e9bfd3]::fmt::write
[INFO] [stdout]    6:     0x5d57d57b19fc - core[df12db4294e9bfd3]::io::write::default_write_fmt::<alloc[2182bb758b4b3781]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/io/write.rs:402:11
[INFO] [stdout]    7:     0x5d57d57b19fc - <alloc[2182bb758b4b3781]::vec::Vec<u8> as core[df12db4294e9bfd3]::io::write::Write>::write_fmt
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/io/write.rs:335:13
[INFO] [stdout]    8:     0x5d57d5789896 - <std[70759c8f55707aa4]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5d57d5789896 - std[70759c8f55707aa4]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5d57d57a5a49 - std[70759c8f55707aa4]::panicking::default_hook
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5d57d5668a90 - <alloc[2182bb758b4b3781]::boxed::Box<dyn for<'a, 'b> core[df12db4294e9bfd3]::ops::function::Fn<(&'a std[70759c8f55707aa4]::panic::PanicHookInfo<'b>,), Output = ()> + core[df12db4294e9bfd3]::marker::Send + core[df12db4294e9bfd3]::marker::Sync> as core[df12db4294e9bfd3]::ops::function::Fn<(&std[70759c8f55707aa4]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2334:9
[INFO] [stdout]   12:     0x5d57d5668a90 - test[9d35eded1c95d3be]::test_main_inner::<test[9d35eded1c95d3be]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x5d57d57a5c02 - <alloc[2182bb758b4b3781]::boxed::Box<dyn for<'a, 'b> core[df12db4294e9bfd3]::ops::function::Fn<(&'a std[70759c8f55707aa4]::panic::PanicHookInfo<'b>,), Output = ()> + core[df12db4294e9bfd3]::marker::Send + core[df12db4294e9bfd3]::marker::Sync> as core[df12db4294e9bfd3]::ops::function::Fn<(&std[70759c8f55707aa4]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2334:9
[INFO] [stdout]   14:     0x5d57d57a5c02 - std[70759c8f55707aa4]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:823:13
[INFO] [stdout]   15:     0x5d57d5789942 - std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:688:13
[INFO] [stdout]   16:     0x5d57d5782619 - std[70759c8f55707aa4]::sys::backtrace::__rust_end_short_backtrace::<std[70759c8f55707aa4]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5d57d578a53d - __rustc[8fa7c3cbc660c2b3]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:679:5
[INFO] [stdout]   18:     0x5d57d57c4f6c - core[df12db4294e9bfd3]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5d57d565bc03 - dynamic_ddl_test[2ee907e8dda56ca3]::test_ddl_export_with_time_series
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/dynamic_ddl_test.rs:708:5
[INFO] [stdout]   20:     0x5d57d565bc03 - dynamic_ddl_test[2ee907e8dda56ca3]::test_ddl_export_with_time_series::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/dynamic_ddl_test.rs:657:38
[INFO] [stdout]   21:     0x5d57d565bc03 - <dynamic_ddl_test[2ee907e8dda56ca3]::test_ddl_export_with_time_series::{closure#0} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5d57d565bd7b - <fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5d57d565bd7b - test[9d35eded1c95d3be]::__rust_begin_short_backtrace::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, fn() -> core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:733:18
[INFO] [stdout]   24:     0x5d57d56693e5 - test[9d35eded1c95d3be]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:756:74
[INFO] [stdout]   25:     0x5d57d56693e5 - <core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<test[9d35eded1c95d3be]::run_test_in_process::{closure#0}> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x5d57d56693e5 - std[70759c8f55707aa4]::panicking::catch_unwind::do_call::<core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<test[9d35eded1c95d3be]::run_test_in_process::{closure#0}>, core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:576:43
[INFO] [stdout]   27:     0x5d57d56693e5 - std[70759c8f55707aa4]::panicking::catch_unwind::<core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>, core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<test[9d35eded1c95d3be]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x5d57d56693e5 - std[70759c8f55707aa4]::panic::catch_unwind::<core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<test[9d35eded1c95d3be]::run_test_in_process::{closure#0}>, core[df12db4294e9bfd3]::result::Result<(), alloc[2182bb758b4b3781]::string::String>>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5d57d56693e5 - test[9d35eded1c95d3be]::run_test_in_process
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:756:27
[INFO] [stdout]   30:     0x5d57d56693e5 - test[9d35eded1c95d3be]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:677:43
[INFO] [stdout]   31:     0x5d57d5662ca4 - test[9d35eded1c95d3be]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/test/src/lib.rs:707:41
[INFO] [stdout]   32:     0x5d57d5662ca4 - std[70759c8f55707aa4]::sys::backtrace::__rust_begin_short_backtrace::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x5d57d566c542 - std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   34:     0x5d57d566c542 - <core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x5d57d566c542 - std[70759c8f55707aa4]::panicking::catch_unwind::do_call::<core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:576:43
[INFO] [stdout]   36:     0x5d57d566c542 - std[70759c8f55707aa4]::panicking::catch_unwind::<(), core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x5d57d566c542 - std[70759c8f55707aa4]::panic::catch_unwind::<core[df12db4294e9bfd3]::panic::unwind_safe::AssertUnwindSafe<std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5d57d566c542 - std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked::<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   39:     0x5d57d566c542 - <std[70759c8f55707aa4]::thread::lifecycle::spawn_unchecked<test[9d35eded1c95d3be]::run_test::{closure#1}, ()>::{closure#1} as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x5d57d57ace09 - <alloc[2182bb758b4b3781]::boxed::Box<dyn core[df12db4294e9bfd3]::ops::function::FnOnce<(), Output = ()> + core[df12db4294e9bfd3]::marker::Send> as core[df12db4294e9bfd3]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/alloc/src/boxed.rs:2320:9
[INFO] [stdout]   41:     0x5d57d57ace09 - <std[70759c8f55707aa4]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/dfb0accb7f508ae8be965d8629557221c889dd98/library/std/src/sys/thread/unix.rs:123:17
[INFO] [stdout]   42:     0x759b1250edfa - <unknown>
[INFO] [stdout]   43:     0x759b125a23d4 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     test_ddl_export_with_time_series
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.54s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test dynamic_ddl_test`
[INFO] running `Command { std: "docker" "inspect" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd", kill_on_drop: false }`
[INFO] [stdout] 57fa39061b754444808b8a6ee5e2ab1567f1e01aa88cc88272613db268d240dd
