[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.61.0 for beta-1.62-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ralvescosta/diesel_postgres on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.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-105/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.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.1 [INFO] [stderr] Downloaded downcast v0.10.0 [INFO] [stderr] Downloaded predicates v1.0.8 [INFO] [stderr] Downloaded mockall_derive v0.10.2 [INFO] [stderr] Downloaded fragile v1.0.0 [INFO] [stderr] Downloaded tokio-postgres v0.7.2 [INFO] [stderr] Downloaded predicates-tree v1.0.3 [INFO] [stderr] Downloaded mockall v0.10.2 [INFO] [stderr] Downloaded tokio-macros v1.4.1 [INFO] [stderr] Downloaded postgres-types v0.2.1 [INFO] [stderr] Downloaded postgres v0.19.1 [INFO] [stderr] Downloaded diesel v1.4.7 [INFO] [stderr] Downloaded libsqlite3-sys v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b449b7b52b7f1b514fe545bd33cac61ad16e85094f57c82eaaf5d91fbce7ecc [INFO] running `Command { std: "docker" "start" "-a" "5b449b7b52b7f1b514fe545bd33cac61ad16e85094f57c82eaaf5d91fbce7ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b449b7b52b7f1b514fe545bd33cac61ad16e85094f57c82eaaf5d91fbce7ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b449b7b52b7f1b514fe545bd33cac61ad16e85094f57c82eaaf5d91fbce7ecc", kill_on_drop: false }` [INFO] [stdout] 5b449b7b52b7f1b514fe545bd33cac61ad16e85094f57c82eaaf5d91fbce7ecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e25e3d061bdf37ec8a4e31cbc83bf2c39b9525748e6d7c2c868306f27322391 [INFO] running `Command { std: "docker" "start" "-a" "6e25e3d061bdf37ec8a4e31cbc83bf2c39b9525748e6d7c2c868306f27322391", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling libsqlite3-sys v0.9.1 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [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 tokio-macros v1.4.1 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling diesel v1.4.7 [INFO] [stderr] Compiling tokio-postgres v0.7.2 [INFO] [stderr] Compiling postgres v0.19.1 [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> { [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>) -> Vec { [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>, 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>, 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> { [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>) -> Vec { [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 2m 02s [INFO] running `Command { std: "docker" "inspect" "6e25e3d061bdf37ec8a4e31cbc83bf2c39b9525748e6d7c2c868306f27322391", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e25e3d061bdf37ec8a4e31cbc83bf2c39b9525748e6d7c2c868306f27322391", kill_on_drop: false }` [INFO] [stdout] 6e25e3d061bdf37ec8a4e31cbc83bf2c39b9525748e6d7c2c868306f27322391 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8a4c777bdac25ebd6ad6789c8df5b7b62e4288e2cdb147e0387d194335897bd [INFO] running `Command { std: "docker" "start" "-a" "d8a4c777bdac25ebd6ad6789c8df5b7b62e4288e2cdb147e0387d194335897bd", kill_on_drop: false }` [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling downcast v0.10.0 [INFO] [stderr] Compiling fragile v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [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 regex v1.5.4 [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> { [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>) -> Vec { [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>, 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>, 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> { [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>) -> Vec { [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 6.59s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/diesel_postgre-52fedf40cf1a52ed) [INFO] running `Command { std: "docker" "inspect" "d8a4c777bdac25ebd6ad6789c8df5b7b62e4288e2cdb147e0387d194335897bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a4c777bdac25ebd6ad6789c8df5b7b62e4288e2cdb147e0387d194335897bd", kill_on_drop: false }` [INFO] [stdout] d8a4c777bdac25ebd6ad6789c8df5b7b62e4288e2cdb147e0387d194335897bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+1.61.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d82d8c97874336f6da272c0b0a78fdba285075fa9e45f32a0057c04e9ee2320 [INFO] running `Command { std: "docker" "start" "-a" "6d82d8c97874336f6da272c0b0a78fdba285075fa9e45f32a0057c04e9ee2320", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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> { [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>) -> Vec { [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>, 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>, 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> { [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>) -> Vec { [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 40.95s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/diesel_postgre-52fedf40cf1a52ed) [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: 0x5631af8487dd - std::backtrace_rs::backtrace::libunwind::trace::h22893a5306c091b4 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5631af8487dd - std::backtrace_rs::backtrace::trace_unsynchronized::h29c3bc6f9e91819d [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5631af8487dd - std::sys_common::backtrace::_print_fmt::he497d8a0ec903793 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5631af8487dd - ::fmt::h9c2a9d2774d81873 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5631af86b21c - core::fmt::write::hba4337c43d992f49 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5631af844fe1 - std::io::Write::write_fmt::h78f748c5d5b1bfcf [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5631af84a525 - std::sys_common::backtrace::_print::h63c8b24acdd8e8ce [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5631af84a525 - std::sys_common::backtrace::print::h426700d6240cdcc2 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5631af84a525 - std::panicking::default_hook::{{closure}}::hc9a76eed0b18f82b [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5631af84a214 - std::panicking::default_hook::h2e88d02087fae196 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5631af84aa72 - std::panicking::rust_panic_with_hook::habfdcc2e90f9fd4c [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5631af84a957 - std::panicking::begin_panic_handler::{{closure}}::he054b2a83a51d2cd [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5631af848c94 - std::sys_common::backtrace::__rust_end_short_backtrace::ha48b94ab49b30915 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5631af84a689 - rust_begin_unwind [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5631af7863e3 - core::panicking::panic_fmt::h366d3a309ae17c94 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5631af7864d3 - core::result::unwrap_failed::hddd78f4658ac7d0f [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1785:5 [INFO] [stdout] 16: 0x5631af79c074 - core::result::Result::expect::h65e27a087fed8994 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/result.rs:1035:23 [INFO] [stdout] 17: 0x5631af78dca1 - diesel_postgre::diesel_get_started::establish_connection::h7c86f0e34dba6768 [INFO] [stdout] at /opt/rustwide/workdir/src/diesel_get_started.rs:27:5 [INFO] [stdout] 18: 0x5631af79fa13 - diesel_postgre::diesel_get_started::tests::should_establish_connection::hdccb9634ac079750 [INFO] [stdout] at /opt/rustwide/workdir/src/diesel_get_started.rs:86:23 [INFO] [stdout] 19: 0x5631af79f9ea - diesel_postgre::diesel_get_started::tests::should_establish_connection::{{closure}}::h8fd8588629ef3d77 [INFO] [stdout] at /opt/rustwide/workdir/src/diesel_get_started.rs:84:5 [INFO] [stdout] 20: 0x5631af7956de - core::ops::function::FnOnce::call_once::h34a76bf45636349f [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5631af7de1d3 - core::ops::function::FnOnce::call_once::h117306f28c6440b2 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5631af7de1d3 - test::__rust_begin_short_backtrace::hdf9f3f089dd9450d [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x5631af7dcf39 - as core::ops::function::FnOnce>::call_once::h1c7ec42f80b6bbf5 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x5631af7dcf39 - as core::ops::function::FnOnce<()>>::call_once::h3a32c43eeae577c5 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5631af7dcf39 - std::panicking::try::do_call::h5c8445fa1695dfc0 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x5631af7dcf39 - std::panicking::try::h843e017f98c59921 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x5631af7dcf39 - std::panic::catch_unwind::heae97ad77b9c2afb [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x5631af7dcf39 - test::run_test_in_process::h4f1c957830006b83 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x5631af7dcf39 - test::run_test::run_test_inner::{{closure}}::hcf8ece35c4bf405a [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x5631af7a90ee - test::run_test::run_test_inner::{{closure}}::hbf5ba8d7bc638131 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x5631af7a90ee - std::sys_common::backtrace::__rust_begin_short_backtrace::he83971fb785dc493 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x5631af7ae6b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h39e8bbdf36e3745e [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x5631af7ae6b8 - as core::ops::function::FnOnce<()>>::call_once::h6ea411f1c52eb0ea [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5631af7ae6b8 - std::panicking::try::do_call::h456700654b382ff0 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x5631af7ae6b8 - std::panicking::try::h08480bfb75b30726 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x5631af7ae6b8 - std::panic::catch_unwind::h6a5c99fdf51c894c [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x5631af7ae6b8 - std::thread::Builder::spawn_unchecked_::{{closure}}::h786176e4c49e7123 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x5631af7ae6b8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h901bf2e14b264b26 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5631af84f303 - as core::ops::function::FnOnce>::call_once::ha99802c2c52ada61 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5631af84f303 - as core::ops::function::FnOnce>::call_once::ha39aea1c57e28a15 [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5631af84f303 - std::sys::unix::thread::Thread::new::thread_start::h9f8e3d72b1f7662f [INFO] [stdout] at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f673c6b2609 - start_thread [INFO] [stdout] 43: 0x7f673c480163 - clone [INFO] [stdout] 44: 0x0 - [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.06s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin diesel_postgre' [INFO] running `Command { std: "docker" "inspect" "6d82d8c97874336f6da272c0b0a78fdba285075fa9e45f32a0057c04e9ee2320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d82d8c97874336f6da272c0b0a78fdba285075fa9e45f32a0057c04e9ee2320", kill_on_drop: false }` [INFO] [stdout] 6d82d8c97874336f6da272c0b0a78fdba285075fa9e45f32a0057c04e9ee2320