[INFO] updating cached repository https://github.com/guillax/cargo-with-git
[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] 65420c647b8c339674b1bb46c2dd9b0cf5842151
[INFO] documenting guillax/cargo-with-git against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguillax%2Fcargo-with-git" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/guillax/cargo-with-git on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/guillax/cargo-with-git
[INFO] finished tweaking git repo https://github.com/guillax/cargo-with-git
[INFO] tweaked toml for git repo https://github.com/guillax/cargo-with-git written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/guillax/cargo-with-git already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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.40.0" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0f5ddcad4f545b179802f4f2e679ceca75f8b3f62ff81afc32015ce0f25b3132
[INFO] running `"docker" "start" "-a" "0f5ddcad4f545b179802f4f2e679ceca75f8b3f62ff81afc32015ce0f25b3132"`
[INFO] [stderr]  Documenting cargo-with-git v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error: environment variable `CARGO_GIT_COMMIT` not defined
[INFO] [stderr]  --> src/main.rs:4:38
[INFO] [stderr]   |
[INFO] [stderr] 4 |   println!("CARGO_GIT_COMMIT: {:?}", env!("CARGO_GIT_COMMIT"));
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: environment variable `CARGO_GIT_STATUS` not defined
[INFO] [stderr]  --> src/main.rs:5:38
[INFO] [stderr]   |
[INFO] [stderr] 5 |   println!("CARGO_GIT_STATUS: {:?}", env!("CARGO_GIT_STATUS"));
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] error: Could not document `cargo-with-git`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name cargo_with_git src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "0f5ddcad4f545b179802f4f2e679ceca75f8b3f62ff81afc32015ce0f25b3132"`
[INFO] running `"docker" "rm" "-f" "0f5ddcad4f545b179802f4f2e679ceca75f8b3f62ff81afc32015ce0f25b3132"`
[INFO] [stdout] 0f5ddcad4f545b179802f4f2e679ceca75f8b3f62ff81afc32015ce0f25b3132
