[INFO] updating cached repository amichal/rust-pg
[INFO] running `"git" "fetch" "--all"`
[INFO] [stdout] Fetching origin
[INFO] [stderr] From git://github.com/amichal/rust-pg
[INFO] [stderr]  * branch            HEAD       -> FETCH_HEAD
[INFO] running `"git" "clone" "work/cache/sources/gh/amichal/rust-pg" "work/ex/beta-1.37-6/sources/1.36.0/gh/amichal/rust-pg"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.0/gh/amichal/rust-pg'...
[INFO] [stderr] done.
[INFO] running `"git" "clone" "work/cache/sources/gh/amichal/rust-pg" "work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/amichal/rust-pg"`
[INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/amichal/rust-pg'...
[INFO] [stderr] done.
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 2ce3f062c45eee2a1ec01ee4a8ee87d1a907b9ce
[INFO] sha for GitHub repo amichal/rust-pg: 2ce3f062c45eee2a1ec01ee4a8ee87d1a907b9ce
[INFO] validating manifest of amichal/rust-pg on toolchain 1.36.0
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] validating manifest of amichal/rust-pg on toolchain beta-2019-07-23
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started frobbing amichal/rust-pg
[INFO] finished frobbing amichal/rust-pg
[INFO] frobbed toml for amichal/rust-pg written to work/ex/beta-1.37-6/sources/1.36.0/gh/amichal/rust-pg/Cargo.toml
[INFO] started frobbing amichal/rust-pg
[INFO] finished frobbing amichal/rust-pg
[INFO] frobbed toml for amichal/rust-pg written to work/ex/beta-1.37-6/sources/beta-2019-07-23/gh/amichal/rust-pg/Cargo.toml
[INFO] crate amichal/rust-pg already has a lockfile, it will not be regenerated
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/amichal/rust-pg/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/local/cargo-home/bin/cargo" "+1.36.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/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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/local/cargo-home/bin/cargo" "+1.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] testing amichal/rust-pg against 1.36.0 for beta-1.37-6
[INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-2/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.0/gh/amichal/rust-pg:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.36.0" "build" "--frozen"`
[INFO] [stdout] ff57298a1aa12b4394447a21d5c1823fc2d1c08468c400155b4c2964749023e1
[INFO] running `"docker" "start" "-a" "ff57298a1aa12b4394447a21d5c1823fc2d1c08468c400155b4c2964749023e1"`
[INFO] [stderr]    Compiling scheduled-thread-pool v0.1.0
[INFO] [stderr]    Compiling phf_shared v0.7.15
[INFO] [stderr]    Compiling r2d2 v0.6.4
[INFO] [stderr]    Compiling phf_generator v0.7.15
[INFO] [stderr]    Compiling phf v0.7.15
[INFO] [stderr]    Compiling r2d2 v0.7.4
[INFO] [stderr]    Compiling phf_codegen v0.7.15
[INFO] [stderr]    Compiling postgres v0.11.12
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling iron v0.6.0
[INFO] [stderr]    Compiling r2d2_postgres v0.10.1
[INFO] [stderr]    Compiling logger v0.4.0 (https://github.com/iron/logger.git#59873ba2)
[INFO] [stderr]    Compiling persistent v0.4.0
[INFO] [stderr]    Compiling pg v0.1.0 (/opt/crater/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 compile `pg`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "ff57298a1aa12b4394447a21d5c1823fc2d1c08468c400155b4c2964749023e1"`
[INFO] running `"docker" "rm" "-f" "ff57298a1aa12b4394447a21d5c1823fc2d1c08468c400155b4c2964749023e1"`
[INFO] [stdout] ff57298a1aa12b4394447a21d5c1823fc2d1c08468c400155b4c2964749023e1
