[INFO] updating cached repository https://github.com/weargoggles/heffalump [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 41b98bf064ed1e703448d356bcde61e6389655cd [INFO] testing weargoggles/heffalump against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fweargoggles%2Fheffalump" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/weargoggles/heffalump on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/weargoggles/heffalump [INFO] finished tweaking git repo https://github.com/weargoggles/heffalump [INFO] tweaked toml for git repo https://github.com/weargoggles/heffalump written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/weargoggles/heffalump already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 74db56edba8f2b70f9961ac0e3f99a2d50dd81a988f94e87e6587708722357ab [INFO] running `"docker" "start" "-a" "74db56edba8f2b70f9961ac0e3f99a2d50dd81a988f94e87e6587708722357ab"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling cc v1.0.45 [INFO] [stderr] Compiling smallvec v0.6.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling ryu v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.16 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling rent_to_own v0.1.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling tokio-executor v0.1.8 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling tokio-timer v0.2.11 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling openssl-sys v0.9.51 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling signal-hook v0.1.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling postgres-protocol v0.4.1 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling actix-utils v0.4.6 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling activitystreams-derive v0.1.1 [INFO] [stderr] Compiling darling_core v0.8.6 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling tokio-tls v0.2.1 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling actix-web-codegen v0.1.2 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling darling_macro v0.8.6 [INFO] [stderr] Compiling darling v0.8.6 [INFO] [stderr] Compiling derive_state_machine_future v0.2.0 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.5 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling state_machine_future v0.2.0 [INFO] [stderr] Compiling tokio-postgres v0.4.0-rc.3 [INFO] [stderr] Compiling postgres-native-tls v0.2.0-rc.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling actix-http v0.2.10 [INFO] [stderr] Compiling activitystreams-traits v0.1.0 [INFO] [stderr] Compiling activitystreams-types v0.2.3 [INFO] [stderr] Compiling awc v0.2.7 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling actix-web v1.0.8 [INFO] [stderr] Compiling activitypub v0.1.6 [INFO] [stderr] Compiling heffalump v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `NoTls`, `Statement`, `connect` [INFO] [stderr] --> src/db_pg.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_postgres::{connect, Client, NoTls, Statement}; [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Database` [INFO] [stderr] --> src/main.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::db_pg::{Database}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude` [INFO] [stderr] --> src/db_pg.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database_url` [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let database_url = env::var("DATABASE_URL") [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `server` [INFO] [stderr] --> src/main.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let server = HttpServer::new(|| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/db_pg.rs:61:45 [INFO] [stderr] | [INFO] [stderr] 61 | .and_then(|(cl, conn), act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/db_pg.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | state: State [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Connected` [INFO] [stderr] --> src/db_pg.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Connected(Client), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotConnected` [INFO] [stderr] --> src/db_pg.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | NotConnected, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `connect` [INFO] [stderr] --> src/db_pg.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn connect(config: &str) -> Result, DBError> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 41s [INFO] running `"docker" "inspect" "74db56edba8f2b70f9961ac0e3f99a2d50dd81a988f94e87e6587708722357ab"` [INFO] running `"docker" "rm" "-f" "74db56edba8f2b70f9961ac0e3f99a2d50dd81a988f94e87e6587708722357ab"` [INFO] [stdout] 74db56edba8f2b70f9961ac0e3f99a2d50dd81a988f94e87e6587708722357ab [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3c6070068e20955bc16680afbc855622089aab665eb864024518fffec2d0f44a [INFO] running `"docker" "start" "-a" "3c6070068e20955bc16680afbc855622089aab665eb864024518fffec2d0f44a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling heffalump v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `NoTls`, `Statement`, `connect` [INFO] [stderr] --> src/db_pg.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_postgres::{connect, Client, NoTls, Statement}; [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Database` [INFO] [stderr] --> src/main.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::db_pg::{Database}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude` [INFO] [stderr] --> src/db_pg.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database_url` [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let database_url = env::var("DATABASE_URL") [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `server` [INFO] [stderr] --> src/main.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let server = HttpServer::new(|| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/db_pg.rs:61:45 [INFO] [stderr] | [INFO] [stderr] 61 | .and_then(|(cl, conn), act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/db_pg.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | state: State [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Connected` [INFO] [stderr] --> src/db_pg.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Connected(Client), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotConnected` [INFO] [stderr] --> src/db_pg.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | NotConnected, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `connect` [INFO] [stderr] --> src/db_pg.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn connect(config: &str) -> Result, DBError> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.25s [INFO] running `"docker" "inspect" "3c6070068e20955bc16680afbc855622089aab665eb864024518fffec2d0f44a"` [INFO] running `"docker" "rm" "-f" "3c6070068e20955bc16680afbc855622089aab665eb864024518fffec2d0f44a"` [INFO] [stdout] 3c6070068e20955bc16680afbc855622089aab665eb864024518fffec2d0f44a [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 85c0756aa0dedbe4c2c1ebf879f620523ada132a050ae193e50ef5ae7d83eb2f [INFO] running `"docker" "start" "-a" "85c0756aa0dedbe4c2c1ebf879f620523ada132a050ae193e50ef5ae7d83eb2f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused imports: `NoTls`, `Statement`, `connect` [INFO] [stderr] --> src/db_pg.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use tokio_postgres::{connect, Client, NoTls, Statement}; [INFO] [stderr] | ^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Database` [INFO] [stderr] --> src/main.rs:17:20 [INFO] [stderr] | [INFO] [stderr] 17 | use crate::db_pg::{Database}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude` [INFO] [stderr] --> src/db_pg.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `database_url` [INFO] [stderr] --> src/main.rs:70:13 [INFO] [stderr] | [INFO] [stderr] 70 | let database_url = env::var("DATABASE_URL") [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_database_url` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `server` [INFO] [stderr] --> src/main.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | let server = HttpServer::new(|| { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_server` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/db_pg.rs:61:45 [INFO] [stderr] | [INFO] [stderr] 61 | .and_then(|(cl, conn), act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/db_pg.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | state: State [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Connected` [INFO] [stderr] --> src/db_pg.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | Connected(Client), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `NotConnected` [INFO] [stderr] --> src/db_pg.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | NotConnected, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `connect` [INFO] [stderr] --> src/db_pg.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn connect(config: &str) -> Result, DBError> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/heffalump-6bdc3f43fadfda00 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "85c0756aa0dedbe4c2c1ebf879f620523ada132a050ae193e50ef5ae7d83eb2f"` [INFO] running `"docker" "rm" "-f" "85c0756aa0dedbe4c2c1ebf879f620523ada132a050ae193e50ef5ae7d83eb2f"` [INFO] [stdout] 85c0756aa0dedbe4c2c1ebf879f620523ada132a050ae193e50ef5ae7d83eb2f