[INFO] fetching crate luckdb 0.1.4...
[INFO] testing luckdb-0.1.4 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate luckdb 0.1.4 into /workspace/builds/worker-3-tc2/source
[INFO] started tweaking crates.io crate luckdb 0.1.4
[INFO] finished tweaking crates.io crate luckdb 0.1.4
[INFO] tweaked toml for crates.io crate luckdb 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate luckdb 0.1.4 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate luckdb 0.1.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b6924c747342e6e695896bdb669ae588d14bf436d05c62727a78464c993ca038
[INFO] running `Command { std: "docker" "start" "-a" "b6924c747342e6e695896bdb669ae588d14bf436d05c62727a78464c993ca038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b6924c747342e6e695896bdb669ae588d14bf436d05c62727a78464c993ca038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b6924c747342e6e695896bdb669ae588d14bf436d05c62727a78464c993ca038", kill_on_drop: false }`
[INFO] [stdout] b6924c747342e6e695896bdb669ae588d14bf436d05c62727a78464c993ca038
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 5cda620c173c6ed058ceb9cc93dc87c443108f0d440b80b2cc4df23f07a3cfef
[INFO] running `Command { std: "docker" "start" "-a" "5cda620c173c6ed058ceb9cc93dc87c443108f0d440b80b2cc4df23f07a3cfef", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling block-padding v0.3.3
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling winnow v0.7.13
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling clap_builder v4.5.53
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling cbc v0.1.2
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling dirs-sys v0.5.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling ctrlc v3.5.1
[INFO] [stderr]    Compiling dirs v6.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling clap v4.5.53
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling luckdb v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] running `Command { std: "docker" "inspect" "5cda620c173c6ed058ceb9cc93dc87c443108f0d440b80b2cc4df23f07a3cfef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cda620c173c6ed058ceb9cc93dc87c443108f0d440b80b2cc4df23f07a3cfef", kill_on_drop: false }`
[INFO] [stdout] 5cda620c173c6ed058ceb9cc93dc87c443108f0d440b80b2cc4df23f07a3cfef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9b88e15837e9acab1ba39c0b9f1389991696f3020b14f7fde57d7c2fa2f48621
[INFO] running `Command { std: "docker" "start" "-a" "9b88e15837e9acab1ba39c0b9f1389991696f3020b14f7fde57d7c2fa2f48621", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling half v2.6.0
[INFO] [stderr]    Compiling os_str_bytes v6.6.1
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling ciborium-ll v0.2.2
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling criterion-plot v0.5.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v3.2.25
[INFO] [stderr]    Compiling ctrlc v3.5.1
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling serde_spanned v0.6.9
[INFO] [stderr]    Compiling toml_datetime v0.6.11
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling ciborium v0.2.2
[INFO] [stderr]    Compiling toml_edit v0.22.27
[INFO] [stderr]    Compiling tinytemplate v1.2.1
[INFO] [stderr]    Compiling criterion v0.4.0
[INFO] [stderr]    Compiling toml v0.8.23
[INFO] [stderr]    Compiling luckdb v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 51.17s
[INFO] running `Command { std: "docker" "inspect" "9b88e15837e9acab1ba39c0b9f1389991696f3020b14f7fde57d7c2fa2f48621", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9b88e15837e9acab1ba39c0b9f1389991696f3020b14f7fde57d7c2fa2f48621", kill_on_drop: false }`
[INFO] [stdout] 9b88e15837e9acab1ba39c0b9f1389991696f3020b14f7fde57d7c2fa2f48621
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] afc54aa23de1e017c0c15cc94349c2f8e4f566896a8bddb3757589dd4ad5d80c
[INFO] running `Command { std: "docker" "start" "-a" "afc54aa23de1e017c0c15cc94349c2f8e4f566896a8bddb3757589dd4ad5d80c", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/luckdb/13bee8a746b2a5cd/deps/luckdb-13bee8a746b2a5cd)
[INFO] [stdout] running 3 tests
[INFO] [stdout] test encryption::tests::test_string_encryption ... ok
[INFO] [stdout] test encryption::tests::test_encryption_decryption ... ok
[INFO] [stdout] test encryption::tests::test_tampered_data ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/build/luckdb/36720e949faf05df/deps/luckdb-36720e949faf05df)
[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 unittests src/bin/luckdb-server-cli.rs (/opt/rustwide/target/debug/build/luckdb/89b87e704cd47dc8/deps/luckdb_server_cli-89b87e704cd47dc8)
[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]    Doc-tests luckdb
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::new (line 96) - compile ... ok
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::with_server_mode (line 183) - compile ... ok
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::save_to_file (line 282) - compile ... ok
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::with_encryption (line 155) - compile ... ok
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::with_storage_path (line 122) - compile ... ok
[INFO] [stdout] test src/config.rs - config::DatabaseConfig (line 19) - compile ... FAILED
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::load_from_file (line 315) - compile ... ok
[INFO] [stdout] test src/config.rs - config::DatabaseConfig::with_auth (line 215) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1108) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 207) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 164) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 150) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 356) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 407) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 312) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 329) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 475) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 281) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 432) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1159) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 458) ... ok
[INFO] [stdout] test src/lib.rs - (line 578) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 554) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 521) ... ok
[INFO] [stdout] test src/lib.rs - (line 710) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 104) ... FAILED
[INFO] [stdout] test src/lib.rs - Client::new (line 3609) - compile ... ok
[INFO] [stdout] test src/lib.rs - Client (line 3578) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 852) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 757) ... FAILED
[INFO] [stdout] test src/lib.rs - Collection (line 1307) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Client::with_config_file (line 3729) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - Database (line 3295) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 654) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 611) ... ok
[INFO] [stdout] test src/lib.rs - Query (line 265) ... FAILED
[INFO] [stdout] test src/lib.rs - chrono (line 86) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 1077) ... ok
[INFO] [stdout] test src/lib.rs - Client::with_config (line 3678) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - chrono (line 71) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - chrono (line 24) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - chrono (line 56) - compile ... FAILED
[INFO] [stdout] test src/lib.rs - (line 908) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/config.rs - config::DatabaseConfig (line 19) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]   --> src/config.rs:25:6
[INFO] [stdout]    |
[INFO] [stdout] 24 |   let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout]    |  ______________-
[INFO] [stdout] 25 | |     .with_encryption("secure_password")
[INFO] [stdout]    | |     -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]    | |_____|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]    = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 24 - let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout] 25 -     .with_encryption("secure_password")
[INFO] [stdout] 24 + let config = DatabaseConfig::with_encryption("secure_password")
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/config.rs - config::DatabaseConfig::with_auth (line 215) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_auth` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/config.rs:220:6
[INFO] [stdout]     |
[INFO] [stdout] 219 |   let config = DatabaseConfig::new()
[INFO] [stdout]     |  ______________-
[INFO] [stdout] 220 | |     .with_auth("admin", "secure_auth_password");
[INFO] [stdout]     | |     -^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 219 - let config = DatabaseConfig::new()
[INFO] [stdout] 220 -     .with_auth("admin", "secure_auth_password");
[INFO] [stdout] 219 + let config = DatabaseConfig::with_auth("admin", "secure_auth_password");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1108) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_auth` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]     --> src/lib.rs:1117:14
[INFO] [stdout]      |
[INFO] [stdout] 1116 |           let server_config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout]      |  _____________________________-
[INFO] [stdout] 1117 | |             .with_auth("admin", "password123")
[INFO] [stdout]      | |             -^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]      | |_____________|
[INFO] [stdout]      |
[INFO] [stdout]      |
[INFO] [stdout]      = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]      = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]      |
[INFO] [stdout] 1116 -         let server_config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout] 1117 -             .with_auth("admin", "password123")
[INFO] [stdout] 1116 +         let server_config = DatabaseConfig::with_auth("admin", "password123")
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 207) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:212:59
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 212 | let config = DatabaseConfig::load_from_file("config.toml")?;
[INFO] [stdout]     |                                                           ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 216 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout] 217 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:213:45
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 213 | let mut client = Client::with_config(config)?;
[INFO] [stdout]     |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 216 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout] 217 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:216:57
[INFO] [stdout]     |
[INFO] [stdout] 208 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 216 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout]     |                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 208 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_207_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 209 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 216 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout] 217 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 164) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_auth` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/lib.rs:170:6
[INFO] [stdout]     |
[INFO] [stdout] 169 |   let server_config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout]     |  _____________________-
[INFO] [stdout] 170 | |     .with_auth("admin", "secure_password")
[INFO] [stdout]     | |     -^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 169 - let server_config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout] 170 -     .with_auth("admin", "secure_password")
[INFO] [stdout] 169 + let server_config = DatabaseConfig::with_auth("admin", "secure_password")
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:173:88
[INFO] [stdout]     |
[INFO] [stdout] 165 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_164_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 173 | let mut server = Server::with_config("127.0.0.1:27017".parse().unwrap(), server_config)?;
[INFO] [stdout]     |                                                                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 165 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_164_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 166 | use luckdb::{Server, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 174 | server.start()?;
[INFO] [stdout] 175 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:174:15
[INFO] [stdout]     |
[INFO] [stdout] 165 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_164_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 174 | server.start()?;
[INFO] [stdout]     |               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 165 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_164_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 166 | use luckdb::{Server, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 174 | server.start()?;
[INFO] [stdout] 175 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 150) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/lib.rs:156:6
[INFO] [stdout]     |
[INFO] [stdout] 155 |   let config = DatabaseConfig::with_storage_path("./secure_data")
[INFO] [stdout]     |  ______________-
[INFO] [stdout] 156 | |     .with_encryption("my_password");
[INFO] [stdout]     | |     -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 155 - let config = DatabaseConfig::with_storage_path("./secure_data")
[INFO] [stdout] 156 -     .with_encryption("my_password");
[INFO] [stdout] 155 + let config = DatabaseConfig::with_encryption("my_password");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:158:45
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_150_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 158 | let mut client = Client::with_config(config)?;
[INFO] [stdout]     |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 151 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_150_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 152 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 160 | client.save()?;
[INFO] [stdout] 161 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:160:14
[INFO] [stdout]     |
[INFO] [stdout] 151 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_150_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 160 | client.save()?;
[INFO] [stdout]     |              ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 151 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_150_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 152 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 160 | client.save()?;
[INFO] [stdout] 161 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 356) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_auth` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/lib.rs:371:6
[INFO] [stdout]     |
[INFO] [stdout] 370 |   let config = DatabaseConfig::new()
[INFO] [stdout]     |  ______________-
[INFO] [stdout] 371 | |     .with_auth("username", "password")
[INFO] [stdout]     | |     -^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 370 - let config = DatabaseConfig::new()
[INFO] [stdout] 371 -     .with_auth("username", "password")
[INFO] [stdout] 370 + let config = DatabaseConfig::with_auth("username", "password")
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:376:66
[INFO] [stdout]     |
[INFO] [stdout] 357 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_356_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 376 | let loaded_config = DatabaseConfig::load_from_file("config.toml")?;
[INFO] [stdout]     |                                                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 357 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_356_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 358 | use luckdb::config::DatabaseConfig;
[INFO] [stdout] ...
[INFO] [stdout] 376 | let loaded_config = DatabaseConfig::load_from_file("config.toml")?;
[INFO] [stdout] 377 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 407) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:415:70
[INFO] [stdout]     |
[INFO] [stdout] 408 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_407_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 415 | let encrypted = AesEncryption::encrypt_string("sensitive data", &key)?;
[INFO] [stdout]     |                                                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 408 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_407_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 409 | use luckdb::encryption::{AesEncryption, EncryptionKey};
[INFO] [stdout] ...
[INFO] [stdout] 418 | let decrypted = AesEncryption::decrypt_string(&encrypted, &key)?;
[INFO] [stdout] 419 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:418:64
[INFO] [stdout]     |
[INFO] [stdout] 408 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_407_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 418 | let decrypted = AesEncryption::decrypt_string(&encrypted, &key)?;
[INFO] [stdout]     |                                                                ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 408 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_407_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 409 | use luckdb::encryption::{AesEncryption, EncryptionKey};
[INFO] [stdout] ...
[INFO] [stdout] 418 | let decrypted = AesEncryption::decrypt_string(&encrypted, &key)?;
[INFO] [stdout] 419 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 312) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `client` in this scope
[INFO] [stdout]    --> src/lib.rs:313:10
[INFO] [stdout]     |
[INFO] [stdout] 313 | let db = client.db("mydb");
[INFO] [stdout]     |          ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 329) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `db` in this scope
[INFO] [stdout]    --> src/lib.rs:330:18
[INFO] [stdout]     |
[INFO] [stdout] 330 | let collection = db.collection("users");
[INFO] [stdout]     |                  ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 475) stdout ----
[INFO] [stdout] error[E0603]: enum `Value` is private
[INFO] [stdout]    --> src/lib.rs:477:21
[INFO] [stdout]     |
[INFO] [stdout] 477 | use luckdb::{Query, Value};
[INFO] [stdout]     |                     ^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `Value` is defined here
[INFO] [stdout]    --> src/lib.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 | use serde_json::{Map, Value as Document, Value};
[INFO] [stdout]     |                                          ^^^^^
[INFO] [stdout] help: import `Value` directly
[INFO] [stdout]     |
[INFO] [stdout] 477 | use luckdb::{Query, serde_json::value::Value};
[INFO] [stdout]     |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 281) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]    --> src/lib.rs:283:18
[INFO] [stdout]     |
[INFO] [stdout] 283 | let mut client = Client::new();
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 281 + use luckdb::Client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DatabaseConfig`
[INFO] [stdout]    --> src/lib.rs:286:14
[INFO] [stdout]     |
[INFO] [stdout] 286 | let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout]     |              ^^^^^^^^^^^^^^ use of undeclared type `DatabaseConfig`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 281 + use luckdb::config::DatabaseConfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]    --> src/lib.rs:288:18
[INFO] [stdout]     |
[INFO] [stdout] 288 | let mut client = Client::with_config(config)?;
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 281 + use luckdb::Client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]    --> src/lib.rs:291:18
[INFO] [stdout]     |
[INFO] [stdout] 291 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout]     |                  ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 281 + use luckdb::Client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 432) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_auth` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/lib.rs:438:6
[INFO] [stdout]     |
[INFO] [stdout] 437 |   let config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout]     |  ______________-
[INFO] [stdout] 438 | |     .with_auth("admin", "password")
[INFO] [stdout]     | |     -^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_____|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 437 - let config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout] 438 -     .with_auth("admin", "password")
[INFO] [stdout] 437 + let config = DatabaseConfig::with_auth("admin", "password")
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:441:81
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_432_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 441 | let mut server = Server::with_config("127.0.0.1:27017".parse().unwrap(), config)?;
[INFO] [stdout]     |                                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 433 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_432_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 434 | use luckdb::{Server, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 444 | server.start()?;
[INFO] [stdout] 445 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/lib.rs:444:15
[INFO] [stdout]     |
[INFO] [stdout] 433 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_432_0() {
[INFO] [stdout]     |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 444 | server.start()?;
[INFO] [stdout]     |               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 433 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_432_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 434 | use luckdb::{Server, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 444 | server.start()?;
[INFO] [stdout] 445 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 1159) stdout ----
[INFO] [stdout] Test executable failed (exit status: 1).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread '<unnamed>' (223) panicked at src/lib.rs:20:24:
[INFO] [stdout] called `Result::unwrap()` on an `Err` value: IoError(Os { code: 21, kind: IsADirectory, message: "Is a directory" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout] Error: IoError(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 578) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Query`
[INFO] [stdout]    --> src/lib.rs:585:29
[INFO] [stdout]     |
[INFO] [stdout] 585 |     AggregationStage::Match(Query::new().eq("status", "active".into())),
[INFO] [stdout]     |                             ^^^^^ use of undeclared type `Query`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 577 + use luckdb::Query;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GroupSpecification` in this scope
[INFO] [stdout]    --> src/lib.rs:588:29
[INFO] [stdout]     |
[INFO] [stdout] 588 |     AggregationStage::Group(GroupSpecification {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 577 + use luckdb::GroupSpecification;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `collection` in this scope
[INFO] [stdout]    --> src/lib.rs:605:15
[INFO] [stdout]     |
[INFO] [stdout] 605 | let results = collection.aggregate(pipeline)?;
[INFO] [stdout]     |               ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 554) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `collection` in this scope
[INFO] [stdout]    --> src/lib.rs:560:1
[INFO] [stdout]     |
[INFO] [stdout] 560 | collection.create_index(index)?;
[INFO] [stdout]     | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `collection` in this scope
[INFO] [stdout]    --> src/lib.rs:567:1
[INFO] [stdout]     |
[INFO] [stdout] 567 | collection.create_index(index)?;
[INFO] [stdout]     | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `collection` in this scope
[INFO] [stdout]    --> src/lib.rs:572:1
[INFO] [stdout]     |
[INFO] [stdout] 572 | collection.create_index(index)?;
[INFO] [stdout]     | ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 710) stdout ----
[INFO] [stdout] error: no rules expected `[`
[INFO] [stdout]    --> src/lib.rs:725:71
[INFO] [stdout]     |
[INFO] [stdout] 725 |             "city": ["New York", "San Francisco", "Chicago", "Boston"][i % 4],
[INFO] [stdout]     |                                                                       ^ no rules expected this token in macro call
[INFO] [stdout]     |
[INFO] [stdout]     = note: while trying to match end of macro
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 104) stdout ----
[INFO] [stdout] Test executable failed (exit status: 1).
[INFO] [stdout] 
[INFO] [stdout] stdout:
[INFO] [stdout] Inserted document with ID: 5d6b9c05-42fd-4c3e-85e4-8f88b3513ab1
[INFO] [stdout] Found document 5d6b9c05-42fd-4c3e-85e4-8f88b3513ab1: {"_id":"5d6b9c05-42fd-4c3e-85e4-8f88b3513ab1","age":30,"city":"New York","interests":["reading","hiking"],"name":"Alice"}
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] Error: IoError(Os { code: 21, kind: IsADirectory, message: "Is a directory" })
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 852) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/lib.rs:860:10
[INFO] [stdout]     |
[INFO] [stdout] 859 |       let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout]     |  __________________-
[INFO] [stdout] 860 | |         .with_encryption("secure_password");
[INFO] [stdout]     | |         -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 859 -     let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout] 860 -         .with_encryption("secure_password");
[INFO] [stdout] 859 +     let config = DatabaseConfig::with_encryption("secure_password");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]    --> src/lib.rs:888:10
[INFO] [stdout]     |
[INFO] [stdout] 887 |       let config2 = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout]     |  ___________________-
[INFO] [stdout] 888 | |         .with_encryption("secure_password");
[INFO] [stdout]     | |         -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]     | |_________|
[INFO] [stdout]     |
[INFO] [stdout]     |
[INFO] [stdout]     = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]     = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]     |
[INFO] [stdout] 887 -     let config2 = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout] 888 -         .with_encryption("secure_password");
[INFO] [stdout] 887 +     let config2 = DatabaseConfig::with_encryption("secure_password");
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 757) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GroupSpecification` in this scope
[INFO] [stdout]    --> src/lib.rs:806:33
[INFO] [stdout]     |
[INFO] [stdout] 806 |         AggregationStage::Group(GroupSpecification {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 759 + use luckdb::GroupSpecification;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `GroupSpecification` in this scope
[INFO] [stdout]    --> src/lib.rs:827:33
[INFO] [stdout]     |
[INFO] [stdout] 827 |         AggregationStage::Group(GroupSpecification {
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 759 + use luckdb::GroupSpecification;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Collection (line 1307) stdout ----
[INFO] [stdout] error[E0603]: enum `Document` is private
[INFO] [stdout]     --> src/lib.rs:1309:22
[INFO] [stdout]      |
[INFO] [stdout] 1309 | use luckdb::{Client, Document};
[INFO] [stdout]      |                      ^^^^^^^^ private enum
[INFO] [stdout]      |
[INFO] [stdout] note: the enum `Document` is defined here
[INFO] [stdout]     --> src/lib.rs:112:23
[INFO] [stdout]      |
[INFO] [stdout]  112 | use serde_json::{Map, Value as Document, Value};
[INFO] [stdout]      |                       ^^^^^
[INFO] [stdout] help: import `Document` directly
[INFO] [stdout]      |
[INFO] [stdout] 1309 - use luckdb::{Client, Document};
[INFO] [stdout] 1309 + use luckdb::{Client, serde_json::value::Value};
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]     --> src/lib.rs:1312:18
[INFO] [stdout]      |
[INFO] [stdout] 1312 | let mut client = Client::new("mongodb://localhost");
[INFO] [stdout]      |                  ^^^^^^^^^^^ --------------------- unexpected argument of type `&'static str`
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/lib.rs:3620:12
[INFO] [stdout]      |
[INFO] [stdout] 3620 |     pub fn new() -> Self {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]      |
[INFO] [stdout] 1312 - let mut client = Client::new("mongodb://localhost");
[INFO] [stdout] 1312 + let mut client = Client::new();
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Client::with_config_file (line 3729) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> src/lib.rs:3734:57
[INFO] [stdout]      |
[INFO] [stdout] 3730 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3729_0() {
[INFO] [stdout]      |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 3734 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout]      |                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 3730 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3729_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 3731 | use luckdb::Client;
[INFO] [stdout]  ...
[INFO] [stdout] 3735 | let db = client.db("mydb");
[INFO] [stdout] 3736 +     Ok(())
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Database (line 3295) stdout ----
[INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied
[INFO] [stdout]     --> src/lib.rs:3299:18
[INFO] [stdout]      |
[INFO] [stdout] 3299 | let mut client = Client::new("mongodb://localhost");
[INFO] [stdout]      |                  ^^^^^^^^^^^ --------------------- unexpected argument of type `&'static str`
[INFO] [stdout]      |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]     --> src/lib.rs:3620:12
[INFO] [stdout]      |
[INFO] [stdout] 3620 |     pub fn new() -> Self {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] help: remove the extra argument
[INFO] [stdout]      |
[INFO] [stdout] 3299 - let mut client = Client::new("mongodb://localhost");
[INFO] [stdout] 3299 + let mut client = Client::new();
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 654) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client`
[INFO] [stdout]    --> src/lib.rs:660:22
[INFO] [stdout]     |
[INFO] [stdout] 660 |     let mut client = Client::new();
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Client`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 656 + use luckdb::Client;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: enum `Value` is private
[INFO] [stdout]    --> src/lib.rs:656:21
[INFO] [stdout]     |
[INFO] [stdout] 656 | use luckdb::{Query, Value};
[INFO] [stdout]     |                     ^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `Value` is defined here
[INFO] [stdout]    --> src/lib.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 | use serde_json::{Map, Value as Document, Value};
[INFO] [stdout]     |                                          ^^^^^
[INFO] [stdout] help: import `Value` directly
[INFO] [stdout]     |
[INFO] [stdout] 656 | use luckdb::{Query, serde_json::value::Value};
[INFO] [stdout]     |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0603.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Query (line 265) stdout ----
[INFO] [stdout] error[E0603]: enum `Value` is private
[INFO] [stdout]    --> src/lib.rs:267:21
[INFO] [stdout]     |
[INFO] [stdout] 267 | use luckdb::{Query, Value};
[INFO] [stdout]     |                     ^^^^^ private enum
[INFO] [stdout]     |
[INFO] [stdout] note: the enum `Value` is defined here
[INFO] [stdout]    --> src/lib.rs:112:42
[INFO] [stdout]     |
[INFO] [stdout] 112 | use serde_json::{Map, Value as Document, Value};
[INFO] [stdout]     |                                          ^^^^^
[INFO] [stdout] help: import `Value` directly
[INFO] [stdout]     |
[INFO] [stdout] 267 | use luckdb::{Query, serde_json::value::Value};
[INFO] [stdout]     |                     +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chrono (line 86) stdout ----
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:91:57
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_86_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 91 | let mut client = Client::with_config_file("config.toml")?;
[INFO] [stdout]    |                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 87 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 88 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 97 | let mut client = Client::with_config(config)?;
[INFO] [stdout] 98 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:94:63
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_86_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 94 | let mut config = DatabaseConfig::load_from_file("config.toml")?;
[INFO] [stdout]    |                                                               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 87 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 88 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 97 | let mut client = Client::with_config(config)?;
[INFO] [stdout] 98 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:97:45
[INFO] [stdout]    |
[INFO] [stdout] 87 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_86_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 97 | let mut client = Client::with_config(config)?;
[INFO] [stdout]    |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 87 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_86_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 88 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 97 | let mut client = Client::with_config(config)?;
[INFO] [stdout] 98 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Client::with_config (line 3678) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]     --> src/lib.rs:3684:6
[INFO] [stdout]      |
[INFO] [stdout] 3683 |   let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout]      |  ______________-
[INFO] [stdout] 3684 | |     .with_encryption("secure_password");
[INFO] [stdout]      | |     -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]      | |_____|
[INFO] [stdout]      |
[INFO] [stdout]      |
[INFO] [stdout]      = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]      = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]      |
[INFO] [stdout] 3683 - let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout] 3684 -     .with_encryption("secure_password");
[INFO] [stdout] 3683 + let config = DatabaseConfig::with_encryption("secure_password");
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]     --> src/lib.rs:3686:45
[INFO] [stdout]      |
[INFO] [stdout] 3679 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3678_0() {
[INFO] [stdout]      |                                      ------------------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 3686 | let mut client = Client::with_config(config)?;
[INFO] [stdout]      |                                             ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]      |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]      |
[INFO] [stdout] 3679 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_3678_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 3680 | use luckdb::{Client, config::DatabaseConfig};
[INFO] [stdout]  ...
[INFO] [stdout] 3687 | let db = client.db("mydb");
[INFO] [stdout] 3688 +     Ok(())
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chrono (line 71) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_auth` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]   --> src/lib.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 75 |   let config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout]    |  ______________-
[INFO] [stdout] 76 | |     .with_auth("admin", "password")
[INFO] [stdout]    | |     -^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]    | |_____|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]    = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 75 - let config = DatabaseConfig::with_storage_path("./server_data")
[INFO] [stdout] 76 -     .with_auth("admin", "password")
[INFO] [stdout] 75 + let config = DatabaseConfig::with_auth("admin", "password")
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:79:81
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 79 | let mut server = Server::with_config("127.0.0.1:27017".parse().unwrap(), config)?;
[INFO] [stdout]    |                                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 72 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 73 | use luckdb::{Server, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 80 | server.start()?;
[INFO] [stdout] 81 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:80:15
[INFO] [stdout]    |
[INFO] [stdout] 72 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() {
[INFO] [stdout]    |                                      ---------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 80 | server.start()?;
[INFO] [stdout]    |               ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 72 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_71_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 73 | use luckdb::{Server, config::DatabaseConfig};
[INFO] [stdout] ...
[INFO] [stdout] 80 | server.start()?;
[INFO] [stdout] 81 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chrono (line 24) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]   --> src/lib.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 30 |   let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout]    |  ______________-
[INFO] [stdout] 31 | |     .with_encryption("my_secure_password");
[INFO] [stdout]    | |     -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]    | |_____|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]    = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 30 - let config = DatabaseConfig::with_storage_path("./data")
[INFO] [stdout] 31 -     .with_encryption("my_secure_password");
[INFO] [stdout] 30 + let config = DatabaseConfig::with_encryption("my_secure_password");
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/lib.rs:46:45
[INFO] [stdout]     |
[INFO] [stdout]  46 | let query = luckdb::Query::new().eq("name", "John");
[INFO] [stdout]     |                                  --         ^^^^^^ expected `Value`, found `&str`
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> src/lib.rs:386:12
[INFO] [stdout]     |
[INFO] [stdout] 386 |     pub fn eq(mut self, key: &str, value: Value) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] help: call `Into::into` on this expression to convert `&'static str` into `Value`
[INFO] [stdout]     |
[INFO] [stdout]  46 | let query = luckdb::Query::new().eq("name", "John".into());
[INFO] [stdout]     |                                                   +++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - chrono (line 56) stdout ----
[INFO] [stdout] error[E0599]: no method named `with_encryption` found for struct `DatabaseConfig` in the current scope
[INFO] [stdout]   --> src/lib.rs:61:6
[INFO] [stdout]    |
[INFO] [stdout] 60 |   let config = DatabaseConfig::new()
[INFO] [stdout]    |  ______________-
[INFO] [stdout] 61 | |     .with_encryption("my_password")
[INFO] [stdout]    | |     -^^^^^^^^^^^^^^^ this is an associated function, not a method
[INFO] [stdout]    | |_____|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]    = note: found the following associated functions; to be used as methods, functions must have a `self` parameter
[INFO] [stdout]    = note: the candidate is defined in an impl for the type `DatabaseConfig`
[INFO] [stdout] help: use associated function syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 60 - let config = DatabaseConfig::new()
[INFO] [stdout] 61 -     .with_encryption("my_password")
[INFO] [stdout] 60 + let config = DatabaseConfig::with_encryption("my_password")
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 908) stdout ----
[INFO] [stdout] Test executable failed (exit status: 1).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] Error: IoError(Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" })
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/config.rs - config::DatabaseConfig (line 19)
[INFO] [stdout]     src/config.rs - config::DatabaseConfig::with_auth (line 215)
[INFO] [stdout]     src/lib.rs - (line 104)
[INFO] [stdout]     src/lib.rs - (line 1108)
[INFO] [stdout]     src/lib.rs - (line 1159)
[INFO] [stdout]     src/lib.rs - (line 150)
[INFO] [stdout]     src/lib.rs - (line 164)
[INFO] [stdout]     src/lib.rs - (line 207)
[INFO] [stdout]     src/lib.rs - (line 281)
[INFO] [stdout]     src/lib.rs - (line 312)
[INFO] [stdout]     src/lib.rs - (line 329)
[INFO] [stdout]     src/lib.rs - (line 356)
[INFO] [stdout]     src/lib.rs - (line 407)
[INFO] [stdout]     src/lib.rs - (line 432)
[INFO] [stdout]     src/lib.rs - (line 475)
[INFO] [stdout]     src/lib.rs - (line 554)
[INFO] [stdout]     src/lib.rs - (line 578)
[INFO] [stdout]     src/lib.rs - (line 654)
[INFO] [stdout]     src/lib.rs - (line 710)
[INFO] [stdout]     src/lib.rs - (line 757)
[INFO] [stdout]     src/lib.rs - (line 852)
[INFO] [stdout]     src/lib.rs - (line 908)
[INFO] [stdout]     src/lib.rs - Client::with_config (line 3678)
[INFO] [stdout]     src/lib.rs - Client::with_config_file (line 3729)
[INFO] [stdout]     src/lib.rs - Collection (line 1307)
[INFO] [stdout]     src/lib.rs - Database (line 3295)
[INFO] [stdout]     src/lib.rs - Query (line 265)
[INFO] [stdout]     src/lib.rs - chrono (line 24)
[INFO] [stdout]     src/lib.rs - chrono (line 56)
[INFO] [stdout]     src/lib.rs - chrono (line 71)
[INFO] [stdout]     src/lib.rs - chrono (line 86)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 12 passed; 31 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.06s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "afc54aa23de1e017c0c15cc94349c2f8e4f566896a8bddb3757589dd4ad5d80c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afc54aa23de1e017c0c15cc94349c2f8e4f566896a8bddb3757589dd4ad5d80c", kill_on_drop: false }`
[INFO] [stdout] afc54aa23de1e017c0c15cc94349c2f8e4f566896a8bddb3757589dd4ad5d80c
