[INFO] cloning repository https://github.com/lazau/rust-http-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lazau/rust-http-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazau%2Frust-http-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazau%2Frust-http-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3907d530a923d4d380e249173f0c33215433a858 [INFO] checking lazau/rust-http-server against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flazau%2Frust-http-server" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lazau/rust-http-server 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/lazau/rust-http-server [INFO] finished tweaking git repo https://github.com/lazau/rust-http-server [INFO] tweaked toml for git repo https://github.com/lazau/rust-http-server written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/lazau/rust-http-server 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 184b081a5ef53dce73f6991baa9c596e6ebd50a05e3720b924884da430758818 [INFO] running `Command { std: "docker" "start" "-a" "184b081a5ef53dce73f6991baa9c596e6ebd50a05e3720b924884da430758818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "184b081a5ef53dce73f6991baa9c596e6ebd50a05e3720b924884da430758818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "184b081a5ef53dce73f6991baa9c596e6ebd50a05e3720b924884da430758818", kill_on_drop: false }` [INFO] [stdout] 184b081a5ef53dce73f6991baa9c596e6ebd50a05e3720b924884da430758818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 74038e81c2a4d2e3962296a05ac749d7d5e226df3f4a2c9ded74788735a7b636 [INFO] running `Command { std: "docker" "start" "-a" "74038e81c2a4d2e3962296a05ac749d7d5e226df3f4a2c9ded74788735a7b636", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking getopts v0.2.15 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking net2 v0.2.31 [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.15/src/lib.rs:1033:33 [INFO] [stdout] | [INFO] [stdout] 978 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- borrow of `state` occurs here [INFO] [stdout] ... [INFO] [stdout] 982 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1033 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^ use of borrowed `state` [INFO] [stdout] 1034 | 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` 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" "74038e81c2a4d2e3962296a05ac749d7d5e226df3f4a2c9ded74788735a7b636", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74038e81c2a4d2e3962296a05ac749d7d5e226df3f4a2c9ded74788735a7b636", kill_on_drop: false }` [INFO] [stdout] 74038e81c2a4d2e3962296a05ac749d7d5e226df3f4a2c9ded74788735a7b636