[INFO] updating cached repository https://github.com/amichal/rust-pg [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] 2ce3f062c45eee2a1ec01ee4a8ee87d1a907b9ce [INFO] testing amichal/rust-pg against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famichal%2Frust-pg" "/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/amichal/rust-pg on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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 /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/amichal/rust-pg already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/iron/logger.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "RUSTFLAGS=--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.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf20644c07c7b7301fa9d9ad3c51c3d9c38836ec76985f7d63e8a8aed534b1d1 [INFO] running `"docker" "start" "-a" "cf20644c07c7b7301fa9d9ad3c51c3d9c38836ec76985f7d63e8a8aed534b1d1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling r2d2 v0.7.4 [INFO] [stderr] Compiling r2d2 v0.6.4 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling phf_generator v0.7.15 [INFO] [stderr] Compiling phf_codegen v0.7.15 [INFO] [stderr] Compiling postgres v0.11.12 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling r2d2_postgres v0.10.1 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling logger v0.4.0 (https://github.com/iron/logger.git#4df63964) [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling 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:59 [INFO] [stderr] | [INFO] [stderr] 57 | fn setup_connection_pool(cn_str: &str, pool_size: u32) -> PostgresPool { [INFO] [stderr] | ^^^^^^^^^^^^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.6.4/src/lib.rs:260:20 [INFO] [stderr] | [INFO] [stderr] 260 | pub struct Pool(Arc>); [INFO] [stderr] | ---------------- required by this bound in `r2d2::Pool` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.10.1/src/lib.rs:109:1 [INFO] [stderr] | [INFO] [stderr] 109 | / impl r2d2::ManageConnection for PostgresConnectionManager { [INFO] [stderr] 110 | | type Connection = postgres::Connection; [INFO] [stderr] 111 | | type Error = Error; [INFO] [stderr] 112 | | [INFO] [stderr] ... | [INFO] [stderr] 128 | | } [INFO] [stderr] 129 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: perhaps two different versions of crate `r2d2` are being used? [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] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.6.4/src/lib.rs:260:20 [INFO] [stderr] | [INFO] [stderr] 260 | pub struct Pool(Arc>); [INFO] [stderr] | ---------------- required by this bound in `r2d2::Pool` [INFO] [stderr] | [INFO] [stderr] help: trait impl with same name found [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.10.1/src/lib.rs:109:1 [INFO] [stderr] | [INFO] [stderr] 109 | / impl r2d2::ManageConnection for PostgresConnectionManager { [INFO] [stderr] 110 | | type Connection = postgres::Connection; [INFO] [stderr] 111 | | type Error = Error; [INFO] [stderr] 112 | | [INFO] [stderr] ... | [INFO] [stderr] 128 | | } [INFO] [stderr] 129 | | } [INFO] [stderr] | |_^ [INFO] [stderr] = note: perhaps two different versions of crate `r2d2` are being used? [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" "cf20644c07c7b7301fa9d9ad3c51c3d9c38836ec76985f7d63e8a8aed534b1d1"` [INFO] running `"docker" "rm" "-f" "cf20644c07c7b7301fa9d9ad3c51c3d9c38836ec76985f7d63e8a8aed534b1d1"` [INFO] [stdout] cf20644c07c7b7301fa9d9ad3c51c3d9c38836ec76985f7d63e8a8aed534b1d1