[INFO] cloning repository https://github.com/felix-d/troll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/felix-d/troll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-d%2Ftroll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-d%2Ftroll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 924442d4eecfa7167060ce828093532ae8f8fbee [INFO] checking felix-d/troll against master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffelix-d%2Ftroll" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/felix-d/troll on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/felix-d/troll [INFO] finished tweaking git repo https://github.com/felix-d/troll [INFO] tweaked toml for git repo https://github.com/felix-d/troll written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/felix-d/troll already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6fc4f12cfd5a9019ba85af32d9d42c203f70701c244c5020d6062c639fb0a219 [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" "6fc4f12cfd5a9019ba85af32d9d42c203f70701c244c5020d6062c639fb0a219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6fc4f12cfd5a9019ba85af32d9d42c203f70701c244c5020d6062c639fb0a219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fc4f12cfd5a9019ba85af32d9d42c203f70701c244c5020d6062c639fb0a219", kill_on_drop: false }` [INFO] [stdout] 6fc4f12cfd5a9019ba85af32d9d42c203f70701c244c5020d6062c639fb0a219 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dd91e15b23d9724bb84eb2cdf73f9262e45a1c98d68f594c52685bee1f6a4fb [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" "0dd91e15b23d9724bb84eb2cdf73f9262e45a1c98d68f594c52685bee1f6a4fb", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling rustc-serialize v0.3.21 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling quote v0.3.10 [INFO] [stderr] Checking serde v0.8.19 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking openssl-probe v0.1.0 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking quick-error v1.1.0 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Compiling libz-sys v1.0.7 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Compiling curl-sys v0.2.5 [INFO] [stderr] Checking num_cpus v1.2.0 [INFO] [stderr] Compiling openssl-sys-extras v0.7.14 [INFO] [stderr] Compiling openssl v0.7.14 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stdout] | [INFO] [stdout] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- borrow of `state` occurs here [INFO] [stdout] ... [INFO] [stdout] 959 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^ use of borrowed `state` [INFO] [stdout] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0503`. [INFO] [stdout] [INFO] [stderr] error: could not compile `getopts`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "0dd91e15b23d9724bb84eb2cdf73f9262e45a1c98d68f594c52685bee1f6a4fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd91e15b23d9724bb84eb2cdf73f9262e45a1c98d68f594c52685bee1f6a4fb", kill_on_drop: false }` [INFO] [stdout] 0dd91e15b23d9724bb84eb2cdf73f9262e45a1c98d68f594c52685bee1f6a4fb