[INFO] cloning repository https://github.com/uzzol101/mystore
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uzzol101/mystore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzzol101%2Fmystore", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzzol101%2Fmystore'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5f6faf81673b0ef6f9bf989782fa4a446d6f119e
[INFO] testing uzzol101/mystore against beta-2022-07-10 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzzol101%2Fmystore" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/uzzol101/mystore on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/uzzol101/mystore
[INFO] finished tweaking git repo https://github.com/uzzol101/mystore
[INFO] tweaked toml for git repo https://github.com/uzzol101/mystore written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/uzzol101/mystore already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 102bd338ab898c3c85be63ec2145d0e1ef1731ebaacba61ff315258bb1c3e9f8
[INFO] running `Command { std: "docker" "start" "-a" "102bd338ab898c3c85be63ec2145d0e1ef1731ebaacba61ff315258bb1c3e9f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "102bd338ab898c3c85be63ec2145d0e1ef1731ebaacba61ff315258bb1c3e9f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "102bd338ab898c3c85be63ec2145d0e1ef1731ebaacba61ff315258bb1c3e9f8", kill_on_drop: false }`
[INFO] [stdout] 102bd338ab898c3c85be63ec2145d0e1ef1731ebaacba61ff315258bb1c3e9f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1aa2801524b7722e60537cf687ea552932a272dfc67e6f771e78474f1a1eb6d
[INFO] running `Command { std: "docker" "start" "-a" "c1aa2801524b7722e60537cf687ea552932a272dfc67e6f771e78474f1a1eb6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.67
[INFO] [stderr]    Compiling proc-macro2 v1.0.9
[INFO] [stderr]    Compiling syn v1.0.16
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling slab v0.4.2
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling fnv v1.0.6
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling smallvec v1.2.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling futures v0.1.29
[INFO] [stderr]    Compiling futures-core v0.3.4
[INFO] [stderr]    Compiling futures-sink v0.3.4
[INFO] [stderr]    Compiling arc-swap v0.4.4
[INFO] [stderr]    Compiling proc-macro-nested v0.1.3
[INFO] [stderr]    Compiling bytes v0.5.4
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling futures-io v0.3.4
[INFO] [stderr]    Compiling pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling futures-task v0.3.4
[INFO] [stderr]    Compiling copyless v0.1.4
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling pin-project-lite v0.1.4
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling regex-syntax v0.6.17
[INFO] [stderr]    Compiling rustc-demangle v0.1.16
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling linked-hash-map v0.5.2
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling dtoa v0.4.5
[INFO] [stderr]    Compiling language-tags v0.2.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling sha1 v0.6.0
[INFO] [stderr]    Compiling base64 v0.11.0
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling lock_api v0.3.3
[INFO] [stderr]    Compiling futures-channel v0.3.4
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling hashbrown v0.6.3
[INFO] [stderr]    Compiling unicode-normalization v0.1.12
[INFO] [stderr]    Compiling http v0.2.0
[INFO] [stderr]    Compiling bytestring v0.1.4
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling miniz_oxide v0.3.6
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling actix-service v0.4.2
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling backtrace-sys v0.1.34
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling brotli-sys v0.3.2
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling num_cpus v1.12.0
[INFO] [stderr]    Compiling signal-hook-registry v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.7.0
[INFO] [stderr]    Compiling socket2 v0.3.11
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling threadpool v1.7.1
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling resolv-conf v0.6.3
[INFO] [stderr]    Compiling parking_lot v0.10.0
[INFO] [stderr]    Compiling regex v1.3.5
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.3
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling flate2 v1.0.13
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling backtrace v0.3.45
[INFO] [stderr]    Compiling r2d2 v0.8.8
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling chrono v0.4.11
[INFO] [stderr]    Compiling tokio v0.2.13
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling env_logger v0.6.2
[INFO] [stderr]    Compiling actix-codec v0.1.2
[INFO] [stderr]    Compiling actix-utils v0.4.7
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio-signal v0.2.9
[INFO] [stderr]    Compiling actix-server-config v0.1.2
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling derive_more v0.15.0
[INFO] [stderr]    Compiling enum-as-inner v0.2.1
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling tokio-util v0.2.0
[INFO] [stderr]    Compiling actix-codec v0.2.0
[INFO] [stderr]    Compiling brotli2 v0.3.2
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling derive_more v0.99.3
[INFO] [stderr]    Compiling actix-macros v0.1.1
[INFO] [stderr]    Compiling enum-as-inner v0.3.2
[INFO] [stderr]    Compiling async-trait v0.1.24
[INFO] [stderr]    Compiling actix-web-codegen v0.2.1
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling actix-threadpool v0.1.2
[INFO] [stderr]    Compiling actix-rt v0.2.6
[INFO] [stderr]    Compiling actix-server v0.6.1
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling const-random-macro v0.1.8
[INFO] [stderr]    Compiling const-random v0.1.8
[INFO] [stderr]    Compiling ahash v0.2.18
[INFO] [stderr]    Compiling failure v0.1.7
[INFO] [stderr]    Compiling trust-dns-proto v0.7.4
[INFO] [stderr]    Compiling trust-dns-resolver v0.11.1
[INFO] [stderr]    Compiling actix-connect v0.2.5
[INFO] [stderr]    Compiling futures-util v0.3.4
[INFO] [stderr]    Compiling pin-project v0.4.8
[INFO] [stderr]    Compiling actix-threadpool v0.3.1
[INFO] [stderr]    Compiling diesel v1.4.3
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling serde_json v1.0.48
[INFO] [stderr]    Compiling actix-router v0.2.4
[INFO] [stderr]    Compiling actix-http v0.2.11
[INFO] [stderr]    Compiling futures-executor v0.3.4
[INFO] [stderr]    Compiling actix-service v1.0.5
[INFO] [stderr]    Compiling h2 v0.2.2
[INFO] [stderr]    Compiling futures v0.3.4
[INFO] [stderr]    Compiling actix-rt v1.0.0
[INFO] [stderr]    Compiling trust-dns-proto v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-utils v1.0.6
[INFO] [stderr]    Compiling actix-server v1.0.2
[INFO] [stderr]    Compiling actix-tls v1.0.0
[INFO] [stderr]    Compiling actix-testing v1.0.0
[INFO] [stderr]    Compiling trust-dns-resolver v0.18.0-alpha.2
[INFO] [stderr]    Compiling actix-connect v1.0.2
[INFO] [stderr]    Compiling awc v0.2.8
[INFO] [stderr]    Compiling actix-http v1.0.1
[INFO] [stderr]    Compiling actix-http-test v0.2.5
[INFO] [stderr]    Compiling awc v1.0.1
[INFO] [stderr]    Compiling actix-web v2.0.0
[INFO] [stderr]    Compiling actix-cors v0.2.0
[INFO] [stderr]    Compiling mystore v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `get`, `web`
[INFO] [stdout]  --> src/lib.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{web, get, HttpResponse, HttpServer, App};
[INFO] [stdout]   |                 ^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/lib.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/product.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/routes/product.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/model/product.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/model/product.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool_handler`
[INFO] [stdout]  --> src/model/product.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helper::db::{pool_handler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_pool` is never used
[INFO] [stdout]   --> src/db.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn init_pool(db_url: &str) -> Result<PgPool, PoolError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/db.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn establish_connection() -> PgPool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get`, `web`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::{get, http, web, App, HttpResponse, HttpServer};
[INFO] [stdout]   |                 ^^^        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/model/product.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/model/product.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool_handler`
[INFO] [stdout]  --> src/model/product.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helper::db::{pool_handler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/product.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/routes/product.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/main.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn index() -> HttpResponse {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 3m 46s
[INFO] running `Command { std: "docker" "inspect" "c1aa2801524b7722e60537cf687ea552932a272dfc67e6f771e78474f1a1eb6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1aa2801524b7722e60537cf687ea552932a272dfc67e6f771e78474f1a1eb6d", kill_on_drop: false }`
[INFO] [stdout] c1aa2801524b7722e60537cf687ea552932a272dfc67e6f771e78474f1a1eb6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aebb22b413bc2ca8fb100feee95e80add8fc918c7ef67eb6cadc968fc1469bdd
[INFO] running `Command { std: "docker" "start" "-a" "aebb22b413bc2ca8fb100feee95e80add8fc918c7ef67eb6cadc968fc1469bdd", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `get`, `web`
[INFO] [stdout]  --> src/lib.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{web, get, HttpResponse, HttpServer, App};
[INFO] [stdout]   |                 ^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/lib.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/product.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/routes/product.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/model/product.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/model/product.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool_handler`
[INFO] [stdout]  --> src/model/product.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helper::db::{pool_handler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_pool` is never used
[INFO] [stdout]   --> src/db.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn init_pool(db_url: &str) -> Result<PgPool, PoolError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling mystore v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/db.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn establish_connection() -> PgPool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get`, `web`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::{get, http, web, App, HttpResponse, HttpServer};
[INFO] [stdout]   |                 ^^^        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/model/product.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/model/product.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool_handler`
[INFO] [stdout]  --> src/model/product.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helper::db::{pool_handler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/product.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/routes/product.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/main.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn index() -> HttpResponse {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Person`
[INFO] [stdout]  --> tests/product_test.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mystore::model::product::{Person, Product, NewProduct};
[INFO] [stdout]   |                               ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `test`
[INFO] [stdout]  --> tests/product_test.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mystore::routes::product::{init_routes, test};
[INFO] [stdout]   |                                             ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> tests/product_test.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]   --> tests/product_test.rs:13:31
[INFO] [stdout]    |
[INFO] [stdout] 13 |         use actix_web::{test, web, App};
[INFO] [stdout]    |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> tests/common/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `PgPooledConnection` is never used
[INFO] [stdout]  --> tests/common/db.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub type PgPooledConnection = PooledConnection<ConnectionManager<PgConnection>>;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `get`, `web`
[INFO] [stdout]  --> src/lib.rs:4:17
[INFO] [stdout]   |
[INFO] [stdout] 4 | use actix_web::{web, get, HttpResponse, HttpServer, App};
[INFO] [stdout]   |                 ^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/lib.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/product.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/routes/product.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/model/product.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/model/product.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool_handler`
[INFO] [stdout]  --> src/model/product.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helper::db::{pool_handler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get`, `web`
[INFO] [stdout]  --> src/main.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use actix_web::{get, http, web, App, HttpResponse, HttpServer};
[INFO] [stdout]   |                 ^^^        ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `establish_connection`
[INFO] [stdout]  --> src/model/product.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `web`
[INFO] [stdout]  --> src/model/product.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::{web};
[INFO] [stdout]   |                 ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool_handler`
[INFO] [stdout]  --> src/model/product.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::helper::db::{pool_handler};
[INFO] [stdout]   |                         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `delete`
[INFO] [stdout]  --> src/routes/product.rs:1:37
[INFO] [stdout]   |
[INFO] [stdout] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stdout]   |                                     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde_json::json`
[INFO] [stdout]  --> src/routes/product.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::json;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `diesel::prelude`
[INFO] [stdout]  --> src/db.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use diesel::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_pool` is never used
[INFO] [stdout]   --> src/db.rs:11:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn init_pool(db_url: &str) -> Result<PgPool, PoolError> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `establish_connection` is never used
[INFO] [stdout]   --> src/db.rs:17:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub fn establish_connection() -> PgPool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `index` is never used
[INFO] [stdout]   --> src/main.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 | async fn index() -> HttpResponse {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 7.98s
[INFO] running `Command { std: "docker" "inspect" "aebb22b413bc2ca8fb100feee95e80add8fc918c7ef67eb6cadc968fc1469bdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aebb22b413bc2ca8fb100feee95e80add8fc918c7ef67eb6cadc968fc1469bdd", kill_on_drop: false }`
[INFO] [stdout] aebb22b413bc2ca8fb100feee95e80add8fc918c7ef67eb6cadc968fc1469bdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] fed800a9d731e4e672a1869360e49267d216f173ee9ba2d182d4e7d60e2db2cd
[INFO] running `Command { std: "docker" "start" "-a" "fed800a9d731e4e672a1869360e49267d216f173ee9ba2d182d4e7d60e2db2cd", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `diesel::prelude::*`
[INFO] [stderr]  --> src/lib.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `get`, `web`
[INFO] [stderr]  --> src/lib.rs:4:17
[INFO] [stderr]   |
[INFO] [stderr] 4 | use actix_web::{web, get, HttpResponse, HttpServer, App};
[INFO] [stderr]   |                 ^^^  ^^^  ^^^^^^^^^^^^  ^^^^^^^^^^  ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `establish_connection`
[INFO] [stderr]  --> src/lib.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::db::{establish_connection};
[INFO] [stderr]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `delete`
[INFO] [stderr]  --> src/routes/product.rs:1:37
[INFO] [stderr]   |
[INFO] [stderr] 1 | use actix_web::{web, get, post,put, delete, HttpResponse};
[INFO] [stderr]   |                                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `serde_json::json`
[INFO] [stderr]  --> src/routes/product.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use serde_json::json;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `establish_connection`
[INFO] [stderr]  --> src/model/product.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use crate::db::{establish_connection, PgPooledConnection};
[INFO] [stderr]   |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `web`
[INFO] [stderr]  --> src/model/product.rs:6:17
[INFO] [stderr]   |
[INFO] [stderr] 6 | use actix_web::{web};
[INFO] [stderr]   |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `pool_handler`
[INFO] [stderr]  --> src/model/product.rs:7:25
[INFO] [stderr]   |
[INFO] [stderr] 7 | use crate::helper::db::{pool_handler};
[INFO] [stderr]   |                         ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::prelude`
[INFO] [stderr]  --> src/db.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `init_pool` is never used
[INFO] [stderr]   --> src/db.rs:11:8
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub fn init_pool(db_url: &str) -> Result<PgPool, PoolError> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `establish_connection` is never used
[INFO] [stderr]   --> src/db.rs:17:8
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub fn establish_connection() -> PgPool {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `mystore` (lib) generated 11 warnings
[INFO] [stderr] warning: `mystore` (lib test) generated 11 warnings (11 duplicates)
[INFO] [stderr] warning: unused import: `Person`
[INFO] [stderr]  --> tests/product_test.rs:4:31
[INFO] [stderr]   |
[INFO] [stderr] 4 | use mystore::model::product::{Person, Product, NewProduct};
[INFO] [stderr]   |                               ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `test`
[INFO] [stderr]  --> tests/product_test.rs:5:45
[INFO] [stderr]   |
[INFO] [stderr] 5 | use mystore::routes::product::{init_routes, test};
[INFO] [stderr]   |                                             ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stderr]  --> tests/product_test.rs:8:13
[INFO] [stderr]   |
[INFO] [stderr] 8 | use serde::{Deserialize, Serialize};
[INFO] [stderr]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `web`
[INFO] [stderr]   --> tests/product_test.rs:13:31
[INFO] [stderr]    |
[INFO] [stderr] 13 |         use actix_web::{test, web, App};
[INFO] [stderr]    |                               ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::prelude`
[INFO] [stderr]  --> tests/common/db.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `PgPooledConnection` is never used
[INFO] [stderr]  --> tests/common/db.rs:8:1
[INFO] [stderr]   |
[INFO] [stderr] 8 | pub type PgPooledConnection = PooledConnection<ConnectionManager<PgConnection>>;
[INFO] [stderr]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `get`, `web`
[INFO] [stderr]  --> src/main.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use actix_web::{get, http, web, App, HttpResponse, HttpServer};
[INFO] [stderr]   |                 ^^^        ^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `diesel::prelude::*`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use diesel::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `index` is never used
[INFO] [stderr]   --> src/main.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 | async fn index() -> HttpResponse {
[INFO] [stderr]    |          ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `mystore` (test "product_test") generated 6 warnings
[INFO] [stderr] warning: `mystore` (bin "mystore") generated 9 warnings (6 duplicates)
[INFO] [stderr] warning: `mystore` (bin "mystore" test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mystore-15e3f663c1945a53)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mystore-bc587af7adefe59e)
[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; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/product_test.rs (/opt/rustwide/target/debug/deps/product_test-9621dff96f7848b7)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::get_product_list ... FAILED
[INFO] [stdout] test tests::create_product ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::get_product_list stdout ----
[INFO] [stdout] thread 'tests::get_product_list' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Some("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 3001?\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 3001?\n"))', tests/common/db.rs:20:24
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55e75a4c400d - std::backtrace_rs::backtrace::libunwind::trace::ha6f17a0190089cf8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55e75a4c400d - std::backtrace_rs::backtrace::trace_unsynchronized::h205a094224eb7f22
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55e75a4c400d - std::sys_common::backtrace::_print_fmt::hbb8cd76c874438ae
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x55e75a4c400d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5140749f24499626
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x55e75a4e74ac - core::fmt::write::hb44ee394505bd6f8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/fmt/mod.rs:1197:17
[INFO] [stdout]    5:     0x55e75a4bf531 - std::io::Write::write_fmt::hb4e0ebb2e17fda58
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/io/mod.rs:1672:15
[INFO] [stdout]    6:     0x55e75a4c5ab5 - std::sys_common::backtrace::_print::hf34a8184c9680f98
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x55e75a4c5ab5 - std::sys_common::backtrace::print::h6e6ffb9f69520522
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x55e75a4c5ab5 - std::panicking::default_hook::{{closure}}::h4a6ce615e72f69df
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x55e75a4c5759 - std::panicking::default_hook::hcd4065ac7e0beae0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x55e75a4c6046 - std::panicking::rust_panic_with_hook::h847d34d7b69cdb65
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x55e75a4c5f37 - std::panicking::begin_panic_handler::{{closure}}::hb575030271dff76d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x55e75a4c44c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb71757678eb2a6c2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x55e75a4c5c69 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x55e75a028a63 - core::panicking::panic_fmt::hf7d085e9fd9dc429
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x55e75a028b53 - core::result::unwrap_failed::h861592d95cb72a77
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1805:5
[INFO] [stdout]   16:     0x55e75a047e69 - core::result::Result<T,E>::unwrap::h967e8d55a1ef2118
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1098:23
[INFO] [stdout]   17:     0x55e75a046d1f - product_test::common::db::establish_connection::h6bd631f62f60a65d
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/db.rs:20:5
[INFO] [stdout]   18:     0x55e75a03af5d - product_test::tests::get_product_list::{{closure}}::h8d2e9b74fd48b0db
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/product_test.rs:40:39
[INFO] [stdout]   19:     0x55e75a044beb - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::hc131b45871b7e142
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/future/mod.rs:91:19
[INFO] [stdout]   20:     0x55e75a02f710 - <tokio::task::local::LocalFuture<F> as core::future::future::Future>::poll::{{closure}}::h63d53ea6e41f476d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:403:42
[INFO] [stdout]   21:     0x55e75a02f18f - tokio::task::local::Scheduler::with::{{closure}}::h3d02c22077932195
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:478:13
[INFO] [stdout]   22:     0x55e75a045844 - std::thread::local::LocalKey<T>::try_with::h56c89214118cf7c3
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/local.rs:445:16
[INFO] [stdout]   23:     0x55e75a045536 - std::thread::local::LocalKey<T>::with::h6d8f4c7eb0a5cb84
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/local.rs:421:9
[INFO] [stdout]   24:     0x55e75a02f0ae - tokio::task::local::Scheduler::with::hb9bf939aab52ffac
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:474:9
[INFO] [stdout]   25:     0x55e75a02f5b3 - <tokio::task::local::LocalFuture<F> as core::future::future::Future>::poll::h1a1e04c87c800cf9
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:402:9
[INFO] [stdout]   26:     0x55e75a02ec26 - tokio::task::local::LocalSet::run_until::{{closure}}::h00be7ad9dd189e5b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:358:15
[INFO] [stdout]   27:     0x55e75a04487b - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h64298e439e95b677
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/future/mod.rs:91:19
[INFO] [stdout]   28:     0x55e75a042722 - tokio::runtime::basic_scheduler::BasicScheduler<P>::block_on::h1085c6832ec6ca0a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/basic_scheduler.rs:138:31
[INFO] [stdout]   29:     0x55e75a0463c2 - tokio::runtime::Runtime::block_on::{{closure}}::h8368e4bd95855609
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/mod.rs:413:34
[INFO] [stdout]   30:     0x55e75a03774b - tokio::runtime::context::enter::ha2d736a8de7fe9ef
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/context.rs:72:5
[INFO] [stdout]   31:     0x55e75a04848a - tokio::runtime::handle::Handle::enter::hdafd6fa142b9e7c6
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/handle.rs:34:9
[INFO] [stdout]   32:     0x55e75a0461fa - tokio::runtime::Runtime::block_on::h3715b5b126c94195
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/mod.rs:410:9
[INFO] [stdout]   33:     0x55e75a02e886 - tokio::task::local::LocalSet::block_on::h8a44fc258e8a339a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:321:9
[INFO] [stdout]   34:     0x55e75a02fc43 - actix_rt::runtime::Runtime::block_on::h77c27f23e4434a4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.0.0/src/runtime.rs:89:19
[INFO] [stdout]   35:     0x55e75a02f926 - actix_rt::builder::SystemRunner::block_on::ha7702fbbb5c3c89c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.0.0/src/builder.rs:187:19
[INFO] [stdout]   36:     0x55e75a03adca - product_test::tests::get_product_list::h813909e3c0ac2198
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/product_test.rs:36:9
[INFO] [stdout]   37:     0x55e75a03ad4a - product_test::tests::get_product_list::{{closure}}::hbacfdfe80c8b2444
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/product_test.rs:36:9
[INFO] [stdout]   38:     0x55e75a03515e - core::ops::function::FnOnce::call_once::h457812fe5987a778
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   39:     0x55e75a07e553 - core::ops::function::FnOnce::call_once::he7ad2b4dde46c720
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   40:     0x55e75a07e553 - test::__rust_begin_short_backtrace::h857d05f9709ec1f3
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:572:5
[INFO] [stdout]   41:     0x55e75a07d34a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc3a5608ef45a8da8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   42:     0x55e75a07d34a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hccaecb576373f779
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   43:     0x55e75a07d34a - std::panicking::try::do_call::h8eab667553f676ef
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   44:     0x55e75a07d34a - std::panicking::try::h13522e8b44ab5e4e
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   45:     0x55e75a07d34a - std::panic::catch_unwind::h1f79c673bef37a0c
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   46:     0x55e75a07d34a - test::run_test_in_process::hfecf104ace99bc2f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:595:18
[INFO] [stdout]   47:     0x55e75a07d34a - test::run_test::run_test_inner::{{closure}}::h21828c2a3f5cb92f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:489:39
[INFO] [stdout]   48:     0x55e75a04982d - test::run_test::run_test_inner::{{closure}}::hecfe67302276722b
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:516:37
[INFO] [stdout]   49:     0x55e75a04982d - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2c0c8e2f25fd64d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   50:     0x55e75a04f1a8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc523fe96d9d2b387
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:505:17
[INFO] [stdout]   51:     0x55e75a04f1a8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb145ac919bb97016
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   52:     0x55e75a04f1a8 - std::panicking::try::do_call::ha985e270f2d947ea
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   53:     0x55e75a04f1a8 - std::panicking::try::h030316f2f0d133d0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   54:     0x55e75a04f1a8 - std::panic::catch_unwind::h231053aff97815f2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   55:     0x55e75a04f1a8 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc596aa71cda6c5a6
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:504:30
[INFO] [stdout]   56:     0x55e75a04f1a8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb0ff2925e9add919
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   57:     0x55e75a4ca9c3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hb11cb820f158651d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   58:     0x55e75a4ca9c3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h357cd5c6b7203d32
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   59:     0x55e75a4ca9c3 - std::sys::unix::thread::Thread::new::thread_start::hcf74ef6fcb7b805a
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   60:     0x7fa58f3a5609 - start_thread
[INFO] [stdout]   61:     0x7fa58f179133 - clone
[INFO] [stdout]   62:                0x0 - <unknown>
[INFO] [stdout] Panic in Arbiter thread.
[INFO] [stdout] 
[INFO] [stdout] ---- tests::create_product stdout ----
[INFO] [stdout] thread 'tests::create_product' panicked at 'called `Result::unwrap()` on an `Err` value: Error(Some("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 3001?\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 3001?\n"))', tests/common/db.rs:20:24
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55e75a4c400d - std::backtrace_rs::backtrace::libunwind::trace::ha6f17a0190089cf8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
[INFO] [stdout]    1:     0x55e75a4c400d - std::backtrace_rs::backtrace::trace_unsynchronized::h205a094224eb7f22
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout]    2:     0x55e75a4c400d - std::sys_common::backtrace::_print_fmt::hbb8cd76c874438ae
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:66:5
[INFO] [stdout]    3:     0x55e75a4c400d - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h5140749f24499626
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:45:22
[INFO] [stdout]    4:     0x55e75a4e74ac - core::fmt::write::hb44ee394505bd6f8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/fmt/mod.rs:1197:17
[INFO] [stdout]    5:     0x55e75a4bf531 - std::io::Write::write_fmt::hb4e0ebb2e17fda58
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/io/mod.rs:1672:15
[INFO] [stdout]    6:     0x55e75a4c5ab5 - std::sys_common::backtrace::_print::hf34a8184c9680f98
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:48:5
[INFO] [stdout]    7:     0x55e75a4c5ab5 - std::sys_common::backtrace::print::h6e6ffb9f69520522
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:35:9
[INFO] [stdout]    8:     0x55e75a4c5ab5 - std::panicking::default_hook::{{closure}}::h4a6ce615e72f69df
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:295:22
[INFO] [stdout]    9:     0x55e75a4c5759 - std::panicking::default_hook::hcd4065ac7e0beae0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:311:9
[INFO] [stdout]   10:     0x55e75a4c6046 - std::panicking::rust_panic_with_hook::h847d34d7b69cdb65
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:698:17
[INFO] [stdout]   11:     0x55e75a4c5f37 - std::panicking::begin_panic_handler::{{closure}}::hb575030271dff76d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:588:13
[INFO] [stdout]   12:     0x55e75a4c44c4 - std::sys_common::backtrace::__rust_end_short_backtrace::hb71757678eb2a6c2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:138:18
[INFO] [stdout]   13:     0x55e75a4c5c69 - rust_begin_unwind
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:584:5
[INFO] [stdout]   14:     0x55e75a028a63 - core::panicking::panic_fmt::hf7d085e9fd9dc429
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panicking.rs:142:14
[INFO] [stdout]   15:     0x55e75a028b53 - core::result::unwrap_failed::h861592d95cb72a77
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1805:5
[INFO] [stdout]   16:     0x55e75a047e69 - core::result::Result<T,E>::unwrap::h967e8d55a1ef2118
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/result.rs:1098:23
[INFO] [stdout]   17:     0x55e75a046d1f - product_test::common::db::establish_connection::h6bd631f62f60a65d
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/common/db.rs:20:5
[INFO] [stdout]   18:     0x55e75a03a6b5 - product_test::tests::create_product::{{closure}}::he37ae3344ae54925
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/product_test.rs:19:39
[INFO] [stdout]   19:     0x55e75a044b5b - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::hafb0355f023a2313
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/future/mod.rs:91:19
[INFO] [stdout]   20:     0x55e75a02f7f0 - <tokio::task::local::LocalFuture<F> as core::future::future::Future>::poll::{{closure}}::hd07a73efbd8cda71
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:403:42
[INFO] [stdout]   21:     0x55e75a02f2df - tokio::task::local::Scheduler::with::{{closure}}::hb84926e129e57531
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:478:13
[INFO] [stdout]   22:     0x55e75a045984 - std::thread::local::LocalKey<T>::try_with::h73440ebe8730df16
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/local.rs:445:16
[INFO] [stdout]   23:     0x55e75a0456d6 - std::thread::local::LocalKey<T>::with::hb02d548e70c02de6
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/local.rs:421:9
[INFO] [stdout]   24:     0x55e75a02f05e - tokio::task::local::Scheduler::with::h6e8e60520800579d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:474:9
[INFO] [stdout]   25:     0x55e75a02f6b3 - <tokio::task::local::LocalFuture<F> as core::future::future::Future>::poll::h25878bc7039f458d
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:402:9
[INFO] [stdout]   26:     0x55e75a02ef56 - tokio::task::local::LocalSet::run_until::{{closure}}::h19a8594a0bbc0314
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:358:15
[INFO] [stdout]   27:     0x55e75a0447eb - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h504a4bfd9df064c2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/future/mod.rs:91:19
[INFO] [stdout]   28:     0x55e75a042a22 - tokio::runtime::basic_scheduler::BasicScheduler<P>::block_on::h1bc19ae9c167a5fb
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/basic_scheduler.rs:138:31
[INFO] [stdout]   29:     0x55e75a046312 - tokio::runtime::Runtime::block_on::{{closure}}::h660ba68e49a7812c
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/mod.rs:413:34
[INFO] [stdout]   30:     0x55e75a03763b - tokio::runtime::context::enter::h14a39ebe04abc610
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/context.rs:72:5
[INFO] [stdout]   31:     0x55e75a0483ca - tokio::runtime::handle::Handle::enter::h03347ee9a4334a8b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/handle.rs:34:9
[INFO] [stdout]   32:     0x55e75a04625a - tokio::runtime::Runtime::block_on::h6d78d47910258190
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/runtime/mod.rs:410:9
[INFO] [stdout]   33:     0x55e75a02e8f6 - tokio::task::local::LocalSet::block_on::he1a9b6ef6d0c164b
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:321:9
[INFO] [stdout]   34:     0x55e75a02fbf3 - actix_rt::runtime::Runtime::block_on::h45e26bd5b4e38fac
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.0.0/src/runtime.rs:89:19
[INFO] [stdout]   35:     0x55e75a02fa16 - actix_rt::builder::SystemRunner::block_on::he2c4d34dd8ff8b4a
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/actix-rt-1.0.0/src/builder.rs:187:19
[INFO] [stdout]   36:     0x55e75a03a51a - product_test::tests::create_product::hb2f482bd368374b3
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/product_test.rs:15:9
[INFO] [stdout]   37:     0x55e75a03a49a - product_test::tests::create_product::{{closure}}::h0747636d091c5b44
[INFO] [stdout]                                at /opt/rustwide/workdir/tests/product_test.rs:15:9
[INFO] [stdout]   38:     0x55e75a0350be - core::ops::function::FnOnce::call_once::h2b20dfb9e9151d66
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   39:     0x55e75a07e553 - core::ops::function::FnOnce::call_once::he7ad2b4dde46c720
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   40:     0x55e75a07e553 - test::__rust_begin_short_backtrace::h857d05f9709ec1f3
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:572:5
[INFO] [stdout]   41:     0x55e75a07d34a - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hc3a5608ef45a8da8
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   42:     0x55e75a07d34a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hccaecb576373f779
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   43:     0x55e75a07d34a - std::panicking::try::do_call::h8eab667553f676ef
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   44:     0x55e75a07d34a - std::panicking::try::h13522e8b44ab5e4e
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   45:     0x55e75a07d34a - std::panic::catch_unwind::h1f79c673bef37a0c
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   46:     0x55e75a07d34a - test::run_test_in_process::hfecf104ace99bc2f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:595:18
[INFO] [stdout]   47:     0x55e75a07d34a - test::run_test::run_test_inner::{{closure}}::h21828c2a3f5cb92f
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:489:39
[INFO] [stdout]   48:     0x55e75a04982d - test::run_test::run_test_inner::{{closure}}::hecfe67302276722b
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/test/src/lib.rs:516:37
[INFO] [stdout]   49:     0x55e75a04982d - std::sys_common::backtrace::__rust_begin_short_backtrace::ha2c0c8e2f25fd64d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys_common/backtrace.rs:122:18
[INFO] [stdout]   50:     0x55e75a04f1a8 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc523fe96d9d2b387
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:505:17
[INFO] [stdout]   51:     0x55e75a04f1a8 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hb145ac919bb97016
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/panic/unwind_safe.rs:271:9
[INFO] [stdout]   52:     0x55e75a04f1a8 - std::panicking::try::do_call::ha985e270f2d947ea
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:492:40
[INFO] [stdout]   53:     0x55e75a04f1a8 - std::panicking::try::h030316f2f0d133d0
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panicking.rs:456:19
[INFO] [stdout]   54:     0x55e75a04f1a8 - std::panic::catch_unwind::h231053aff97815f2
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/panic.rs:137:14
[INFO] [stdout]   55:     0x55e75a04f1a8 - std::thread::Builder::spawn_unchecked_::{{closure}}::hc596aa71cda6c5a6
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/thread/mod.rs:504:30
[INFO] [stdout]   56:     0x55e75a04f1a8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb0ff2925e9add919
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/core/src/ops/function.rs:248:5
[INFO] [stdout]   57:     0x55e75a4ca9c3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hb11cb820f158651d
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   58:     0x55e75a4ca9c3 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h357cd5c6b7203d32
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/alloc/src/boxed.rs:1951:9
[INFO] [stdout]   59:     0x55e75a4ca9c3 - std::sys::unix::thread::Thread::new::thread_start::hcf74ef6fcb7b805a
[INFO] [stdout]                                at /rustc/93ef0cd7fd86d3d05cee131070a8a2cb45f3efab/library/std/src/sys/unix/thread.rs:108:17
[INFO] [stdout]   60:     0x7fa58f3a5609 - start_thread
[INFO] [stdout]   61:     0x7fa58f179133 - clone
[INFO] [stdout]   62:                0x0 - <unknown>
[INFO] [stdout] Panic in Arbiter thread.
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::create_product
[INFO] [stdout]     tests::get_product_list
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.03s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--test product_test'
[INFO] running `Command { std: "docker" "inspect" "fed800a9d731e4e672a1869360e49267d216f173ee9ba2d182d4e7d60e2db2cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fed800a9d731e4e672a1869360e49267d216f173ee9ba2d182d4e7d60e2db2cd", kill_on_drop: false }`
[INFO] [stdout] fed800a9d731e4e672a1869360e49267d216f173ee9ba2d182d4e7d60e2db2cd
