sqlx 0.7.2

🧰 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 #922291 2023-09-26 21:49:22
# rustc version
rustc 1.74.0-nightly (3223b0b5e 2023-09-20)# docs.rs version
docsrs 0.6.0 (4635eb74 2023-09-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sqlx-0.7.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sqlx-0.7.2/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2023-09-21" "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\", \"-20230920-1.74.0-nightly-3223b0b5e\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--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" "-j6" "--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] d0631116fd0395b3ddf6cca9c54567f437717acc43b6d69ce7d2e973d10cfd9a
[INFO] running `Command { std: "docker" "start" "-a" "d0631116fd0395b3ddf6cca9c54567f437717acc43b6d69ce7d2e973d10cfd9a", 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.2 (/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 `query`
[INFO] [stderr]    --> src/macros/mod.rs:405:19
[INFO] [stderr]     |
[INFO] [stderr] 405 | /// A variant of [query!] which takes a path to an explicitly defined struct as the output type.
[INFO] [stderr]     |                   ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` 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`
[INFO] [stderr]    --> src/macros/mod.rs:478:60
[INFO] [stderr]     |
[INFO] [stderr] 478 | /// In addition to the column type overrides supported by [query!], `query_as!()` supports an
[INFO] [stderr]     |                                                            ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `query`
[INFO] [stderr]    --> src/macros/mod.rs:553:87
[INFO] [stderr]     |
[INFO] [stderr] 553 | /// Nullability inference and type overrides are discussed in detail in the docs for [query!].
[INFO] [stderr]     |                                                                                       ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `query`
[INFO] [stderr]    --> src/macros/mod.rs:641:19
[INFO] [stderr]     |
[INFO] [stderr] 641 | /// A variant of [query!] which expects a single column from the query and evaluates to an
[INFO] [stderr]     |                   ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` 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: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`
[INFO] [stderr]    --> src/macros/mod.rs:654:10
[INFO] [stderr]     |
[INFO] [stderr] 654 | /// See [query!] for more information.
[INFO] [stderr]     |          ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `query`
[INFO] [stderr]    --> src/macros/mod.rs:326:19
[INFO] [stderr]     |
[INFO] [stderr] 326 | /// A variant of [query!] which does not check the input or output types. This still does parse
[INFO] [stderr]     |                   ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `query`
[INFO] [stderr]    --> src/macros/mod.rs:339:19
[INFO] [stderr]     |
[INFO] [stderr] 339 | /// A variant of [query!] where the SQL query is stored in a separate file.
[INFO] [stderr]     |                   ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `query`
[INFO] [stderr]    --> src/macros/mod.rs:343:39
[INFO] [stderr]     |
[INFO] [stderr] 343 | /// The syntax and requirements (see [query!]) are the same except the SQL string is replaced by a
[INFO] [stderr]     |                                       ^^^^^^ no item named `query` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = note: `macro_rules` named `query` 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: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:107:25
[INFO] [stderr]     |
[INFO] [stderr] 107 | /// Provides [`Encode`](encode::Encode) for encoding values for the database.
[INFO] [stderr]     |               --------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |               |
[INFO] [stderr]     |               because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr]     = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 107 | /// Provides [`Encode`] for encoding values for the database.
[INFO] [stderr]     |              ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:118:25
[INFO] [stderr]     |
[INFO] [stderr] 118 | /// Provides [`Decode`](decode::Decode) for decoding values from the database.
[INFO] [stderr]     |               --------  ^^^^^^^^^^^^^^ explicit target is redundant
[INFO] [stderr]     |               |
[INFO] [stderr]     |               because label contains path that resolves to same destination
[INFO] [stderr]     |
[INFO] [stderr]     = note: when a link's destination is not specified,
[INFO] [stderr]             the label is used to resolve intra-doc links
[INFO] [stderr] help: remove explicit link target
[INFO] [stderr]     |
[INFO] [stderr] 118 | /// Provides [`Decode`] for decoding values from the database.
[INFO] [stderr]     |              ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `sqlx` (lib doc) generated 26 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "d0631116fd0395b3ddf6cca9c54567f437717acc43b6d69ce7d2e973d10cfd9a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0631116fd0395b3ddf6cca9c54567f437717acc43b6d69ce7d2e973d10cfd9a", kill_on_drop: false }`
[INFO] [stdout] d0631116fd0395b3ddf6cca9c54567f437717acc43b6d69ce7d2e973d10cfd9a