[INFO] cloning repository https://github.com/alexcrichton/bors2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexcrichton/bors2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Fbors2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Fbors2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be88eac218c252a5df846f5bf6ee7a2679b02a76 [INFO] testing alexcrichton/bors2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Fbors2" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexcrichton/bors2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexcrichton/bors2 [INFO] finished tweaking git repo https://github.com/alexcrichton/bors2 [INFO] tweaked toml for git repo https://github.com/alexcrichton/bors2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/alexcrichton/bors2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a106332df0c133ad9d8b93abc40a8342b01078fcbed76eff28e6f69046e57889 [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" "a106332df0c133ad9d8b93abc40a8342b01078fcbed76eff28e6f69046e57889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a106332df0c133ad9d8b93abc40a8342b01078fcbed76eff28e6f69046e57889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a106332df0c133ad9d8b93abc40a8342b01078fcbed76eff28e6f69046e57889", kill_on_drop: false }` [INFO] [stdout] a106332df0c133ad9d8b93abc40a8342b01078fcbed76eff28e6f69046e57889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", 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] f2676ec10af2dc16659c6a2ed18e2bf432725dd5891f2e58d43ea5222f351cd8 [INFO] running `Command { std: "docker" "start" "-a" "f2676ec10af2dc16659c6a2ed18e2bf432725dd5891f2e58d43ea5222f351cd8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling gcc v0.3.38 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling matches v0.1.3 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling unicode-normalization v0.1.2 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling fallible-iterator v0.1.3 [INFO] [stderr] Compiling md5 v0.2.1 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling civet-sys v0.1.4 [INFO] [stderr] Compiling bufstream v0.1.2 [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] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling rustc-demangle v0.1.2 [INFO] [stderr] Compiling quick-error v1.1.0 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling route-recognizer v0.1.11 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling base64 v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.2.3 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling r2d2 v0.7.1 [INFO] [stderr] Compiling postgres-protocol v0.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling filetime v0.1.10 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Compiling idna v0.1.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling libz-sys v1.0.6 [INFO] [stderr] Compiling openssl v0.8.3 [INFO] [stderr] Compiling backtrace-sys v0.1.4 [INFO] [stderr] Compiling miniz-sys v0.1.7 [INFO] [stderr] Compiling curl-sys v0.2.4 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling postgres v0.12.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_0_8_SSL_CTX_clone': [INFO] [stderr] warning: src/c_helpers.c:7:5: warning: implicit declaration of function 'CRYPTO_add' [-Wimplicit-function-declaration] [INFO] [stderr] warning: 7 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~~~~~~~~~ [INFO] [stderr] warning: src/c_helpers.c:7:20: error: dereferencing pointer to incomplete type 'SSL_CTX' {aka 'struct ssl_ctx_st'} [INFO] [stderr] warning: 7 | CRYPTO_add(&ctx->references,1,CRYPTO_LOCK_SSL_CTX); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:7:35: error: 'CRYPTO_LOCK_SSL_CTX' undeclared (first use in this function); did you mean 'CRYPTO_EX_INDEX_SSL_CTX'? [INFO] [stderr] warning: 7 | 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:7:35: note: each undeclared identifier is reported only once for each function it appears in [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_0_8_X509_clone': [INFO] [stderr] warning: src/c_helpers.c:11:21: error: dereferencing pointer to incomplete type 'X509' {aka 'struct x509_st'} [INFO] [stderr] warning: 11 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~ [INFO] [stderr] warning: src/c_helpers.c:11:36: error: 'CRYPTO_LOCK_X509' undeclared (first use in this function); did you mean 'CRYPTO_LOCK'? [INFO] [stderr] warning: 11 | CRYPTO_add(&x509->references,1,CRYPTO_LOCK_X509); [INFO] [stderr] warning: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: | CRYPTO_LOCK [INFO] [stderr] warning: src/c_helpers.c: In function 'rust_0_8_DH_new_from_params': [INFO] [stderr] warning: src/c_helpers.c:32:7: error: dereferencing pointer to incomplete type 'DH' {aka 'struct dh_st'} [INFO] [stderr] warning: 32 | dh->p = p; [INFO] [stderr] warning: | ^~ [INFO] [stderr] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/postgres-0.12.0/src/lib.rs:684:59 [INFO] [stdout] | [INFO] [stdout] 684 | row.as_ref().and_then(|r| r.get(i)).and_then(|r| r.as_ref().map(|r| &**r)) [INFO] [stdout] | ^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `&_` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/postgres-0.12.0/src/lib.rs:795:56 [INFO] [stdout] | [INFO] [stdout] 795 | let get_raw = |i| row.get(i).and_then(|r| r.as_ref().map(|r| &**r)); [INFO] [stdout] | ^ consider giving this closure parameter the explicit type `&_`, with the type parameters specified [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f2676ec10af2dc16659c6a2ed18e2bf432725dd5891f2e58d43ea5222f351cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2676ec10af2dc16659c6a2ed18e2bf432725dd5891f2e58d43ea5222f351cd8", kill_on_drop: false }` [INFO] [stdout] f2676ec10af2dc16659c6a2ed18e2bf432725dd5891f2e58d43ea5222f351cd8