[INFO] cloning repository https://github.com/jimmycuadra/serde_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jimmycuadra/serde_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmycuadra%2Fserde_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmycuadra%2Fserde_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a2bbdca2a252b053349919531fd60e8c6ef499f0 [INFO] checking jimmycuadra/serde_test against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmycuadra%2Fserde_test" "/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/jimmycuadra/serde_test on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jimmycuadra/serde_test [INFO] finished tweaking git repo https://github.com/jimmycuadra/serde_test [INFO] tweaked toml for git repo https://github.com/jimmycuadra/serde_test written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/jimmycuadra/serde_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a97f276f44432cd8978bb9cb42f85dd9752413f6132ae1edcd4aaf3c93b1174 [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" "4a97f276f44432cd8978bb9cb42f85dd9752413f6132ae1edcd4aaf3c93b1174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a97f276f44432cd8978bb9cb42f85dd9752413f6132ae1edcd4aaf3c93b1174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a97f276f44432cd8978bb9cb42f85dd9752413f6132ae1edcd4aaf3c93b1174", kill_on_drop: false }` [INFO] [stdout] 4a97f276f44432cd8978bb9cb42f85dd9752413f6132ae1edcd4aaf3c93b1174 [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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eebb13df1e3cfcd807a669973d8e18c9198b98cf4eb76fb59d56fe7d9ad2e8ea [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" "eebb13df1e3cfcd807a669973d8e18c9198b98cf4eb76fb59d56fe7d9ad2e8ea", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Checking serde_json v0.7.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syntex_pos v0.39.0 [INFO] [stderr] Compiling syntex_syntax v0.29.3 [INFO] [stderr] Compiling syntex_errors v0.39.0 [INFO] [stderr] Compiling syntex_syntax v0.39.0 [INFO] [stdout] error[E0502]: cannot borrow `cx.parse_sess.span_diagnostic` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.29.3/src/ext/expand.rs:1325:25 [INFO] [stdout] | [INFO] [stdout] 1315 | let mut expander = MacroExpander::new(&mut cx); [INFO] [stdout] | ------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 1325 | let err_count = cx.parse_sess.span_diagnostic.err_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 1326 | let mut ret = expander.fold_crate(c); [INFO] [stdout] | -------- mutable 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 E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `syntex_syntax` [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[E0502]: cannot borrow `cx.parse_sess.span_diagnostic` as immutable because it is also borrowed as mutable [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.39.0/src/ext/expand.rs:659:25 [INFO] [stdout] | [INFO] [stdout] 649 | let mut expander = MacroExpander::new(&mut cx); [INFO] [stdout] | ------- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 659 | let err_count = cx.parse_sess.span_diagnostic.err_count(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stdout] 660 | let mut ret = expander.fold_crate(c); [INFO] [stdout] | -------- mutable 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 E0502`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "eebb13df1e3cfcd807a669973d8e18c9198b98cf4eb76fb59d56fe7d9ad2e8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebb13df1e3cfcd807a669973d8e18c9198b98cf4eb76fb59d56fe7d9ad2e8ea", kill_on_drop: false }` [INFO] [stdout] eebb13df1e3cfcd807a669973d8e18c9198b98cf4eb76fb59d56fe7d9ad2e8ea