[INFO] updating cached repository https://github.com/ProCynic/hello-rust
[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] c765f4a5be06a6192d02bb7f1a1e45489585f028
[INFO] documenting ProCynic/hello-rust against beta-2019-12-18 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProCynic%2Fhello-rust" "/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/ProCynic/hello-rust on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/ProCynic/hello-rust
[INFO] finished tweaking git repo https://github.com/ProCynic/hello-rust
[INFO] tweaked toml for git repo https://github.com/ProCynic/hello-rust written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/ProCynic/hello-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-postgres v0.5.1
[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" "+beta-2019-12-18" "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] 065285297f815a57f4e041d8d45523eded12981dc530f40d6dad5109c454ce74
[INFO] running `"docker" "start" "-a" "065285297f815a57f4e041d8d45523eded12981dc530f40d6dad5109c454ce74"`
[INFO] [stderr]    Compiling futures-macro v0.3.1
[INFO] [stderr]     Checking tokio v0.2.6
[INFO] [stderr]     Checking postgres-protocol v0.5.0
[INFO] [stderr]     Checking router v0.6.0
[INFO] [stderr]     Checking postgres-types v0.1.0
[INFO] [stderr]     Checking tokio-util v0.2.0
[INFO] [stderr]     Checking futures-util v0.3.1
[INFO] [stderr]     Checking futures-executor v0.3.1
[INFO] [stderr]     Checking futures v0.3.1
[INFO] [stderr]     Checking tokio-postgres v0.5.1
[INFO] [stderr]     Checking postgres v0.17.0
[INFO] [stderr]  Documenting hello_rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `self::postgres::Connection`, `self::postgres::SslMode`
[INFO] [stderr]  --> src/models/mod.rs:4:22
[INFO] [stderr]   |
[INFO] [stderr] 4 | use self::postgres::{Connection, SslMode};
[INFO] [stderr]   |                      ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stderr]   |                      |
[INFO] [stderr]   |                      no `Connection` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `ConnectError` in this scope
[INFO] [stderr]   --> src/models/mod.rs:11:50
[INFO] [stderr]    |
[INFO] [stderr] 11 |     fn get_db_connection() -> Result<Connection, ConnectError> {
[INFO] [stderr]    |                                                  ^^^^^^^^^^^^ not found in this scope
[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, E0432.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `hello_rust`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name hello_rust 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 bodyparser=/opt/rustwide/target/debug/deps/libbodyparser-00ced1ebaa7b7638.rmeta --extern iron=/opt/rustwide/target/debug/deps/libiron-4c0c27013ce25dc5.rmeta --extern postgres=/opt/rustwide/target/debug/deps/libpostgres-59aad063a187b70f.rmeta --extern router=/opt/rustwide/target/debug/deps/librouter-c29dcd31c552120a.rmeta --extern rustc_serialize=/opt/rustwide/target/debug/deps/librustc_serialize-2f5d6484efc267b4.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "065285297f815a57f4e041d8d45523eded12981dc530f40d6dad5109c454ce74"`
[INFO] running `"docker" "rm" "-f" "065285297f815a57f4e041d8d45523eded12981dc530f40d6dad5109c454ce74"`
[INFO] [stdout] 065285297f815a57f4e041d8d45523eded12981dc530f40d6dad5109c454ce74
