sqlx-oldapi 0.6.42

🧰 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 #2138633 2025-05-21 19:39:11

# rustc version rustc 1.89.0-nightly (bc8215286 2025-05-20)

# docs.rs version docsrs 0.6.0 (d8ea4838 2025-05-14)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/sqlx-oldapi-0.6.42/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/sqlx-oldapi-0.6.42/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "all runtime-tokio-native-tls" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250520-1.89.0-nightly-bc8215286\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 7593dec4bd6d097f65c78d5c2f559b405bdf0bc0ddedcb13f525a325311ae4b4 [INFO] running `Command { std: "docker" "start" "-a" "7593dec4bd6d097f65c78d5c2f559b405bdf0bc0ddedcb13f525a325311ae4b4", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting sqlx-oldapi v0.6.42 (/opt/rustwide/workdir) [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] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `query_as` [INFO] [stderr] --> src/macros/mod.rs:300:8 [INFO] [stderr] | [INFO] [stderr] 300 | /// * [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:301:8 [INFO] [stderr] | [INFO] [stderr] 301 | /// * [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:302:8 [INFO] [stderr] | [INFO] [stderr] 302 | /// * [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:402:19 [INFO] [stderr] | [INFO] [stderr] 402 | /// 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 `query` [INFO] [stderr] --> src/macros/mod.rs:475:60 [INFO] [stderr] | [INFO] [stderr] 475 | /// 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:550:87 [INFO] [stderr] | [INFO] [stderr] 550 | /// 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:638:19 [INFO] [stderr] | [INFO] [stderr] 638 | /// 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:648:33 [INFO] [stderr] | [INFO] [stderr] 648 | /// 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:651:10 [INFO] [stderr] | [INFO] [stderr] 651 | /// 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:323:19 [INFO] [stderr] | [INFO] [stderr] 323 | /// 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:336:19 [INFO] [stderr] | [INFO] [stderr] 336 | /// 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:340:39 [INFO] [stderr] | [INFO] [stderr] 340 | /// 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:389:19 [INFO] [stderr] | [INFO] [stderr] 389 | /// 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:565:31 [INFO] [stderr] | [INFO] [stderr] 565 | /// 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:565:47 [INFO] [stderr] | [INFO] [stderr] 565 | /// 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:609:19 [INFO] [stderr] | [INFO] [stderr] 609 | /// 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:623:19 [INFO] [stderr] | [INFO] [stderr] 623 | /// 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:663:64 [INFO] [stderr] | [INFO] [stderr] 663 | /// 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:117:25 [INFO] [stderr] | [INFO] [stderr] 117 | /// 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] 117 - /// Provides [`Encode`](encode::Encode) for encoding values for the database. [INFO] [stderr] 117 + /// Provides [`Encode`] for encoding values for the database. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/lib.rs:128:25 [INFO] [stderr] | [INFO] [stderr] 128 | /// 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] 128 - /// Provides [`Decode`](decode::Decode) for decoding values from the database. [INFO] [stderr] 128 + /// Provides [`Decode`] for decoding values from the database. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `sqlx-oldapi` (lib doc) generated 21 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.00s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/sqlx_oldapi/index.html [INFO] running `Command { std: "docker" "inspect" "7593dec4bd6d097f65c78d5c2f559b405bdf0bc0ddedcb13f525a325311ae4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7593dec4bd6d097f65c78d5c2f559b405bdf0bc0ddedcb13f525a325311ae4b4", kill_on_drop: false }` [INFO] [stdout] 7593dec4bd6d097f65c78d5c2f559b405bdf0bc0ddedcb13f525a325311ae4b4