[INFO] cloning repository https://github.com/kkartaltepe/rust-image-host [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kkartaltepe/rust-image-host" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkartaltepe%2Frust-image-host", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkartaltepe%2Frust-image-host'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e907429fa0e7f163fb332e8b8b0383565ab825b [INFO] testing kkartaltepe/rust-image-host against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkkartaltepe%2Frust-image-host" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kkartaltepe/rust-image-host on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kkartaltepe/rust-image-host [INFO] finished tweaking git repo https://github.com/kkartaltepe/rust-image-host [INFO] tweaked toml for git repo https://github.com/kkartaltepe/rust-image-host written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/kkartaltepe/rust-image-host already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d3d814ddec8e1ba160152b64eb60c68a0e1d876f84d0e355a656437173b516b [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" "3d3d814ddec8e1ba160152b64eb60c68a0e1d876f84d0e355a656437173b516b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d3d814ddec8e1ba160152b64eb60c68a0e1d876f84d0e355a656437173b516b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d3d814ddec8e1ba160152b64eb60c68a0e1d876f84d0e355a656437173b516b", kill_on_drop: false }` [INFO] [stdout] 3d3d814ddec8e1ba160152b64eb60c68a0e1d876f84d0e355a656437173b516b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d0fce92b20478a0fcbb7701948fe87d8acee2ddb825b1f89af81fa293c69b93 [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" "8d0fce92b20478a0fcbb7701948fe87d8acee2ddb825b1f89af81fa293c69b93", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.18 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Compiling gcc v0.3.40 [INFO] [stderr] Compiling num-traits v0.1.36 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling matches v0.1.4 [INFO] [stderr] Compiling lazy_static v0.2.2 [INFO] [stderr] Compiling traitobject v0.0.3 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling unicode-normalization v0.1.2 [INFO] [stderr] Compiling httparse v1.2.1 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling serde v0.8.20 [INFO] [stderr] Compiling buf_redux v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling route-recognizer v0.1.11 [INFO] [stderr] Compiling image-host v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unicode-bidi v0.2.3 [INFO] [stderr] Compiling unsafe-any v0.4.1 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling mime v0.2.2 [INFO] [stderr] Compiling hpack v0.2.0 [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] error: build failed [INFO] running `Command { std: "docker" "inspect" "8d0fce92b20478a0fcbb7701948fe87d8acee2ddb825b1f89af81fa293c69b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0fce92b20478a0fcbb7701948fe87d8acee2ddb825b1f89af81fa293c69b93", kill_on_drop: false }` [INFO] [stdout] 8d0fce92b20478a0fcbb7701948fe87d8acee2ddb825b1f89af81fa293c69b93