postgres-parser 0.2.3

An llvm-based safe wrapper for PostgresSQL's query parser. Currently based on v13
Build #352412 2021-02-20T20:54:37.633133+00:00
# rustc version
rustc 1.52.0-nightly (9b471a3f5 2021-02-19)# docs.rs version
docsrs 0.6.0 (e8a6303 2021-02-16)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/postgres-parser-0.2.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/postgres-parser-0.2.3/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:ce6408862c0f4858e6cd2b85b2cf085ff7d0d6323904d0a94b71664a228554ab" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20210219-1.52.0-nightly-9b471a3f5" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", 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] 601ec31c9afe25c6dcdf2f3d05daed2d3dd66bc909c80c19184042a82792c9d2
[INFO] running `Command { std: "docker" "start" "-a" "601ec31c9afe25c6dcdf2f3d05daed2d3dd66bc909c80c19184042a82792c9d2", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling libc v0.2.86
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling syn v1.0.60
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling once_cell v1.5.2
[INFO] [stderr]    Compiling regex-syntax v0.6.22
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling bindgen v0.57.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling libloading v0.7.0
[INFO] [stderr]    Compiling clang-sys v1.1.1
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling aho-corasick v0.7.15
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling regex v1.4.3
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.8.3
[INFO] [stderr]    Compiling postgres-parser v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr] error: failed to run custom build command for `postgres-parser v0.2.3 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/postgres-parser-0c9d29c37eee3b74/build-script-build` (exit code: 1)
[INFO] [stderr]   --- stderr
[INFO] [stderr]   command="/opt/rustwide/workdir/build.sh"
[INFO] [stderr]   [stdout] BASH=/bin/bash
[INFO] [stderr]   [stdout] BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath
[INFO] [stderr]   [stdout] BASH_ALIASES=()
[INFO] [stderr]   [stdout] BASH_ARGC=()
[INFO] [stderr]   [stdout] BASH_ARGV=()
[INFO] [stderr]   [stdout] BASH_CMDS=()
[INFO] [stderr]   [stdout] BASH_LINENO=([0]="0")
[INFO] [stderr]   [stdout] BASH_SOURCE=([0]="/opt/rustwide/workdir/build.sh")
[INFO] [stderr]   [stdout] BASH_VERSINFO=([0]="5" [1]="0" [2]="17" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu")
[INFO] [stderr]   [stdout] BASH_VERSION='5.0.17(1)-release'
[INFO] [stderr]   [stdout] CARGO=/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo
[INFO] [stderr]   [stdout] CARGO_CFG_PANIC=unwind
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_ARCH=x86_64
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_ENDIAN=little
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_ENV=gnu
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_FAMILY=unix
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_HAS_ATOMIC_EQUAL_ALIGNMENT=16,32,64,8,ptr
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_HAS_ATOMIC_LOAD_STORE=16,32,64,8,ptr
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_OS=linux
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_POINTER_WIDTH=64
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_THREAD_LOCAL=
[INFO] [stderr]   [stdout] CARGO_CFG_TARGET_VENDOR=unknown
[INFO] [stderr]   [stdout] CARGO_CFG_UNIX=
[INFO] [stderr]   [stdout] CARGO_HOME=/opt/rustwide/cargo-home
[INFO] [stderr]   [stdout] CARGO_MAKEFLAGS='--jobserver-fds=8,9 -j --jobserver-auth=8,9 -j'
[INFO] [stderr]   [stdout] CARGO_MANIFEST_DIR=/opt/rustwide/workdir
[INFO] [stderr]   [stdout] CARGO_PKG_AUTHORS='ZomboDB, LLC <zombodb@gmail.com>'
[INFO] [stderr]   [stdout] CARGO_PKG_DESCRIPTION='An llvm-based safe wrapper for PostgresSQL'\''s query parser.  Currently based on v13'
[INFO] [stderr]   [stdout] CARGO_PKG_HOMEPAGE=https://github.com/zombodb/postgres-parser
[INFO] [stderr]   [stdout] CARGO_PKG_LICENSE=PostgreSQL
[INFO] [stderr]   [stdout] CARGO_PKG_LICENSE_FILE=
[INFO] [stderr]   [stdout] CARGO_PKG_NAME=postgres-parser
[INFO] [stderr]   [stdout] CARGO_PKG_REPOSITORY=https://github.com/zombodb/postgres-parser
[INFO] [stderr]   [stdout] CARGO_PKG_VERSION=0.2.3
[INFO] [stderr]   [stdout] CARGO_PKG_VERSION_MAJOR=0
[INFO] [stderr]   [stdout] CARGO_PKG_VERSION_MINOR=2
[INFO] [stderr]   [stdout] CARGO_PKG_VERSION_PATCH=3
[INFO] [stderr]   [stdout] CARGO_PKG_VERSION_PRE=
[INFO] [stderr]   [stdout] CARGO_TARGET_DIR=/opt/rustwide/target
[INFO] [stderr]   [stdout] DIRSTACK=()
[INFO] [stderr]   [stdout] DOCS_RS=1
[INFO] [stderr]   [stdout] EUID=1001
[INFO] [stderr]   [stdout] GROUPS=()
[INFO] [stderr]   [stdout] HOME=/
[INFO] [stderr]   [stdout] HOSTNAME=601ec31c9afe
[INFO] [stderr]   [stdout] HOSTTYPE=x86_64
[INFO] [stderr]   [stdout] IFS=$' \t\n'
[INFO] [stderr]   [stdout] LD_LIBRARY_PATH=/opt/rustwide/target/debug/deps:/opt/rustwide/target/debug:/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib:/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/lib
[INFO] [stderr]   [stdout] MACHTYPE=x86_64-pc-linux-gnu
[INFO] [stderr]   [stdout] NUM_CPUS=2
[INFO] [stderr]   [stdout] OPTERR=1
[INFO] [stderr]   [stdout] OPTIND=1
[INFO] [stderr]   [stdout] OSTYPE=linux-gnu
[INFO] [stderr]   [stdout] PATH=/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
[INFO] [stderr]   [stdout] PPID=1098
[INFO] [stderr]   [stdout] PS4='+ '
[INFO] [stderr]   [stdout] PWD=/opt/rustwide/workdir
[INFO] [stderr]   [stdout] RUSTC=rustc
[INFO] [stderr]   [stdout] RUSTDOC=rustdoc
[INFO] [stderr]   [stdout] RUSTUP_HOME=/opt/rustwide/rustup-home
[INFO] [stderr]   [stdout] RUSTUP_TOOLCHAIN=nightly-x86_64-unknown-linux-gnu
[INFO] [stderr]   [stdout] RUST_RECURSION_COUNT=1
[INFO] [stderr]   [stdout] SHELL=/bin/sh
[INFO] [stderr]   [stdout] SHELLOPTS=braceexpand:hashall:interactive-comments
[INFO] [stderr]   [stdout] SHLVL=1
[INFO] [stderr]   [stdout] SOURCE_DIR=/opt/rustwide/workdir
[INFO] [stderr]   [stdout] SSL_CERT_DIR=/usr/lib/ssl/certs
[INFO] [stderr]   [stdout] SSL_CERT_FILE=/usr/lib/ssl/certs/ca-certificates.crt
[INFO] [stderr]   [stdout] TERM=dumb
[INFO] [stderr]   [stdout] UID=1001
[INFO] [stderr]   [stdout] _=/bin/bash
[INFO] [stderr]   [stderr] + TARGET_DIR=/opt/rustwide/target
[INFO] [stderr]   [stderr] + '[' x/opt/rustwide/target == x ']'
[INFO] [stderr]   [stderr] ++ uname
[INFO] [stderr]   [stderr] + UNAME=Linux
[INFO] [stderr]   [stderr] + MANIFEST_DIR=/opt/rustwide/workdir
[INFO] [stderr]   [stderr] + PGVER=13.0
[INFO] [stderr]   [stderr] + POSTGRES_PARSER_A=/opt/rustwide/target/libpostgres_parser.a
[INFO] [stderr]   [stderr] + POSTGRES_PARSER_SO=/opt/rustwide/target/libpostgres_parser.so
[INFO] [stderr]   [stderr] + POSTGRES_BC=/opt/rustwide/target/postgres.bc
[INFO] [stderr]   [stderr] + BUILD_DIR=/opt/rustwide/target/13.0-build
[INFO] [stderr]   [stderr] + POSTGRES_LL=/opt/rustwide/target/13.0-build/postgresql-13.0/src/backend/postgres.ll
[INFO] [stderr]   [stderr] + INSTALL_DIR=/opt/rustwide/target/13.0-build/postgresql-13.0/temp-install
[INFO] [stderr]   [stderr] + CFLAGS='-flto -fPIC'
[INFO] [stderr]   [stderr] + CC=clang
[INFO] [stderr]   [stderr] + '[' x2 == x ']'
[INFO] [stderr]   [stderr] + '[' -f /opt/rustwide/target/libpostgres_parser.a ']'
[INFO] [stderr]   [stderr] ++ which clang
[INFO] [stderr]   [stderr] + '[' '!' /usr/bin/clang ']'
[INFO] [stderr]   [stderr] + '[' '!' -f /opt/rustwide/target/13.0-build/postgresql-13.0/src/backend/postgres.ll ']'
[INFO] [stderr]   [stderr] + mkdir -p /opt/rustwide/target/13.0-build
[INFO] [stderr]   [stderr] + cd /opt/rustwide/target/13.0-build
[INFO] [stderr]   [stderr] + '[' '!' -f postgresql-13.0.tar.bz2 ']'
[INFO] [stderr]   [stderr] + wget -q https://ftp.postgresql.org/pub/source/v13.0/postgresql-13.0.tar.bz2
[INFO] [stderr]   [stderr] + exit 1
[INFO] [stderr]   Error: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" }
[INFO] running `Command { std: "docker" "inspect" "601ec31c9afe25c6dcdf2f3d05daed2d3dd66bc909c80c19184042a82792c9d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "601ec31c9afe25c6dcdf2f3d05daed2d3dd66bc909c80c19184042a82792c9d2", kill_on_drop: false }`
[INFO] [stdout] 601ec31c9afe25c6dcdf2f3d05daed2d3dd66bc909c80c19184042a82792c9d2