[INFO] cloning repository https://github.com/flier/rust-rscope [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flier/rust-rscope" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-rscope", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-rscope'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9bd6ea3d50ac9d861d185f63b743693d55235d57 [INFO] testing flier/rust-rscope against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflier%2Frust-rscope" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/flier/rust-rscope 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/flier/rust-rscope [INFO] finished tweaking git repo https://github.com/flier/rust-rscope [INFO] tweaked toml for git repo https://github.com/flier/rust-rscope written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/flier/rust-rscope 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 1d52640373be383a1ce259dce1abb271484667e6862d187e9081000d52e28362 [INFO] running `Command { std: "docker" "start" "-a" "1d52640373be383a1ce259dce1abb271484667e6862d187e9081000d52e28362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d52640373be383a1ce259dce1abb271484667e6862d187e9081000d52e28362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d52640373be383a1ce259dce1abb271484667e6862d187e9081000d52e28362", kill_on_drop: false }` [INFO] [stdout] 1d52640373be383a1ce259dce1abb271484667e6862d187e9081000d52e28362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] 340197706c3fdebff0ff22b52370e69d6e020481a2b04ef525265b98d4f79e17 [INFO] running `Command { std: "docker" "start" "-a" "340197706c3fdebff0ff22b52370e69d6e020481a2b04ef525265b98d4f79e17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.12 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling gcc v0.3.28 [INFO] [stderr] Compiling winapi v0.2.7 [INFO] [stderr] Compiling pkg-config v0.3.8 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling matches v0.1.2 [INFO] [stderr] Compiling num-traits v0.1.32 [INFO] [stderr] Compiling unicode-normalization v0.1.2 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling regex-syntax v0.3.3 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling backtrace v0.2.2 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling termbox-sys v0.2.9 [INFO] [stderr] Compiling rustc-demangle v0.1.0 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling strsim v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling nom v1.2.3 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling crossbeam v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling serde v0.7.10 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling bitflags v0.2.1 [INFO] [stderr] Compiling lazy_static v0.2.1 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.2.3 [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 debug_unreachable v0.1.1 [INFO] [stderr] Compiling rand v0.3.14 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling filetime v0.1.10 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling num_cpus v0.2.13 [INFO] [stderr] Compiling cmake v0.1.17 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling advapi32-sys v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.32 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling aho-corasick v0.5.2 [INFO] [stderr] Compiling tar v0.4.6 [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "340197706c3fdebff0ff22b52370e69d6e020481a2b04ef525265b98d4f79e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340197706c3fdebff0ff22b52370e69d6e020481a2b04ef525265b98d4f79e17", kill_on_drop: false }` [INFO] [stdout] 340197706c3fdebff0ff22b52370e69d6e020481a2b04ef525265b98d4f79e17