[INFO] updating cached repository https://github.com/amichal/rust-pg [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ce3f062c45eee2a1ec01ee4a8ee87d1a907b9ce [INFO] checking amichal/rust-pg against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famichal%2Frust-pg" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amichal/rust-pg on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/amichal/rust-pg already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/iron/logger.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0012b1859e59226849e1c0282dfe15ce4c90fff5eef80ce46afabd826537a5be [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0012b1859e59226849e1c0282dfe15ce4c90fff5eef80ce46afabd826537a5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0012b1859e59226849e1c0282dfe15ce4c90fff5eef80ce46afabd826537a5be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0012b1859e59226849e1c0282dfe15ce4c90fff5eef80ce46afabd826537a5be", kill_on_drop: false }` [INFO] [stdout] 0012b1859e59226849e1c0282dfe15ce4c90fff5eef80ce46afabd826537a5be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f4c2dc06a3e8cfd281853887f77d22c37701324c1e6921c1dbd68b450944d74 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f4c2dc06a3e8cfd281853887f77d22c37701324c1e6921c1dbd68b450944d74", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking scheduled-thread-pool v0.1.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking r2d2 v0.7.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling phf_shared v0.7.15 [INFO] [stderr] Compiling phf v0.7.15 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking postgres v0.11.12 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking r2d2 v0.6.4 [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 hyper v0.10.16 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking r2d2_postgres v0.10.1 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking logger v0.4.0 (https://github.com/iron/logger.git#4df63964) [INFO] [stderr] Checking persistent v0.4.0 [INFO] [stderr] Checking pg v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `pg`. [INFO] [stdout] error[E0277]: the trait bound `r2d2_postgres::PostgresConnectionManager: r2d2::ManageConnection` is not satisfied [INFO] [stdout] --> src/main.rs:57:59 [INFO] [stdout] | [INFO] [stdout] 57 | fn setup_connection_pool(cn_str: &str, pool_size: u32) -> PostgresPool { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.6.4/src/lib.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Pool(Arc>); [INFO] [stdout] | ---------------- required by this bound in `r2d2::Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.10.1/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl r2d2::ManageConnection for PostgresConnectionManager { [INFO] [stdout] 110 | | type Connection = postgres::Connection; [INFO] [stdout] 111 | | type Error = Error; [INFO] [stdout] 112 | | [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `r2d2` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0277]: the trait bound `r2d2_postgres::PostgresConnectionManager: r2d2::ManageConnection` is not satisfied [INFO] [stdout] --> src/main.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Key for AppDb { type Value = PostgresPool; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.6.4/src/lib.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Pool(Arc>); [INFO] [stdout] | ---------------- required by this bound in `r2d2::Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.10.1/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl r2d2::ManageConnection for PostgresConnectionManager { [INFO] [stdout] 110 | | type Connection = postgres::Connection; [INFO] [stdout] 111 | | type Error = Error; [INFO] [stdout] 112 | | [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `r2d2` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `r2d2_postgres::PostgresConnectionManager: r2d2::ManageConnection` is not satisfied [INFO] [stdout] --> src/main.rs:57:59 [INFO] [stdout] | [INFO] [stdout] 57 | fn setup_connection_pool(cn_str: &str, pool_size: u32) -> PostgresPool { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.6.4/src/lib.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Pool(Arc>); [INFO] [stdout] | ---------------- required by this bound in `r2d2::Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.10.1/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl r2d2::ManageConnection for PostgresConnectionManager { [INFO] [stdout] 110 | | type Connection = postgres::Connection; [INFO] [stdout] 111 | | type Error = Error; [INFO] [stdout] 112 | | [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `r2d2` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `r2d2_postgres::PostgresConnectionManager: r2d2::ManageConnection` is not satisfied [INFO] [stdout] --> src/main.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | impl Key for AppDb { type Value = PostgresPool; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `r2d2::ManageConnection` is not implemented for `r2d2_postgres::PostgresConnectionManager` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2-0.6.4/src/lib.rs:260:20 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct Pool(Arc>); [INFO] [stdout] | ---------------- required by this bound in `r2d2::Pool` [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/r2d2_postgres-0.10.1/src/lib.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | / impl r2d2::ManageConnection for PostgresConnectionManager { [INFO] [stdout] 110 | | type Connection = postgres::Connection; [INFO] [stdout] 111 | | type Error = Error; [INFO] [stdout] 112 | | [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [INFO] [stdout] 129 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: perhaps two different versions of crate `r2d2` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0f4c2dc06a3e8cfd281853887f77d22c37701324c1e6921c1dbd68b450944d74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f4c2dc06a3e8cfd281853887f77d22c37701324c1e6921c1dbd68b450944d74", kill_on_drop: false }` [INFO] [stdout] 0f4c2dc06a3e8cfd281853887f77d22c37701324c1e6921c1dbd68b450944d74