[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] documenting jimmycuadra/serde_test against 1.38.0 for beta-1.39-rustdoc-1
[INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjimmycuadra%2Fserde_test" "work/builds/worker-1/source"`
[INFO] [stderr] Cloning into 'work/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jimmycuadra/serde_test on toolchain 1.38.0
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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-1/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" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/builds/worker-1/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" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-1/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.38.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stdout] 8623cbd5b9c15cb7cc12585bb367329970dea3b8c224c3452bc8bc0558ca1301
[INFO] running `"docker" "start" "-a" "8623cbd5b9c15cb7cc12585bb367329970dea3b8c224c3452bc8bc0558ca1301"`
[INFO] [stderr]    Compiling term v0.2.14
[INFO] [stderr]    Compiling syntex v0.39.0
[INFO] [stderr]    Compiling aster v0.22.1
[INFO] [stderr]    Compiling quasi v0.16.0
[INFO] [stderr]    Compiling serde_codegen_internals v0.4.0
[INFO] [stderr]    Compiling syntex_syntax v0.29.3
[INFO] [stderr]    Compiling quasi_codegen v0.16.0
[INFO] [stderr]    Compiling serde_codegen v0.7.15
[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]    Compiling syntex v0.29.2
[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" "8623cbd5b9c15cb7cc12585bb367329970dea3b8c224c3452bc8bc0558ca1301"`
[INFO] running `"docker" "rm" "-f" "8623cbd5b9c15cb7cc12585bb367329970dea3b8c224c3452bc8bc0558ca1301"`
[INFO] [stdout] 8623cbd5b9c15cb7cc12585bb367329970dea3b8c224c3452bc8bc0558ca1301
