pgx 0.1.4

pgx: A Rust framework for creating Postgres extensions
Documentation
Build #315863 2020-11-16T04:16:30.510377+00:00
# rustc version
rustc 1.50.0-nightly (603ab5bd6 2020-11-15)
# docs.rs version
docsrs 0.6.0 (b527df8 2020-11-09)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/pgx-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/pgx-0.1.4/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" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "--features" "pg13" "--no-default-features" "-j2" "--" "-Z" "unstable-options" "--extern-html-root-url" "pgx_macros=https://docs.rs/pgx-macros/0.1.4" "--extern-html-root-url" "bitflags=https://docs.rs/bitflags/1.2.1" "--extern-html-root-url" "atomic_traits=https://docs.rs/atomic-traits/0.2.0" "--extern-html-root-url" "num_traits=https://docs.rs/num-traits/0.2.14" "--extern-html-root-url" "hash32=https://docs.rs/hash32/0.1.1" "--extern-html-root-url" "heapless=https://docs.rs/heapless/0.5.6" "--extern-html-root-url" "serde_json=https://docs.rs/serde_json/1.0.59" "--extern-html-root-url" "pgx_pg_sys=https://docs.rs/pgx-pg-sys/0.1.4" "--extern-html-root-url" "time=https://docs.rs/time/0.2.22" "--extern-html-root-url" "enum_primitive_derive=https://docs.rs/enum-primitive-derive/0.2.1" "--extern-html-root-url" "serde=https://docs.rs/serde/1.0.117" "--extern-html-root-url" "once_cell=https://docs.rs/once_cell/1.5.2" "--extern-html-root-url" "seahash=https://docs.rs/seahash/4.0.1" "--extern-html-root-url" "serde_cbor=https://docs.rs/serde_cbor/0.11.1" "--extern-html-root-url" "uuid=https://docs.rs/uuid/0.8.1" "--resource-suffix" "-20201115-1.50.0-nightly-603ab5bd6" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] ee454702b5973b78f2091b3d3c3418ee324258f7c12b162e543929017730ba32
[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" "ee454702b5973b78f2091b3d3c3418ee324258f7c12b162e543929017730ba32", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling libc v0.2.80
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling const_fn v0.4.3
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling matches v0.1.8
[INFO] [stderr]    Compiling regex-syntax v0.6.21
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rayon-core v1.9.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling proc-macro-hack v0.5.19
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling bindgen v0.55.1
[INFO] [stderr]    Compiling unescape v0.1.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling heapless v0.5.6
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking half v1.6.0
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]     Checking seahash v4.0.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling rayon v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.1
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling standback v0.2.11
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling time v0.2.22
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling libloading v0.6.5
[INFO] [stderr]    Compiling build-deps v0.1.4
[INFO] [stderr]    Compiling tinyvec v1.0.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.4
[INFO] [stderr]    Compiling clang-sys v1.0.1
[INFO] [stderr]    Compiling form_urlencoded v1.0.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.14
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]     Checking generic-array v0.12.3
[INFO] [stderr]     Checking generic-array v0.13.2
[INFO] [stderr]     Checking hash32 v0.1.1
[INFO] [stderr]    Compiling atomic-traits v0.2.0
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling dirs v3.0.1
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling regex v1.4.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.0
[INFO] [stderr]    Compiling url v2.2.0
[INFO] [stderr]     Checking as-slice v0.1.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking uuid v0.8.1
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling enum-primitive-derive v0.2.1
[INFO] [stderr]     Checking time-macros v0.1.1
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]     Checking serde_cbor v0.11.1
[INFO] [stderr]    Compiling pgx-utils v0.1.4
[INFO] [stderr]    Compiling pgx-pg-sys v0.1.4
[INFO] [stderr]    Compiling pgx-macros v0.1.4
[INFO] [stderr]  Documenting pgx v0.1.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `T`
[INFO] [stderr]   --> src/datum/array.rs:44:10
[INFO] [stderr]    |
[INFO] [stderr] 44 |     /// [`T`] can be [pg_sys::Datum] if the elements are not all of the same type
[INFO] [stderr]    |          ^^^ no item named `T` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(broken_intra_doc_links)]` on by default
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `PgMemoryContext`
[INFO] [stderr]   --> src/datum/into.rs:19:65
[INFO] [stderr]    |
[INFO] [stderr] 19 | /// of a Rust type, that memory **must** be allocated within a [PgMemoryContext]
[INFO] [stderr]    |                                                                 ^^^^^^^^^^^^^^^ no item named `PgMemoryContext` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `NOTICE`
[INFO] [stderr]   --> src/log.rs:40:21
[INFO] [stderr]    |
[INFO] [stderr] 40 |     /// Warnings.  [NOTICE] is for expected messages like implicit sequence creation by SERIAL.
[INFO] [stderr]    |                     ^^^^^^ no item named `NOTICE` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `WARNING`
[INFO] [stderr]   --> src/log.rs:41:10
[INFO] [stderr]    |
[INFO] [stderr] 41 |     /// [WARNING] is for unexpected messages.
[INFO] [stderr]    |          ^^^^^^^ no item named `WARNING` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::switch_to`
[INFO] [stderr]    --> src/memcxt.rs:149:56
[INFO] [stderr]     |
[INFO] [stderr] 149 |     /// Create a temporary MemoryContext for use with [::switch_to()].  It gets deleted as soon
[INFO] [stderr]     |                                                        ^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `::switch_to`
[INFO] [stderr]    --> src/memcxt.rs:150:13
[INFO] [stderr]     |
[INFO] [stderr] 150 |     /// as [::switch_to()] exits.
[INFO] [stderr]     |             ^^^^^^^^^^^^^ no item named `` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unneeded long form for URL
[INFO] [stderr]  --> src/bgworkers.rs:6:10
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! See: [https://www.postgresql.org/docs/12/bgworker.html](https://www.postgresql.org/docs/12/bgworker.html)
[INFO] [stderr]   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://www.postgresql.org/docs/12/bgworker.html>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_autolinks)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/misc.rs:3:38
[INFO] [stderr]   |
[INFO] [stderr] 3 | /// wrapper around `SeaHasher` from (https://crates.io/crates/seahash)
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://crates.io/crates/seahash>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/lib.rs:95:69
[INFO] [stderr]    |
[INFO] [stderr] 95 | /// This macro was initially inspired from the `pg_module` macro in https://github.com/thehydroimpulse/postgres-extension.rs
[INFO] [stderr]    |                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/thehydroimpulse/postgres-extension.rs>`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]   --> src/lib.rs:97:30
[INFO] [stderr]    |
[INFO] [stderr] 97 | /// Shamelessly cribbed from https://github.com/bluejekyll/pg-extend-rs
[INFO] [stderr]    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/bluejekyll/pg-extend-rs>`
[INFO] [stderr] 
[INFO] [stderr] warning: 10 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 23s
[INFO] running `Command { std: "docker" "inspect" "ee454702b5973b78f2091b3d3c3418ee324258f7c12b162e543929017730ba32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ee454702b5973b78f2091b3d3c3418ee324258f7c12b162e543929017730ba32", kill_on_drop: false }`
[INFO] [stdout] ee454702b5973b78f2091b3d3c3418ee324258f7c12b162e543929017730ba32