[INFO] updating cached repository https://github.com/TransientWang/rust_demo
[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] 58e1b392dda71735317f2ad4e8e0d760d8913253
[INFO] documenting TransientWang/rust_demo against 1.40.0 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransientWang%2Frust_demo" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/TransientWang/rust_demo 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/TransientWang/rust_demo
[INFO] finished tweaking git repo https://github.com/TransientWang/rust_demo
[INFO] tweaked toml for git repo https://github.com/TransientWang/rust_demo written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/TransientWang/rust_demo 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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stdout] 4d47ed8f58f3de72c17fe109dc83eb3dee242568ec8b4b41847f45be47f2a247
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "4d47ed8f58f3de72c17fe109dc83eb3dee242568ec8b4b41847f45be47f2a247"`
[INFO] [stderr]  Documenting rust_demo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `test`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use test::Concurrent::No;
[INFO] [stderr]   |     ^^^^ use of undeclared type or module `test`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `string` in this scope
[INFO] [stderr]    --> src/main.rs:133:11
[INFO] [stderr]     |
[INFO] [stderr] 133 |     Write(string),
[INFO] [stderr]     |           ^^^^^^ help: a struct with a similar name exists (notice the capitalization): `String`
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `rust_demo`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name rust_demo 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 --extern rand=/opt/rustwide/target/debug/deps/librand-0b8f9c60ea59310c.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "4d47ed8f58f3de72c17fe109dc83eb3dee242568ec8b4b41847f45be47f2a247"`
[INFO] running `"docker" "rm" "-f" "4d47ed8f58f3de72c17fe109dc83eb3dee242568ec8b4b41847f45be47f2a247"`
[INFO] [stdout] 4d47ed8f58f3de72c17fe109dc83eb3dee242568ec8b4b41847f45be47f2a247
