[INFO] cloning repository https://github.com/ralvescosta/diesel_postgres
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ralvescosta/diesel_postgres" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 76c8cc411f5b5855978ad27fb3525466c04417db
[INFO] testing ralvescosta/diesel_postgres against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ralvescosta/diesel_postgres on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ralvescosta/diesel_postgres
[INFO] finished tweaking git repo https://github.com/ralvescosta/diesel_postgres
[INFO] tweaked toml for git repo https://github.com/ralvescosta/diesel_postgres written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/ralvescosta/diesel_postgres already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-postgres v0.7.2
[INFO] [stderr]   Downloaded postgres-types v0.2.1
[INFO] [stderr]   Downloaded postgres-protocol v0.6.1
[INFO] [stderr]   Downloaded postgres v0.19.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c6a3fa593dfe3a0140d9937287c662847e0a0b11b27c80937bd569e4c28e42f
[INFO] running `Command { std: "docker" "start" "-a" "5c6a3fa593dfe3a0140d9937287c662847e0a0b11b27c80937bd569e4c28e42f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c6a3fa593dfe3a0140d9937287c662847e0a0b11b27c80937bd569e4c28e42f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c6a3fa593dfe3a0140d9937287c662847e0a0b11b27c80937bd569e4c28e42f", kill_on_drop: false }`
[INFO] [stdout] 5c6a3fa593dfe3a0140d9937287c662847e0a0b11b27c80937bd569e4c28e42f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82d1e4b8c047e74219f5f12fddef9bfd0a214ca5aec970adc07cd93160a142a0
[INFO] running `Command { std: "docker" "start" "-a" "82d1e4b8c047e74219f5f12fddef9bfd0a214ca5aec970adc07cd93160a142a0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling syn v1.0.76
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling slab v0.4.4
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling unicode-bidi v0.3.6
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling siphasher v0.3.7
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling instant v0.1.10
[INFO] [stderr]    Compiling tinyvec v1.4.0
[INFO] [stderr]    Compiling tokio v1.11.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.9.1
[INFO] [stderr]    Compiling crypto-mac v0.10.1
[INFO] [stderr]    Compiling md-5 v0.9.1
[INFO] [stderr]    Compiling hmac v0.10.1
[INFO] [stderr]    Compiling phf_shared v0.8.0
[INFO] [stderr]    Compiling phf v0.8.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling mio v0.7.13
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling socket2 v0.4.2
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.5
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling r2d2 v0.8.9
[INFO] [stderr]    Compiling postgres-protocol v0.6.1
[INFO] [stderr]    Compiling postgres-types v0.2.1
[INFO] [stderr]    Compiling futures-macro v0.3.17
[INFO] [stderr]    Compiling tokio-macros v1.4.1
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling tokio-util v0.6.8
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling futures-executor v0.3.17
[INFO] [stderr]    Compiling futures v0.3.17
[INFO] [stderr]    Compiling tokio-postgres v0.7.2
[INFO] [stderr]    Compiling postgres v0.19.1
[INFO] [stderr]    Compiling diesel v1.4.7
[INFO] [stderr]    Compiling diesel_postgre v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `create_pool`
[INFO] [stdout]   --> src/diesel_r2d2.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn create_pool() -> r2d2::Pool<ConnectionManager<PgConnection>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/diesel_r2d2.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_posts`
[INFO] [stdout]   --> src/diesel_r2d2.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn get_posts(pool: &r2d2::Pool<ConnectionManager<PgConnection>>) -> Vec<Post> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_post`
[INFO] [stdout]   --> src/diesel_r2d2.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn create_post<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `update_post`
[INFO] [stdout]   --> src/diesel_r2d2.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn update_post(pool: &r2d2::Pool<ConnectionManager<PgConnection>>, id: i32) -> Post {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `delete_post`
[INFO] [stdout]   --> src/diesel_r2d2.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn delete_post(pool: &r2d2::Pool<ConnectionManager<PgConnection>>, target: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `runtime`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn runtime() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn run() {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_pool`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn create_pool() -> r2d2::Pool<ConnectionManager<PgConnection>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_posts`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_posts(pool: &r2d2::Pool<ConnectionManager<PgConnection>>) -> Vec<Post> {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_post`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn create_post<'a>(
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1m 13s
[INFO] running `Command { std: "docker" "inspect" "82d1e4b8c047e74219f5f12fddef9bfd0a214ca5aec970adc07cd93160a142a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82d1e4b8c047e74219f5f12fddef9bfd0a214ca5aec970adc07cd93160a142a0", kill_on_drop: false }`
[INFO] [stdout] 82d1e4b8c047e74219f5f12fddef9bfd0a214ca5aec970adc07cd93160a142a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 91d123e6c81c45753ca050fde691eae11858ad213c05de36c110c05228c94224
[INFO] running `Command { std: "docker" "start" "-a" "91d123e6c81c45753ca050fde691eae11858ad213c05de36c110c05228c94224", kill_on_drop: false }`
[INFO] [stderr]    Compiling predicates-core v1.0.2
[INFO] [stderr]    Compiling normalize-line-endings v0.3.0
[INFO] [stderr]    Compiling treeline v0.1.0
[INFO] [stderr]    Compiling difference v2.0.0
[INFO] [stderr]    Compiling fragile v1.0.0
[INFO] [stderr]    Compiling downcast v0.10.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling mockall_derive v0.10.2
[INFO] [stderr]    Compiling predicates-tree v1.0.3
[INFO] [stderr]    Compiling float-cmp v0.8.0
[INFO] [stderr]    Compiling predicates v1.0.8
[INFO] [stderr]    Compiling mockall v0.10.2
[INFO] [stderr]    Compiling diesel_postgre v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function is never used: `create_pool`
[INFO] [stdout]   --> src/diesel_r2d2.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn create_pool() -> r2d2::Pool<ConnectionManager<PgConnection>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/diesel_r2d2.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_posts`
[INFO] [stdout]   --> src/diesel_r2d2.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn get_posts(pool: &r2d2::Pool<ConnectionManager<PgConnection>>) -> Vec<Post> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_post`
[INFO] [stdout]   --> src/diesel_r2d2.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn create_post<'a>(
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `update_post`
[INFO] [stdout]   --> src/diesel_r2d2.rs:61:8
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn update_post(pool: &r2d2::Pool<ConnectionManager<PgConnection>>, id: i32) -> Post {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `delete_post`
[INFO] [stdout]   --> src/diesel_r2d2.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub fn delete_post(pool: &r2d2::Pool<ConnectionManager<PgConnection>>, target: String) {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `runtime`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:10:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn runtime() {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn run() {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_pool`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub fn create_pool() -> r2d2::Pool<ConnectionManager<PgConnection>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `get_posts`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_posts(pool: &r2d2::Pool<ConnectionManager<PgConnection>>) -> Vec<Post> {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `create_post`
[INFO] [stdout]   --> src/diesel_r2d2_tokio.rs:55:14
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub async fn create_post<'a>(
[INFO] [stdout]    |              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 12.01s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/diesel_postgre-a1cfddd9376942cd)
[INFO] running `Command { std: "docker" "inspect" "91d123e6c81c45753ca050fde691eae11858ad213c05de36c110c05228c94224", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "91d123e6c81c45753ca050fde691eae11858ad213c05de36c110c05228c94224", kill_on_drop: false }`
[INFO] [stdout] 91d123e6c81c45753ca050fde691eae11858ad213c05de36c110c05228c94224
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1af962dcc8f993ce63c2c578a7254c225d9c1c757ae5e6bf1f202a02dafcdf33
[INFO] running `Command { std: "docker" "start" "-a" "1af962dcc8f993ce63c2c578a7254c225d9c1c757ae5e6bf1f202a02dafcdf33", kill_on_drop: false }`
[INFO] [stderr] warning: function is never used: `create_pool`
[INFO] [stderr]   --> src/diesel_r2d2.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn create_pool() -> r2d2::Pool<ConnectionManager<PgConnection>> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `run`
[INFO] [stderr]   --> src/diesel_r2d2.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub fn run() {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `get_posts`
[INFO] [stderr]   --> src/diesel_r2d2.rs:32:8
[INFO] [stderr]    |
[INFO] [stderr] 32 | pub fn get_posts(pool: &r2d2::Pool<ConnectionManager<PgConnection>>) -> Vec<Post> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `create_post`
[INFO] [stderr]   --> src/diesel_r2d2.rs:44:8
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub fn create_post<'a>(
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `update_post`
[INFO] [stderr]   --> src/diesel_r2d2.rs:61:8
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub fn update_post(pool: &r2d2::Pool<ConnectionManager<PgConnection>>, id: i32) -> Post {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `delete_post`
[INFO] [stderr]   --> src/diesel_r2d2.rs:72:8
[INFO] [stderr]    |
[INFO] [stderr] 72 | pub fn delete_post(pool: &r2d2::Pool<ConnectionManager<PgConnection>>, target: String) {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `runtime`
[INFO] [stderr]   --> src/diesel_r2d2_tokio.rs:10:8
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub fn runtime() {
[INFO] [stderr]    |        ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `run`
[INFO] [stderr]   --> src/diesel_r2d2_tokio.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub async fn run() {
[INFO] [stderr]    |              ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `create_pool`
[INFO] [stderr]   --> src/diesel_r2d2_tokio.rs:37:8
[INFO] [stderr]    |
[INFO] [stderr] 37 | pub fn create_pool() -> r2d2::Pool<ConnectionManager<PgConnection>> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `get_posts`
[INFO] [stderr]   --> src/diesel_r2d2_tokio.rs:43:14
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub async fn get_posts(pool: &r2d2::Pool<ConnectionManager<PgConnection>>) -> Vec<Post> {
[INFO] [stderr]    |              ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `create_post`
[INFO] [stderr]   --> src/diesel_r2d2_tokio.rs:55:14
[INFO] [stderr]    |
[INFO] [stderr] 55 | pub async fn create_post<'a>(
[INFO] [stderr]    |              ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `diesel_postgre` (bin "diesel_postgre" test) generated 11 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/diesel_postgre-a1cfddd9376942cd)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test mock_all::tests::test ... ok
[INFO] [stdout] test diesel_get_started::tests::should_establish_connection ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- diesel_get_started::tests::should_establish_connection stdout ----
[INFO] [stdout] thread 'diesel_get_started::tests::should_establish_connection' panicked at 'Error connecting to postgres://postgres:postgres@localhost:5432/diesel_demo: BadConnection("could not connect to server: Connection refused\n\tIs the server running on host \"localhost\" (127.0.0.1) and accepting\n\tTCP/IP connections on port 5432?\ncould not connect to server: Cannot assign requested address\n\tIs the server running on host \"localhost\" (::1) and accepting\n\tTCP/IP connections on port 5432?\n")', src/diesel_get_started.rs:27:44
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x561d2db750ed - std::backtrace_rs::backtrace::libunwind::trace::hb729d9642bb971eb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x561d2db750ed - std::backtrace_rs::backtrace::trace_unsynchronized::h373bb774579df5c7
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x561d2db750ed - std::sys_common::backtrace::_print_fmt::hfbd4e92d240c89bb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x561d2db750ed - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h8f618991fbf64972
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x561d2db97e6c - core::fmt::write::hc69b5b640d88cce8
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/fmt/mod.rs:1196:17
[INFO] [stdout]    5:     0x561d2db71a11 - std::io::Write::write_fmt::ha26c36dcff4a27b3
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/io/mod.rs:1654:15
[INFO] [stdout]    6:     0x561d2db76bc5 - std::sys_common::backtrace::_print::h368f27cdedea0e52
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x561d2db76bc5 - std::sys_common::backtrace::print::ha105c9cf5a64cd17
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x561d2db76bc5 - std::panicking::default_hook::{{closure}}::h48ed2c3707d5e20e
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x561d2db76870 - std::panicking::default_hook::h8744fc5cea5e3110
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x561d2db77198 - std::panicking::rust_panic_with_hook::hc82286af2030e925
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x561d2db77047 - std::panicking::begin_panic_handler::{{closure}}::h1c15057c2f09081f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x561d2db755a4 - std::sys_common::backtrace::__rust_end_short_backtrace::h65de906a5330f8da
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x561d2db76d79 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x561d2daae6f3 - core::panicking::panic_fmt::h741cfbfc95bc6112
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x561d2daae7e3 - core::result::unwrap_failed::h995262f85f9c4e2c
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/result.rs:1785:5
[INFO] [stdout]   16:     0x561d2dac4c64 - core::result::Result<T,E>::expect::h09e54d32c0878303
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/result.rs:1035:23
[INFO] [stdout]   17:     0x561d2dac3af1 - diesel_postgre::diesel_get_started::establish_connection::hcdb9d72b4f5109d5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/diesel_get_started.rs:27:5
[INFO] [stdout]   18:     0x561d2dac7443 - diesel_postgre::diesel_get_started::tests::should_establish_connection::hbba9e6201bebb636
[INFO] [stdout]                                at /opt/rustwide/workdir/src/diesel_get_started.rs:86:23
[INFO] [stdout]   19:     0x561d2dac741a - diesel_postgre::diesel_get_started::tests::should_establish_connection::{{closure}}::hfddd7012745aac80
[INFO] [stdout]                                at /opt/rustwide/workdir/src/diesel_get_started.rs:84:5
[INFO] [stdout]   20:     0x561d2dabfd5e - core::ops::function::FnOnce::call_once::h36703fb45ba4d815
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   21:     0x561d2db094f3 - core::ops::function::FnOnce::call_once::h6821f4fbcdf2879a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   22:     0x561d2db094f3 - test::__rust_begin_short_backtrace::hf6bfbc319fc059de
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:573:5
[INFO] [stdout]   23:     0x561d2db0823a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h97349ccabd0ff698
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   24:     0x561d2db0823a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h8e8475613b67a167
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   25:     0x561d2db0823a - std::panicking::try::do_call::h322f99a861722024
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:492:40
[INFO] [stdout]   26:     0x561d2db0823a - std::panicking::try::h93ad00b991f99f6f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:456:19
[INFO] [stdout]   27:     0x561d2db0823a - std::panic::catch_unwind::h4be9110dc182f7b8
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panic.rs:137:14
[INFO] [stdout]   28:     0x561d2db0823a - test::run_test_in_process::h61c47e711341c62a
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:596:18
[INFO] [stdout]   29:     0x561d2db0823a - test::run_test::run_test_inner::{{closure}}::hcea6f4445d93c036
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:490:39
[INFO] [stdout]   30:     0x561d2dad448d - test::run_test::run_test_inner::{{closure}}::hfbfffeb4e1bd3f31
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/test/src/lib.rs:517:37
[INFO] [stdout]   31:     0x561d2dad448d - std::sys_common::backtrace::__rust_begin_short_backtrace::h4ae2aa17cadab5d9
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   32:     0x561d2dad9f78 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h2b8fca56a3213304
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/thread/mod.rs:501:17
[INFO] [stdout]   33:     0x561d2dad9f78 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h570c01049d92da17
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   34:     0x561d2dad9f78 - std::panicking::try::do_call::hf58ab89e1d6c413c
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:492:40
[INFO] [stdout]   35:     0x561d2dad9f78 - std::panicking::try::hc2c0b5371ab66b31
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:456:19
[INFO] [stdout]   36:     0x561d2dad9f78 - std::panic::catch_unwind::h26f85cf112d3e05f
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panic.rs:137:14
[INFO] [stdout]   37:     0x561d2dad9f78 - std::thread::Builder::spawn_unchecked_::{{closure}}::h522348332e8a5947
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/thread/mod.rs:500:30
[INFO] [stdout]   38:     0x561d2dad9f78 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd25bd2a19e60abb
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   39:     0x561d2db7b983 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hcbca3baf872b7fe4
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   40:     0x561d2db7b983 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h18790338ce1743e2
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/alloc/src/boxed.rs:1872:9
[INFO] [stdout]   41:     0x561d2db7b983 - std::sys::unix::thread::Thread::new::thread_start::hb1067183bad48893
[INFO] [stdout]                                at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   42:     0x7f1c71980609 - start_thread
[INFO] [stdout]   43:     0x7f1c7174e133 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     diesel_get_started::tests::should_establish_connection
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--bin diesel_postgre'
[INFO] running `Command { std: "docker" "inspect" "1af962dcc8f993ce63c2c578a7254c225d9c1c757ae5e6bf1f202a02dafcdf33", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1af962dcc8f993ce63c2c578a7254c225d9c1c757ae5e6bf1f202a02dafcdf33", kill_on_drop: false }`
[INFO] [stdout] 1af962dcc8f993ce63c2c578a7254c225d9c1c757ae5e6bf1f202a02dafcdf33
