[INFO] updating cached repository https://github.com/jimmycuadra/serde_test [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] a2bbdca2a252b053349919531fd60e8c6ef499f0 [INFO] checking jimmycuadra/serde_test against try#d27c6c6a469a28343396a8f3ac1c9d403aabda69 for pr-66037 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmycuadra%2Fserde_test" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimmycuadra/serde_test on toolchain d27c6c6a469a28343396a8f3ac1c9d403aabda69 [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/jimmycuadra/serde_test already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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 `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+d27c6c6a469a28343396a8f3ac1c9d403aabda69" "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] 3182a062e2f3b807dcadc03bd20fedd281dd34b7830e0dfe5fc152e6e453acb5 [INFO] running `"docker" "start" "-a" "3182a062e2f3b807dcadc03bd20fedd281dd34b7830e0dfe5fc152e6e453acb5"` [INFO] [stderr] Compiling syntex_pos v0.39.0 [INFO] [stderr] Compiling term v0.2.14 [INFO] [stderr] Compiling syntex_errors v0.39.0 [INFO] [stderr] Compiling syntex_syntax v0.29.3 [INFO] [stderr] Compiling syntex_syntax v0.39.0 [INFO] [stderr] error[E0502]: cannot borrow `cx.parse_sess.span_diagnostic` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.29.3/src/ext/expand.rs:1325:25 [INFO] [stderr] | [INFO] [stderr] 1315 | let mut expander = MacroExpander::new(&mut cx); [INFO] [stderr] | ------- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 1325 | let err_count = cx.parse_sess.span_diagnostic.err_count(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] 1326 | let mut ret = expander.fold_crate(c); [INFO] [stderr] | -------- mutable 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 E0502`. [INFO] [stderr] error: could not compile `syntex_syntax`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error[E0502]: cannot borrow `cx.parse_sess.span_diagnostic` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/syntex_syntax-0.39.0/src/ext/expand.rs:659:25 [INFO] [stderr] | [INFO] [stderr] 649 | let mut expander = MacroExpander::new(&mut cx); [INFO] [stderr] | ------- mutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 659 | let err_count = cx.parse_sess.span_diagnostic.err_count(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ immutable borrow occurs here [INFO] [stderr] 660 | let mut ret = expander.fold_crate(c); [INFO] [stderr] | -------- mutable 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 E0502`. [INFO] [stderr] error: could not compile `syntex_syntax`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3182a062e2f3b807dcadc03bd20fedd281dd34b7830e0dfe5fc152e6e453acb5"` [INFO] running `"docker" "rm" "-f" "3182a062e2f3b807dcadc03bd20fedd281dd34b7830e0dfe5fc152e6e453acb5"` [INFO] [stdout] 3182a062e2f3b807dcadc03bd20fedd281dd34b7830e0dfe5fc152e6e453acb5