sqlx 0.4.0-beta.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 #296394 2020-09-24 05:01:21
# rustc version
rustc 1.48.0-nightly (8b4085359 2020-09-23)# docs.rs version
docsrs 0.6.0 (1fa0b9d 2020-09-20)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/sqlx-0.4.0-beta.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/sqlx-0.4.0-beta.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" "RUSTDOCFLAGS=--cfg docsrs -Z unstable-options --static-root-path / --cap-lints warn --disable-per-crate-search --extern-html-root-url tokio=https://docs.rs/tokio/0.2.22 --extern-html-root-url futures=https://docs.rs/futures/0.3.5 --extern-html-root-url paste=https://docs.rs/paste/0.1.18 --extern-html-root-url time=https://docs.rs/time/0.2.21 --extern-html-root-url serde_json=https://docs.rs/serde_json/1.0.57 --extern-html-root-url url=https://docs.rs/url/2.1.1 --extern-html-root-url trybuild=https://docs.rs/trybuild/1.0.35 --extern-html-root-url sqlx_macros=https://docs.rs/sqlx-macros/0.4.0-beta.1 --extern-html-root-url async_std=https://docs.rs/async-std/1.6.4 --extern-html-root-url anyhow=https://docs.rs/anyhow/1.0.32 --extern-html-root-url serde=https://docs.rs/serde/1.0.116 --extern-html-root-url dotenv=https://docs.rs/dotenv/0.15.0 --extern-html-root-url sqlx_core=https://docs.rs/sqlx-core/0.4.0-beta.1 --extern-html-root-url env_logger=https://docs.rs/env_logger/0.7.1 --resource-suffix -20200923-1.48.0-nightly-8b4085359" "-e" "RUSTFLAGS=" "-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" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "--features" "all" "-j2", kill_on_drop: false }`
[INFO] [stdout] 9df04cff43be6956e665d825efc9bf9aadaceb4146048ab0d39c651fe956c232
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "9df04cff43be6956e665d825efc9bf9aadaceb4146048ab0d39c651fe956c232", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling cc v1.0.60
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling futures-core v0.3.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde v1.0.116
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling cache-padded v1.1.1
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling pin-project-lite v0.1.7
[INFO] [stderr]    Compiling fastrand v1.3.5
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling libm v0.2.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling vec-arena v1.0.0
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling event-listener v2.5.1
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling build_const v0.2.1
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]    Compiling async-task v4.0.2
[INFO] [stderr]    Compiling smallvec v1.4.2
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling atomic-waker v1.0.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.9
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling regex-syntax v0.6.18
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.2
[INFO] [stderr]    Compiling subtle v2.3.0
[INFO] [stderr]    Compiling async-task v3.0.0
[INFO] [stderr]    Compiling cpuid-bool v0.1.2
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling hashbrown v0.9.0
[INFO] [stderr]    Compiling ahash v0.3.8
[INFO] [stderr]    Compiling linked-hash-map v0.5.3
[INFO] [stderr]    Compiling itoa v0.4.6
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling ipnetwork v0.17.0
[INFO] [stderr]    Compiling uuid v0.8.1
[INFO] [stderr]    Compiling whoami v0.9.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling hex v0.4.2
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling num-bigint v0.2.6
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling indexmap v1.6.0
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling instant v0.1.7
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling time v0.2.21
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling libsqlite3-sys v0.18.0
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling num-bigint-dig v0.6.0
[INFO] [stderr]    Compiling async-mutex v1.4.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling crc v1.8.1
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling lock_api v0.4.1
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling async-channel v1.4.2
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling nb-connect v1.0.0
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling parking_lot_core v0.8.0
[INFO] [stderr]    Compiling futures-lite v1.8.0
[INFO] [stderr]    Compiling aho-corasick v0.7.13
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling polling v1.1.0
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling parking_lot v0.11.0
[INFO] [stderr]     Checking atoi v0.3.2
[INFO] [stderr]    Compiling crossbeam-queue v0.2.3
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling async-executor v1.3.0
[INFO] [stderr]    Compiling blocking v1.0.0
[INFO] [stderr]    Compiling regex v1.3.9
[INFO] [stderr]    Compiling async-io v1.1.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]    Compiling pem v0.8.1
[INFO] [stderr]    Compiling sqlformat v0.1.1
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling async-global-executor v1.2.1
[INFO] [stderr]     Checking sha2 v0.9.1
[INFO] [stderr]     Checking md-5 v0.9.1
[INFO] [stderr]     Checking sha-1 v0.9.1
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.20
[INFO] [stderr]    Compiling async-attributes v1.1.1
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]     Checking bigdecimal v0.1.2
[INFO] [stderr]     Checking simple_asn1 v0.4.1
[INFO] [stderr]    Compiling zeroize_derive v1.0.1
[INFO] [stderr]    Compiling thiserror v1.0.20
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling async-std v1.6.4
[INFO] [stderr]    Compiling time-macros v0.1.0
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling zeroize v1.1.1
[INFO] [stderr]     Checking async-native-tls v0.3.3
[INFO] [stderr]    Compiling rust_decimal v1.8.1
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]     Checking sqlx-rt v0.1.1
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling rsa v0.3.0
[INFO] [stderr]    Compiling sqlx-core v0.4.0-beta.1
[INFO] [stderr]    Compiling sqlx-macros v0.4.0-beta.1
[INFO] [stderr]  Documenting sqlx v0.4.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]    --> src/macros.rs:221:5
[INFO] [stderr]     |
[INFO] [stderr] 221 |   /// ```rust,ignore
[INFO] [stderr]     |  _____^
[INFO] [stderr] 222 | | /// # async fn main() {
[INFO] [stderr] 223 | | /// # let mut conn = panic!();
[INFO] [stderr] 224 | | /// #[derive(sqlx::Type)]
[INFO] [stderr] ...   |
[INFO] [stderr] 239 | | /// # }
[INFO] [stderr] 240 | | /// ```
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: error from rustc: mismatched closing delimiter: `}`
[INFO] [stderr] 
[INFO] [stderr] warning: could not parse code block as Rust code
[INFO] [stderr]    --> src/macros.rs:443:5
[INFO] [stderr]     |
[INFO] [stderr] 443 |   /// ```rust,ignore
[INFO] [stderr]     |  _____^
[INFO] [stderr] 444 | | /// #[derive(sqlx::Type)]
[INFO] [stderr] 445 | | /// #[sqlx(transparent)
[INFO] [stderr] 446 | | /// struct MyInt4(i32);
[INFO] [stderr] ...   |
[INFO] [stderr] 459 | | /// assert_eq!(record.id, MyInt4(1));
[INFO] [stderr] 460 | | /// ```
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: error from rustc: this file contains an unclosed delimiter
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 18s
[INFO] running `Command { std: "docker" "inspect" "9df04cff43be6956e665d825efc9bf9aadaceb4146048ab0d39c651fe956c232", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9df04cff43be6956e665d825efc9bf9aadaceb4146048ab0d39c651fe956c232", kill_on_drop: false }`
[INFO] [stdout] 9df04cff43be6956e665d825efc9bf9aadaceb4146048ab0d39c651fe956c232