[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.38-1/sources/1.37.0/gh/amichal/rust-pg"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/amichal/rust-pg'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/amichal/rust-pg" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/amichal/rust-pg"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/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.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of amichal/rust-pg on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "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.38-1/sources/1.37.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.38-1/sources/beta-2019-08-13/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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.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.37.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-08-13" "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.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing amichal/rust-pg against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-7/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.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.37.0" "build" "--frozen"` [INFO] [stdout] f3f3c520354e213ae27304d6fd302ce33ca4e1e1d555579f65c34e9342ac5d1f [INFO] running `"docker" "start" "-a" "f3f3c520354e213ae27304d6fd302ce33ca4e1e1d555579f65c34e9342ac5d1f"` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling safemem v0.3.2 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.1.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling postgres v0.11.12 [INFO] [stderr] Compiling r2d2 v0.7.4 [INFO] [stderr] Compiling r2d2 v0.6.4 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling phf_generator v0.7.15 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling phf_codegen v0.7.15 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling r2d2_postgres v0.10.1 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling logger v0.4.0 (https://github.com/iron/logger.git#59873ba2) [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" "f3f3c520354e213ae27304d6fd302ce33ca4e1e1d555579f65c34e9342ac5d1f"` [INFO] running `"docker" "rm" "-f" "f3f3c520354e213ae27304d6fd302ce33ca4e1e1d555579f65c34e9342ac5d1f"` [INFO] [stdout] f3f3c520354e213ae27304d6fd302ce33ca4e1e1d555579f65c34e9342ac5d1f