[INFO] updating cached repository https://github.com/amichal/rust-pg
[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] 2ce3f062c45eee2a1ec01ee4a8ee87d1a907b9ce
[INFO] documenting amichal/rust-pg against 1.38.0 for beta-1.39-rustdoc-1
[INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Famichal%2Frust-pg" "work/builds/worker-3/source"`
[INFO] [stderr] Cloning into 'work/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/amichal/rust-pg 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/amichal/rust-pg
[INFO] finished tweaking git repo https://github.com/amichal/rust-pg
[INFO] tweaked toml for git repo https://github.com/amichal/rust-pg written to work/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/amichal/rust-pg 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-3/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] [stderr]     Updating git repository `https://github.com/iron/logger.git`
[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-3/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-3/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] c8976e649939b7de3a6d4d4b88de15fabc8f1c831a52f7b9b95e2def6c182e32
[INFO] running `"docker" "start" "-a" "c8976e649939b7de3a6d4d4b88de15fabc8f1c831a52f7b9b95e2def6c182e32"`
[INFO] [stderr]    Compiling phf_generator v0.7.15
[INFO] [stderr]     Checking phf v0.7.15
[INFO] [stderr]    Compiling phf_codegen v0.7.15
[INFO] [stderr]     Checking postgres v0.11.12
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]     Checking r2d2_postgres v0.10.1
[INFO] [stderr]     Checking iron v0.6.1
[INFO] [stderr]     Checking persistent v0.4.0
[INFO] [stderr]     Checking logger v0.4.0 (https://github.com/iron/logger.git#59873ba2)
[INFO] [stderr]  Documenting pg v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0277]: the trait bound `r2d2_postgres::PostgresConnectionManager: r2d2::ManageConnection` is not satisfied
[INFO] [stderr]   --> src/main.rs:57:1
[INFO] [stderr]    |
[INFO] [stderr] 57 | / fn setup_connection_pool(cn_str: &str, pool_size: u32) -> PostgresPool {
[INFO] [stderr] 58 | |     let manager = ::r2d2_postgres::PostgresConnectionManager::new(cn_str, ::r2d2_postgres::SslMode::None).unwrap();
[INFO] [stderr] 59 | |     let config = ::r2d2::Config::builder().pool_size(pool_size).build();
[INFO] [stderr] 60 | |     ::r2d2::Pool::new(config, manager).unwrap()
[INFO] [stderr] 61 | | }
[INFO] [stderr]    | |_^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required by `r2d2::Pool`
[INFO] [stderr] 
[INFO] [stderr] error[E0277]: the trait bound `r2d2_postgres::PostgresConnectionManager: r2d2::ManageConnection` is not satisfied
[INFO] [stderr]   --> src/main.rs:30:22
[INFO] [stderr]    |
[INFO] [stderr] 30 | impl Key for AppDb { type Value = PostgresPool; }
[INFO] [stderr]    |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager`
[INFO] [stderr]    |
[INFO] [stderr]    = note: required by `r2d2::Pool`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0277`.
[INFO] [stderr] error: Could not document `pg`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-name pg src/main.rs -o /opt/rustwide/target/doc --color never --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern iron=/opt/rustwide/target/debug/deps/libiron-be482966d78394f9.rmeta --extern logger=/opt/rustwide/target/debug/deps/liblogger-acc15c5197b8364e.rmeta --extern persistent=/opt/rustwide/target/debug/deps/libpersistent-a2da5d4aa0f3608a.rmeta --extern postgres=/opt/rustwide/target/debug/deps/libpostgres-c975e06a592574eb.rmeta --extern r2d2=/opt/rustwide/target/debug/deps/libr2d2-e41ab8e46b3bee20.rmeta --extern r2d2_postgres=/opt/rustwide/target/debug/deps/libr2d2_postgres-4fc36d142b5e80ad.rmeta --cap-lints=warn` (exit code: 1)
[INFO] running `"docker" "inspect" "c8976e649939b7de3a6d4d4b88de15fabc8f1c831a52f7b9b95e2def6c182e32"`
[INFO] running `"docker" "rm" "-f" "c8976e649939b7de3a6d4d4b88de15fabc8f1c831a52f7b9b95e2def6c182e32"`
[INFO] [stdout] c8976e649939b7de3a6d4d4b88de15fabc8f1c831a52f7b9b95e2def6c182e32
