[INFO] updating cached repository https://github.com/rust-cn/rust_lang_cn [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ed58a2e4d1b02e65cb15ce2aa92a51afbfb43246 [INFO] checking rust-cn/rust_lang_cn against master#6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 for pr-70872 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-cn%2Frust_lang_cn" "/workspace/builds/worker-8/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rust-cn/rust_lang_cn on toolchain 6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257 [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/rust-cn/rust_lang_cn [INFO] finished tweaking git repo https://github.com/rust-cn/rust_lang_cn [INFO] tweaked toml for git repo https://github.com/rust-cn/rust_lang_cn written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/rust-cn/rust_lang_cn already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+6dee5f1126dfd5c9314ee5ae9d9eb010e35ef257" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 778ee97b25bc59bcc14c8032bd51e029df61a54307e8bfee4e1f2b9c245e94c9 [INFO] running `"docker" "start" "-a" "778ee97b25bc59bcc14c8032bd51e029df61a54307e8bfee4e1f2b9c245e94c9"` [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 lazy_static v0.2.2 [INFO] [stderr] Checking httparse v1.2.1 [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Checking mac v0.0.2 [INFO] [stderr] Checking quick-error v1.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.22 [INFO] [stderr] Checking itoa v0.1.1 [INFO] [stderr] Checking dtoa v0.2.2 [INFO] [stderr] Checking serde v0.7.15 [INFO] [stderr] Checking mac v0.1.0 [INFO] [stderr] Checking sequence_trie v0.0.13 [INFO] [stderr] Checking pest v0.3.3 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stderr] Checking bufstream v0.1.2 [INFO] [stderr] Checking bitflags v0.5.0 [INFO] [stderr] Checking route-recognizer v0.1.11 [INFO] [stderr] Checking RustyXML v0.1.1 [INFO] [stderr] Checking maplit v0.1.4 [INFO] [stderr] Checking traitobject v0.0.3 [INFO] [stderr] Compiling openssl-sys v0.7.17 [INFO] [stderr] Checking unicode-bidi v0.2.5 [INFO] [stderr] Checking hpack v0.2.0 [INFO] [stderr] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/getopts-0.2.14/src/lib.rs:1008:33 [INFO] [stderr] | [INFO] [stderr] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stderr] | ---------------------------------------- borrow of `state` occurs here [INFO] [stderr] ... [INFO] [stderr] 959 | state = match (state, whitespace, limit) { [INFO] [stderr] | ----- borrow occurs due to use of `state` in closure [INFO] [stderr] ... [INFO] [stderr] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stderr] | ^ use of borrowed `state` [INFO] [stderr] 1009 | machine(&mut cont, (fake_i, ' ')); [INFO] [stderr] | ------- borrow later used here [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0503`. [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 `"docker" "inspect" "778ee97b25bc59bcc14c8032bd51e029df61a54307e8bfee4e1f2b9c245e94c9"` [INFO] running `"docker" "rm" "-f" "778ee97b25bc59bcc14c8032bd51e029df61a54307e8bfee4e1f2b9c245e94c9"` [INFO] [stdout] 778ee97b25bc59bcc14c8032bd51e029df61a54307e8bfee4e1f2b9c245e94c9