[INFO] updating cached repository https://github.com/rust-cn/rust_lang_cn [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ed58a2e4d1b02e65cb15ce2aa92a51afbfb43246 [INFO] testing rust-cn/rust_lang_cn against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frust-cn%2Frust_lang_cn" "/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/rust-cn/rust_lang_cn on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d18f902d14dbd193dcf7992777a802ec595edaf8865c016adf79e2e7bad4f6a8 [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" "d18f902d14dbd193dcf7992777a802ec595edaf8865c016adf79e2e7bad4f6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d18f902d14dbd193dcf7992777a802ec595edaf8865c016adf79e2e7bad4f6a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d18f902d14dbd193dcf7992777a802ec595edaf8865c016adf79e2e7bad4f6a8", kill_on_drop: false }` [INFO] [stdout] d18f902d14dbd193dcf7992777a802ec595edaf8865c016adf79e2e7bad4f6a8 [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" "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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 462dc98a229d314f93f1f6139ec57f1f16d38ddc60c0a98ecc1850c5f7e05eae [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" "462dc98a229d314f93f1f6139ec57f1f16d38ddc60c0a98ecc1850c5f7e05eae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling gcc v0.3.43 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling matches v0.1.4 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling unicode-normalization v0.1.4 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.0.1 [INFO] [stderr] Compiling httparse v1.2.1 [INFO] [stderr] Compiling siphasher v0.2.1 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling quick-error v1.1.0 [INFO] [stderr] Compiling mac v0.0.2 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling mac v0.1.0 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling sequence_trie v0.0.13 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling maplit v0.1.4 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling bufstream v0.1.2 [INFO] [stderr] Compiling RustyXML v0.1.1 [INFO] [stderr] Compiling getopts v0.2.14 [INFO] [stderr] Compiling route-recognizer v0.1.11 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.2.5 [INFO] [stderr] Compiling utf-8 v0.6.0 [INFO] [stderr] Compiling humantime v0.1.3 [INFO] [stderr] Compiling unsafe-any v0.4.1 [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" "462dc98a229d314f93f1f6139ec57f1f16d38ddc60c0a98ecc1850c5f7e05eae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "462dc98a229d314f93f1f6139ec57f1f16d38ddc60c0a98ecc1850c5f7e05eae", kill_on_drop: false }` [INFO] [stdout] 462dc98a229d314f93f1f6139ec57f1f16d38ddc60c0a98ecc1850c5f7e05eae