sqlx 0.7.1

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
Documentation

Build #861684 2023-07-15 06:13:15

# rustc version rustc 1.73.0-nightly (ad963232d 2023-07-14)

# docs.rs version docsrs 0.6.0 (84edb415 2023-07-07)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sqlx-0.7.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sqlx-0.7.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "all-databases _unstable-all-types" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230714-1.73.0-nightly-ad963232d\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 548c0147941dd42c276a5cec2f24eb1afa4585c80433f1ba889bc346e8b272f9 [INFO] running `Command { std: "docker" "start" "-a" "548c0147941dd42c276a5cec2f24eb1afa4585c80433f1ba889bc346e8b272f9", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Documenting sqlx v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `AnyConnection` [INFO] [stderr] --> src/any/mod.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / //! **SEE DOCUMENTATION BEFORE USE**. Runtime-generic database driver. [INFO] [stderr] 2 | | #![doc = include_str!("install_drivers_note.md")] [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`install_drivers`][crate::any::install_drivers]. Any use of [`AnyConnection`] or [`AnyPool`] [INFO] [stderr] ^^^^^^^^^^^^^^^ [INFO] [stderr] = note: no item named `AnyConnection` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `AnyPool` [INFO] [stderr] --> src/any/mod.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | / //! **SEE DOCUMENTATION BEFORE USE**. Runtime-generic database driver. [INFO] [stderr] 2 | | #![doc = include_str!("install_drivers_note.md")] [INFO] [stderr] | |_________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] [`install_drivers`][crate::any::install_drivers]. Any use of [`AnyConnection`] or [`AnyPool`] [INFO] [stderr] ^^^^^^^^^ [INFO] [stderr] = note: no item named `AnyPool` in scope [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `AnyConnection` [INFO] [stderr] --> src/any/mod.rs:23:53 [INFO] [stderr] | [INFO] [stderr] 23 | /// Install all currently compiled-in drivers for [`AnyConnection`] to use. [INFO] [stderr] | ^^^^^^^^^^^^^ no item named `AnyConnection` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `mssql::types` [INFO] [stderr] --> src/lib.rs:92:16 [INFO] [stderr] | [INFO] [stderr] 92 | /// * MSSQL: [mssql::types] [INFO] [stderr] | ^^^^^^^^^^^^ no item named `mssql` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `dotenvy` [INFO] [stderr] --> src/macros/mod.rs:63:25 [INFO] [stderr] | [INFO] [stderr] 63 | /// so we now use the [`dotenvy`] crate instead. The file format is the same. [INFO] [stderr] | ^^^^^^^ no item named `dotenvy` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_as` [INFO] [stderr] --> src/macros/mod.rs:303:8 [INFO] [stderr] | [INFO] [stderr] 303 | /// * [query_as!] if you want to use a struct you can name, [INFO] [stderr] | ^^^^^^^^^ no item named `query_as` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_as` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_file` [INFO] [stderr] --> src/macros/mod.rs:304:8 [INFO] [stderr] | [INFO] [stderr] 304 | /// * [query_file!] if you want to define the SQL query out-of-line, [INFO] [stderr] | ^^^^^^^^^^^ no item named `query_file` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_file` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_file_as` [INFO] [stderr] --> src/macros/mod.rs:305:8 [INFO] [stderr] | [INFO] [stderr] 305 | /// * [query_file_as!] if you want both of the above. [INFO] [stderr] | ^^^^^^^^^^^^^^ no item named `query_file_as` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_file_as` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::mssql::types` [INFO] [stderr] --> src/macros/mod.rs:425:19 [INFO] [stderr] | [INFO] [stderr] 425 | /// * MSSQL: [crate::mssql::types] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no item named `mssql` in module `sqlx` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_as` [INFO] [stderr] --> src/macros/mod.rs:651:33 [INFO] [stderr] | [INFO] [stderr] 651 | /// Wildcard overrides like in [query_as!] are also allowed, in which case the output type [INFO] [stderr] | ^^^^^^^^^ no item named `query_as` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_as` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_file` [INFO] [stderr] --> src/macros/mod.rs:392:19 [INFO] [stderr] | [INFO] [stderr] 392 | /// A variant of [query_file!] which does not check the input or output types. This still does parse [INFO] [stderr] | ^^^^^^^^^^^ no item named `query_file` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_file` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_as` [INFO] [stderr] --> src/macros/mod.rs:568:31 [INFO] [stderr] | [INFO] [stderr] 568 | /// Combines the syntaxes of [query_as!] and [query_file!]. [INFO] [stderr] | ^^^^^^^^^ no item named `query_as` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_as` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_file` [INFO] [stderr] --> src/macros/mod.rs:568:47 [INFO] [stderr] | [INFO] [stderr] 568 | /// Combines the syntaxes of [query_as!] and [query_file!]. [INFO] [stderr] | ^^^^^^^^^^^ no item named `query_file` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_file` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_as` [INFO] [stderr] --> src/macros/mod.rs:612:19 [INFO] [stderr] | [INFO] [stderr] 612 | /// A variant of [query_as!] which does not check the input or output types. This still does parse [INFO] [stderr] | ^^^^^^^^^ no item named `query_as` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_as` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_file_as` [INFO] [stderr] --> src/macros/mod.rs:626:19 [INFO] [stderr] | [INFO] [stderr] 626 | /// A variant of [query_file_as!] which does not check the input or output types. This [INFO] [stderr] | ^^^^^^^^^^^^^^ no item named `query_file_as` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_file_as` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_file` [INFO] [stderr] --> src/macros/mod.rs:666:64 [INFO] [stderr] | [INFO] [stderr] 666 | /// A variant of [query_scalar!] which takes a file path like [query_file!]. [INFO] [stderr] | ^^^^^^^^^^^ no item named `query_file` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `query_file` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: `sqlx` (lib doc) generated 16 warnings [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "548c0147941dd42c276a5cec2f24eb1afa4585c80433f1ba889bc346e8b272f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548c0147941dd42c276a5cec2f24eb1afa4585c80433f1ba889bc346e8b272f9", kill_on_drop: false }` [INFO] [stdout] 548c0147941dd42c276a5cec2f24eb1afa4585c80433f1ba889bc346e8b272f9