[INFO] cloning repository https://github.com/alexcrichton/travis-build-stream [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexcrichton/travis-build-stream" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Ftravis-build-stream", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Ftravis-build-stream'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3952c8a6c973d8b4bb76d54f01d43cae9c5118fd [INFO] checking alexcrichton/travis-build-stream against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Ftravis-build-stream" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexcrichton/travis-build-stream 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/alexcrichton/travis-build-stream [INFO] finished tweaking git repo https://github.com/alexcrichton/travis-build-stream [INFO] tweaked toml for git repo https://github.com/alexcrichton/travis-build-stream written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/alexcrichton/travis-build-stream 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] [stdout] 367a546ae3e8c489ad7a0adf71af823e32381c02116c3273e6e287efa931b810 [INFO] running `Command { std: "docker" "start" "-a" "367a546ae3e8c489ad7a0adf71af823e32381c02116c3273e6e287efa931b810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "367a546ae3e8c489ad7a0adf71af823e32381c02116c3273e6e287efa931b810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "367a546ae3e8c489ad7a0adf71af823e32381c02116c3273e6e287efa931b810", kill_on_drop: false }` [INFO] [stdout] 367a546ae3e8c489ad7a0adf71af823e32381c02116c3273e6e287efa931b810 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] aa6922c3122c06f6ac9551c147103e884f2cfe991c4139ec627aec07cbe1833d [INFO] running `Command { std: "docker" "start" "-a" "aa6922c3122c06f6ac9551c147103e884f2cfe991c4139ec627aec07cbe1833d", 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.43 [INFO] [stderr] Checking libc v0.2.20 [INFO] [stderr] Compiling error-chain v0.7.2 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking cfg-if v0.1.0 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking num-traits v0.1.36 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking matches v0.1.4 [INFO] [stderr] Checking lazycell v0.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.4 [INFO] [stderr] Checking openssl-probe v0.1.0 [INFO] [stderr] Compiling quote v0.3.12 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.3 [INFO] [stderr] Checking serde v0.9.6 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking unicode-bidi v0.2.5 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling metadeps v1.1.1 [INFO] [stderr] Checking net2 v0.2.26 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Compiling cmake v0.1.20 [INFO] [stderr] Checking futures v0.1.10 [INFO] [stderr] Checking env_logger v0.4.0 [INFO] [stderr] Checking mio v0.6.4 [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] Checking num-iter v0.1.32 [INFO] [stderr] error: could not compile `getopts` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aa6922c3122c06f6ac9551c147103e884f2cfe991c4139ec627aec07cbe1833d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa6922c3122c06f6ac9551c147103e884f2cfe991c4139ec627aec07cbe1833d", kill_on_drop: false }` [INFO] [stdout] aa6922c3122c06f6ac9551c147103e884f2cfe991c4139ec627aec07cbe1833d