[INFO] cloning repository https://github.com/xobs/chibi-github-oauth2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xobs/chibi-github-oauth2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxobs%2Fchibi-github-oauth2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxobs%2Fchibi-github-oauth2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8cbcd878e437af6dd4ea1914a14ca4b1dd5dbd08 [INFO] checking xobs/chibi-github-oauth2 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxobs%2Fchibi-github-oauth2" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xobs/chibi-github-oauth2 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xobs/chibi-github-oauth2 [INFO] finished tweaking git repo https://github.com/xobs/chibi-github-oauth2 [INFO] tweaked toml for git repo https://github.com/xobs/chibi-github-oauth2 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/xobs/chibi-github-oauth2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", 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] 412728bb60ba35405c2749fc1ef822ab1c0314a57614caad5d0e71fe1bc6bfd5 [INFO] running `Command { std: "docker" "start" "-a" "412728bb60ba35405c2749fc1ef822ab1c0314a57614caad5d0e71fe1bc6bfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "412728bb60ba35405c2749fc1ef822ab1c0314a57614caad5d0e71fe1bc6bfd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412728bb60ba35405c2749fc1ef822ab1c0314a57614caad5d0e71fe1bc6bfd5", kill_on_drop: false }` [INFO] [stdout] 412728bb60ba35405c2749fc1ef822ab1c0314a57614caad5d0e71fe1bc6bfd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8790051dc214d24194ac77f7cb47b8dffb864628abd925481630f1ecc657b872 [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" "8790051dc214d24194ac77f7cb47b8dffb864628abd925481630f1ecc657b872", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking matches v0.1.3 [INFO] [stderr] Checking unicode-normalization v0.1.2 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking rustc-serialize v0.3.19 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Checking unsafe-any v0.4.1 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking unicode-bidi v0.2.3 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] Checking mime v0.2.2 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking solicit v0.4.4 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stderr] Checking time v0.1.35 [INFO] [stderr] Checking idna v0.1.0 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_SSL_clone': [INFO] [stderr] warning: src/c_helpers.c:4:5: warning: implicit declaration of function 'CRYPTO_add' [-Wimplicit-function-declaration] [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: src/c_helpers.c:4:20: error: dereferencing pointer to incomplete type 'SSL' {aka 'struct ssl_st'} [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:4:37: error: 'CRYPTO_LOCK_SSL' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 4 | CRYPTO_add(&ssl->references, 1, CRYPTO_LOCK_SSL); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] warning: src/c_helpers.c:4:37: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_SSL_CTX_clone': [INFO] [stderr] warning: src/c_helpers.c:8:20: error: dereferencing pointer to incomplete type 'SSL_CTX' {aka 'struct ssl_ctx_st'} [INFO] [stderr] warning: 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:8:35: error: 'CRYPTO_LOCK_SSL_CTX' undeclared (first use in this function); did you mean 'CRYPTO_EX_INDEX_SSL_CTX'? [INFO] [stderr] warning: 8 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_EX_INDEX_SSL_CTX [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_X509_clone': [INFO] [stderr] warning: src/c_helpers.c:12:21: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] warning: 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:12:36: error: 'CRYPTO_LOCK_X509' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 12 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [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] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8790051dc214d24194ac77f7cb47b8dffb864628abd925481630f1ecc657b872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8790051dc214d24194ac77f7cb47b8dffb864628abd925481630f1ecc657b872", kill_on_drop: false }` [INFO] [stdout] 8790051dc214d24194ac77f7cb47b8dffb864628abd925481630f1ecc657b872