discord 0.8.1

Client library for the Discord API
Build #331470 2021-01-02T00:27:09.376379+00:00
# rustc version
rustc 1.51.0-nightly (44e3daf5e 2020-12-31)# docs.rs version
docsrs 0.6.0 (8966c52 2021-01-01)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/discord-0.8.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/discord-0.8.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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/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" "-20201231-1.51.0-nightly-44e3daf5e" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 365539db977f6e55dfb310563e9731224ab9bd6709cd9d295042ee9e8d7b2920
[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" "365539db977f6e55dfb310563e9731224ab9bd6709cd9d295042ee9e8d7b2920", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking bitflags v0.7.0
[INFO] [stderr]     Checking lazy_static v0.2.11
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking rustc-serialize v0.3.24
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking traitobject v0.0.1
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]     Checking dtoa v0.2.2
[INFO] [stderr]     Checking byteorder v0.5.3
[INFO] [stderr]     Checking itoa v0.1.1
[INFO] [stderr]     Checking serde v0.8.23
[INFO] [stderr]     Checking base64-rs v0.1.1
[INFO] [stderr]    Compiling openssl-sys v0.7.17
[INFO] [stderr]    Compiling opus-sys v0.2.1
[INFO] [stderr]    Compiling libsodium-sys v0.0.12
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling openssl-sys-extras v0.7.14
[INFO] [stderr]    Compiling openssl v0.7.14
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: src/openssl_shim.c: In function 'SSL_CTX_set_ecdh_auto_shim':
[INFO] [stderr] warning: src/openssl_shim.c:121:41: warning: unused parameter 'ctx' [-Wunused-parameter]
[INFO] [stderr] warning:   121 | int SSL_CTX_set_ecdh_auto_shim(SSL_CTX *ctx, int onoff) {
[INFO] [stderr] warning:       |                                ~~~~~~~~~^~~
[INFO] [stderr] warning: src/openssl_shim.c: In function 'DH_new_from_params':
[INFO] [stderr] warning: src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'}
[INFO] [stderr] warning:   132 |     dh->p = p;
[INFO] [stderr] warning:       |       ^~
[INFO] [stderr] warning: src/openssl_shim.c: In function 'X509_get_extensions_shim':
[INFO] [stderr] warning: src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'}
[INFO] [stderr] warning:   143 |     return x->cert_info ? x->cert_info->extensions : NULL;
[INFO] [stderr] warning:       |             ^~
[INFO] [stderr] warning: src/openssl_shim.c:144:1: warning: control reaches end of non-void function [-Wreturn-type]
[INFO] [stderr] warning:   144 | }
[INFO] [stderr] warning:       | ^
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `openssl-sys-extras v0.7.14`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/openssl-sys-extras-33acb39af905d9b5/build-script-build` (exit code: 101)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CC_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CC_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CC = None
[INFO] [stderr]   CC = None
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   TARGET = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   CFLAGS_x86_64-unknown-linux-gnu = None
[INFO] [stderr]   CFLAGS_x86_64_unknown_linux_gnu = None
[INFO] [stderr]   HOST_CFLAGS = None
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/openssl-sys-extras-31ad94275959db83/out/src/openssl_shim.o" "-c" "src/openssl_shim.c"
[INFO] [stderr]   cargo:warning=src/openssl_shim.c: In function 'SSL_CTX_set_ecdh_auto_shim':
[INFO] [stderr]   cargo:warning=src/openssl_shim.c:121:41: warning: unused parameter 'ctx' [-Wunused-parameter]
[INFO] [stderr]   cargo:warning=  121 | int SSL_CTX_set_ecdh_auto_shim(SSL_CTX *ctx, int onoff) {
[INFO] [stderr]   cargo:warning=      |                                ~~~~~~~~~^~~
[INFO] [stderr]   cargo:warning=src/openssl_shim.c: In function 'DH_new_from_params':
[INFO] [stderr]   cargo:warning=src/openssl_shim.c:132:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'}
[INFO] [stderr]   cargo:warning=  132 |     dh->p = p;
[INFO] [stderr]   cargo:warning=      |       ^~
[INFO] [stderr]   cargo:warning=src/openssl_shim.c: In function 'X509_get_extensions_shim':
[INFO] [stderr]   cargo:warning=src/openssl_shim.c:143:13: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'}
[INFO] [stderr]   cargo:warning=  143 |     return x->cert_info ? x->cert_info->extensions : NULL;
[INFO] [stderr]   cargo:warning=      |             ^~
[INFO] [stderr]   cargo:warning=src/openssl_shim.c:144:1: warning: control reaches end of non-void function [-Wreturn-type]
[INFO] [stderr]   cargo:warning=  144 | }
[INFO] [stderr]   cargo:warning=      | ^
[INFO] [stderr]   exit code: 1
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr]   thread 'main' panicked at '
[INFO] [stderr] 
[INFO] [stderr]   Internal error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-m64" "-I" "/usr/include" "-Wall" "-Wextra" "-o" "/opt/rustwide/target/debug/build/openssl-sys-extras-31ad94275959db83/out/src/openssl_shim.o" "-c" "src/openssl_shim.c" with args "cc" did not execute successfully (status code exit code: 1).
[INFO] [stderr] 
[INFO] [stderr]   ', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.55/src/lib.rs:1672:5
[INFO] [stderr]   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "365539db977f6e55dfb310563e9731224ab9bd6709cd9d295042ee9e8d7b2920", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "365539db977f6e55dfb310563e9731224ab9bd6709cd9d295042ee9e8d7b2920", kill_on_drop: false }`
[INFO] [stdout] 365539db977f6e55dfb310563e9731224ab9bd6709cd9d295042ee9e8d7b2920