[INFO] updating cached repository https://github.com/jimmycuadra/serde_test [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/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#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmycuadra%2Fserde_test" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jimmycuadra/serde_test on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "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 work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/jimmycuadra/serde_test already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 8be6a2b26cd244b0c6a6f9b17edd7b1b84520eb26a2ce3a41c6fd091479aa624 [INFO] running `"docker" "start" "-a" "8be6a2b26cd244b0c6a6f9b17edd7b1b84520eb26a2ce3a41c6fd091479aa624"` [INFO] [stderr] Compiling syntex_pos v0.39.0 [INFO] [stderr] Compiling syntex_syntax v0.29.3 [INFO] [stderr] Checking serde_json v0.7.4 [INFO] [stderr] Compiling syntex_errors v0.39.0 [INFO] [stderr] Compiling syntex_syntax v0.39.0 [INFO] [stderr] warning[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] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[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] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling syntex v0.29.2 [INFO] [stderr] Compiling aster v0.22.1 [INFO] [stderr] Compiling syntex v0.39.0 [INFO] [stderr] Compiling quasi v0.16.0 [INFO] [stderr] Compiling serde_codegen_internals v0.4.0 [INFO] [stderr] Compiling quasi_codegen v0.16.0 [INFO] [stderr] Compiling serde_codegen v0.7.15 [INFO] [stderr] Compiling serde_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> build.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | serde_codegen::register(&mut registry); [INFO] [stderr] | ^^^^^^^^^^^^^ expected struct `syntex::Registry`, found a different struct `syntex::Registry` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut syntex::Registry` (struct `syntex::Registry`) [INFO] [stderr] found type `&mut syntex::Registry` (struct `syntex::Registry`) [INFO] [stderr] note: Perhaps two different versions of crate `syntex` are being used? [INFO] [stderr] --> build.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | serde_codegen::register(&mut registry); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `serde_test`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8be6a2b26cd244b0c6a6f9b17edd7b1b84520eb26a2ce3a41c6fd091479aa624"` [INFO] running `"docker" "rm" "-f" "8be6a2b26cd244b0c6a6f9b17edd7b1b84520eb26a2ce3a41c6fd091479aa624"` [INFO] [stdout] 8be6a2b26cd244b0c6a6f9b17edd7b1b84520eb26a2ce3a41c6fd091479aa624