[INFO] cloning repository https://github.com/amichal/rust-pg [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amichal/rust-pg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famichal%2Frust-pg"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famichal%2Frust-pg'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2ce3f062c45eee2a1ec01ee4a8ee87d1a907b9ce [INFO] checking amichal/rust-pg against try#ea663bba38739867a4b75ac820991b4f5d093c3b for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famichal%2Frust-pg" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amichal/rust-pg on toolchain ea663bba38739867a4b75ac820991b4f5d093c3b [INFO] running `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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-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 `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/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 `"/workspace/cargo-home/bin/cargo" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+ea663bba38739867a4b75ac820991b4f5d093c3b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] e1b5c2f1e6d4d81390f8acc46fdf27989af9466017fe0a8bc8c04bdbe565271f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "e1b5c2f1e6d4d81390f8acc46fdf27989af9466017fe0a8bc8c04bdbe565271f"` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Checking r2d2 v0.6.4 [INFO] [stderr] Checking phf v0.7.15 [INFO] [stderr] Checking postgres v0.11.12 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling phf_generator v0.7.15 [INFO] [stderr] Compiling phf_codegen v0.7.15 [INFO] [stderr] Checking r2d2_postgres v0.10.1 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking logger v0.4.0 (https://github.com/iron/logger.git#0e343006) [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking 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 compile `pg`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "e1b5c2f1e6d4d81390f8acc46fdf27989af9466017fe0a8bc8c04bdbe565271f"` [INFO] running `"docker" "rm" "-f" "e1b5c2f1e6d4d81390f8acc46fdf27989af9466017fe0a8bc8c04bdbe565271f"` [INFO] [stdout] e1b5c2f1e6d4d81390f8acc46fdf27989af9466017fe0a8bc8c04bdbe565271f