[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 try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fralvescosta%2Fdiesel_postgres" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ralvescosta/diesel_postgres on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-22/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" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 553d940b171f84fb015032b20c02946cb6500b1723e8c35a7474e50b67a2d8e7 [INFO] running `Command { std: "docker" "start" "-a" "553d940b171f84fb015032b20c02946cb6500b1723e8c35a7474e50b67a2d8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "553d940b171f84fb015032b20c02946cb6500b1723e8c35a7474e50b67a2d8e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553d940b171f84fb015032b20c02946cb6500b1723e8c35a7474e50b67a2d8e7", kill_on_drop: false }` [INFO] [stdout] 553d940b171f84fb015032b20c02946cb6500b1723e8c35a7474e50b67a2d8e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=forbid" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1cacb0960ebdcadbeb699adcf85819867ad77b39418a61514fe3b5c1e07c5814 [INFO] running `Command { std: "docker" "start" "-a" "1cacb0960ebdcadbeb699adcf85819867ad77b39418a61514fe3b5c1e07c5814", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.102 [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 typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [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 bytes v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling lock_api v0.4.5 [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 libsqlite3-sys v0.9.1 [INFO] [stderr] Compiling tinyvec v1.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling phf v0.8.0 [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 parking_lot v0.11.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand_core v0.6.3 [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 digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [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 diesel v1.4.7 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.8 [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 45.83s [INFO] running `Command { std: "docker" "inspect" "1cacb0960ebdcadbeb699adcf85819867ad77b39418a61514fe3b5c1e07c5814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cacb0960ebdcadbeb699adcf85819867ad77b39418a61514fe3b5c1e07c5814", kill_on_drop: false }` [INFO] [stdout] 1cacb0960ebdcadbeb699adcf85819867ad77b39418a61514fe3b5c1e07c5814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=forbid" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce6700f03afa093cd48e0b4a8d13ea93a60e688f10c517723b97276cda5e867 [INFO] running `Command { std: "docker" "start" "-a" "cce6700f03afa093cd48e0b4a8d13ea93a60e688f10c517723b97276cda5e867", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.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 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 59.29s [INFO] running `Command { std: "docker" "inspect" "cce6700f03afa093cd48e0b4a8d13ea93a60e688f10c517723b97276cda5e867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce6700f03afa093cd48e0b4a8d13ea93a60e688f10c517723b97276cda5e867", kill_on_drop: false }` [INFO] [stdout] cce6700f03afa093cd48e0b4a8d13ea93a60e688f10c517723b97276cda5e867 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=forbid" "-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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 600189ce82f71eb35a5eec482091cb6c50c65fb604e2599797f4674a97b5005f [INFO] running `Command { std: "docker" "start" "-a" "600189ce82f71eb35a5eec482091cb6c50c65fb604e2599797f4674a97b5005f", kill_on_drop: false }` [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 5.31s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/diesel_postgre-fb4aef0db62297b3) [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 'Tried to setenv '"DATABASE_URL"' while process has multiple threads', library/std/src/sys/unix/os.rs:559:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55cce6a4016c - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55cce6a4016c - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55cce6a4016c - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55cce6a4016c - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55cce6a635bc - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55cce6a3bf55 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55cce6a41bc0 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55cce6a41bc0 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55cce6a41bc0 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55cce6a417a6 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55cce6a42274 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55cce6a41d50 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55cce6a40624 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55cce6a41cb9 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55cce6980871 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55cce6a38604 - std::sys::unix::os::setenv::h76103fb51bceafed [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/os.rs:559:9 [INFO] [stdout] 16: 0x55cce6a38604 - std::env::_set_var::h92fd991ae4bac337 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/env.rs:335:5 [INFO] [stdout] 17: 0x55cce69e380c - std::env::set_var::h635daae7c1319f81 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/env.rs:331:5 [INFO] [stdout] 18: 0x55cce69ed583 - dotenv::iter::Iter::load::h7ed04660679ecc6e [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dotenv-0.15.0/src/iter.rs:26:17 [INFO] [stdout] 19: 0x55cce698a699 - dotenv::from_filename::h586af703fa4b6e3a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/dotenv-0.15.0/src/lib.rs:125:5 [INFO] [stdout] 20: 0x55cce699bc6a - diesel_postgre::diesel_get_started::tests::config_env::h02c619da7cb9be47 [INFO] [stdout] at /opt/rustwide/workdir/src/diesel_get_started.rs:80:9 [INFO] [stdout] 21: 0x55cce699bcb9 - diesel_postgre::diesel_get_started::tests::should_establish_connection::h8fdff70e88c4b0c7 [INFO] [stdout] at /opt/rustwide/workdir/src/diesel_get_started.rs:85:9 [INFO] [stdout] 22: 0x55cce699bc9a - diesel_postgre::diesel_get_started::tests::should_establish_connection::{{closure}}::hb1f97782de4da87e [INFO] [stdout] at /opt/rustwide/workdir/src/diesel_get_started.rs:84:5 [INFO] [stdout] 23: 0x55cce698febe - core::ops::function::FnOnce::call_once::hea5fe7de83352784 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x55cce69d9733 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 25: 0x55cce69d9733 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 26: 0x55cce69d8347 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 27: 0x55cce69d8347 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 28: 0x55cce69d8347 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 29: 0x55cce69d8347 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 30: 0x55cce69d8347 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 31: 0x55cce69d8347 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 32: 0x55cce69d8347 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 33: 0x55cce69a55ee - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 34: 0x55cce69a55ee - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 35: 0x55cce69aa348 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 36: 0x55cce69aa348 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 37: 0x55cce69aa348 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 38: 0x55cce69aa348 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 39: 0x55cce69aa348 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 40: 0x55cce69aa348 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 41: 0x55cce69aa348 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 42: 0x55cce6a47383 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 43: 0x55cce6a47383 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 44: 0x55cce6a47383 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 45: 0x7f95ebbfb609 - start_thread [INFO] [stdout] 46: 0x7f95eb9cb293 - clone [INFO] [stdout] 47: 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.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--bin diesel_postgre' [INFO] running `Command { std: "docker" "inspect" "600189ce82f71eb35a5eec482091cb6c50c65fb604e2599797f4674a97b5005f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600189ce82f71eb35a5eec482091cb6c50c65fb604e2599797f4674a97b5005f", kill_on_drop: false }` [INFO] [stdout] 600189ce82f71eb35a5eec482091cb6c50c65fb604e2599797f4674a97b5005f