[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 master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [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 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fa6a609dc6dd2f13670d30d740efb0e9c9d0f403b34ebe8a6d8632c215ba316 [INFO] running `Command { std: "docker" "start" "-a" "4fa6a609dc6dd2f13670d30d740efb0e9c9d0f403b34ebe8a6d8632c215ba316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fa6a609dc6dd2f13670d30d740efb0e9c9d0f403b34ebe8a6d8632c215ba316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fa6a609dc6dd2f13670d30d740efb0e9c9d0f403b34ebe8a6d8632c215ba316", kill_on_drop: false }` [INFO] [stdout] 4fa6a609dc6dd2f13670d30d740efb0e9c9d0f403b34ebe8a6d8632c215ba316 [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f821605e0c9373a630ef2f21babcc9ff558930010e02a2f5f774e8329c80f464 [INFO] running `Command { std: "docker" "start" "-a" "f821605e0c9373a630ef2f21babcc9ff558930010e02a2f5f774e8329c80f464", 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 autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling smallvec v1.2.0 [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 bytes v0.5.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling either v1.5.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 ryu v1.0.3 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling bytestring v0.1.4 [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 parking_lot_core v0.6.2 [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 bytes v0.4.12 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling quote v1.0.3 [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 rand v0.6.5 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling backtrace v0.3.45 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [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 regex v1.3.5 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling synstructure v0.12.3 [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 proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling derive_more v0.99.3 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [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 failure v0.1.7 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [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 diesel v1.4.3 [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 serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling awc v0.2.8 [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 is never used: `init_pool` [INFO] [stdout] --> src/db.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_pool(db_url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `establish_connection` [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 is never used: `index` [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 2m 49s [INFO] running `Command { std: "docker" "inspect" "f821605e0c9373a630ef2f21babcc9ff558930010e02a2f5f774e8329c80f464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f821605e0c9373a630ef2f21babcc9ff558930010e02a2f5f774e8329c80f464", kill_on_drop: false }` [INFO] [stdout] f821605e0c9373a630ef2f21babcc9ff558930010e02a2f5f774e8329c80f464 [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0df9d7a78b47b7ff06b5b8defd8801c4cdd762ec048bdbec7613f42ccb713c0d [INFO] running `Command { std: "docker" "start" "-a" "0df9d7a78b47b7ff06b5b8defd8801c4cdd762ec048bdbec7613f42ccb713c0d", kill_on_drop: false }` [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 is never used: `init_pool` [INFO] [stdout] --> src/db.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_pool(db_url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `establish_connection` [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 is never used: `index` [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 is never used: `PgPooledConnection` [INFO] [stdout] --> tests/common/db.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub type PgPooledConnection = PooledConnection>; [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 is never used: `init_pool` [INFO] [stdout] --> src/db.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init_pool(db_url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `establish_connection` [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 is never used: `index` [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 6.02s [INFO] running `Command { std: "docker" "inspect" "0df9d7a78b47b7ff06b5b8defd8801c4cdd762ec048bdbec7613f42ccb713c0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df9d7a78b47b7ff06b5b8defd8801c4cdd762ec048bdbec7613f42ccb713c0d", kill_on_drop: false }` [INFO] [stdout] 0df9d7a78b47b7ff06b5b8defd8801c4cdd762ec048bdbec7613f42ccb713c0d [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=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a0add9029d954430119835c892ba557ca9b7c707324836fff2b754162103204f [INFO] running `Command { std: "docker" "start" "-a" "a0add9029d954430119835c892ba557ca9b7c707324836fff2b754162103204f", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unused import: `diesel::prelude::*` [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 3 | use diesel::prelude::*; [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: unused imports: `App`, `HttpResponse`, `HttpServer`, `get`, `web` [INFO] [stdout] [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 is never used: `init_pool` [INFO] [stderr] --> src/db.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn init_pool(db_url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `establish_connection` [INFO] [stderr] --> src/db.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn establish_connection() -> PgPool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [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 is never used: `init_pool` [INFO] [stderr] --> src/db.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn init_pool(db_url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `establish_connection` [INFO] [stderr] --> src/db.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn establish_connection() -> PgPool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [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: 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: `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: `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 is never used: `index` [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: 9 warnings emitted [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: 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: `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: `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 is never used: `index` [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: 9 warnings emitted [INFO] [stderr] [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 is never used: `PgPooledConnection` [INFO] [stderr] --> tests/common/db.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub type PgPooledConnection = PooledConnection>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mystore-a45c7418e54998db) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mystore-146699c0dd510280) [INFO] [stderr] Running tests/product_test.rs (/opt/rustwide/target/debug/deps/product_test-6fbd48a42d5dd689) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::create_product ... FAILED [INFO] [stdout] test tests::get_product_list ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [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: 0x55eed3f9b640 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55eed3f9b640 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55eed3f9b640 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55eed3f9b640 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55eed3fbe3fc - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55eed3f96f25 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55eed3f9d7fb - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55eed3f9d7fb - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55eed3f9d7fb - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55eed3f9d30c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55eed3f9dea1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55eed3f9d9a7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55eed3f9bb1c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55eed3f9d909 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55eed3b11a41 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55eed3b11b33 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55eed3b3316a - core::result::Result::unwrap::h9295ed89949e252d [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x55eed3b2e692 - product_test::common::db::establish_connection::h187c6053447f5ca6 [INFO] [stdout] at /opt/rustwide/workdir/tests/common/db.rs:20:5 [INFO] [stdout] 18: 0x55eed3b31502 - product_test::tests::create_product::{{closure}}::h4a3f349f8840a474 [INFO] [stdout] at /opt/rustwide/workdir/tests/product_test.rs:19:39 [INFO] [stdout] 19: 0x55eed3b28ceb - as core::future::future::Future>::poll::hcfde540b069758a7 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 20: 0x55eed3b27540 - as core::future::future::Future>::poll::{{closure}}::hcadb7a6f4a66dbb1 [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: 0x55eed3b26c47 - tokio::task::local::Scheduler::with::{{closure}}::h2731b446989251f4 [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: 0x55eed3b29384 - std::thread::local::LocalKey::try_with::h04b5286e9770b936 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:400:16 [INFO] [stdout] 23: 0x55eed3b290e6 - std::thread::local::LocalKey::with::h3df2d506281778e2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:376:9 [INFO] [stdout] 24: 0x55eed3b26a0e - tokio::task::local::Scheduler::with::hbe0b62992894714b [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: 0x55eed3b27303 - as core::future::future::Future>::poll::h5d2183a63dd1cea7 [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: 0x55eed3b268c6 - tokio::task::local::LocalSet::run_until::{{closure}}::h78da83512d79a40c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:358:9 [INFO] [stdout] 27: 0x55eed3b28c5b - as core::future::future::Future>::poll::hcc86bc09f99e07b9 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 28: 0x55eed3b1a101 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::h9d79b7a1865893f2 [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: 0x55eed3b26e24 - tokio::runtime::Runtime::block_on::{{closure}}::h993d751235d5a9f0 [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: 0x55eed3b1a752 - tokio::runtime::context::enter::h2c63fc4c5b69d825 [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: 0x55eed3b1e5d8 - tokio::runtime::handle::Handle::enter::hcb965fb9b7f827e9 [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: 0x55eed3b26d6a - tokio::runtime::Runtime::block_on::h8d38777d857f9d75 [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: 0x55eed3b262f6 - tokio::task::local::LocalSet::block_on::heb9a98bdb2c4c770 [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: 0x55eed3b1b193 - actix_rt::runtime::Runtime::block_on::h00113d21b015a768 [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: 0x55eed3b27730 - actix_rt::builder::SystemRunner::block_on::hbc9bcb74f11dc856 [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: 0x55eed3b3136e - product_test::tests::create_product::h513bdd7b5c11bd0d [INFO] [stdout] at /opt/rustwide/workdir/tests/product_test.rs:15:9 [INFO] [stdout] 37: 0x55eed3b3130a - product_test::tests::create_product::{{closure}}::he1dcba2bc45dfe72 [INFO] [stdout] at /opt/rustwide/workdir/tests/product_test.rs:15:9 [INFO] [stdout] 38: 0x55eed3b1ca4e - core::ops::function::FnOnce::call_once::h3230fcc20b840dfe [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55eed3b599e3 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55eed3b599e3 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 41: 0x55eed3b58490 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 42: 0x55eed3b58490 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 43: 0x55eed3b58490 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 44: 0x55eed3b58490 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 45: 0x55eed3b58490 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 46: 0x55eed3b58490 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 47: 0x55eed3b58490 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 48: 0x55eed3b33762 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 49: 0x55eed3b33762 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 50: 0x55eed3b374d8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 51: 0x55eed3b374d8 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 52: 0x55eed3b374d8 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 53: 0x55eed3b374d8 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 54: 0x55eed3b374d8 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 55: 0x55eed3b374d8 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 56: 0x55eed3b374d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 57: 0x55eed3fa2bd7 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 58: 0x55eed3fa2bd7 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 59: 0x55eed3fa2bd7 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 60: 0x7f2e35606609 - start_thread [INFO] [stdout] 61: 0x7f2e353dc293 - clone [INFO] [stdout] 62: 0x0 - [INFO] [stdout] Panic in Arbiter thread. [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: 0x55eed3f9b640 - std::backtrace_rs::backtrace::libunwind::trace::h1037ca7e6eeef65c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55eed3f9b640 - std::backtrace_rs::backtrace::trace_unsynchronized::haaefac1bc3669450 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55eed3f9b640 - std::sys_common::backtrace::_print_fmt::h863a6f5e6d995885 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55eed3f9b640 - ::fmt::h767e17e1aa7df6a8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55eed3fbe3fc - core::fmt::write::h7aa6cd0067dca82a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x55eed3f96f25 - std::io::Write::write_fmt::h6f1a9b91376a1376 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x55eed3f9d7fb - std::sys_common::backtrace::_print::h2769edb26a7eb606 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55eed3f9d7fb - std::sys_common::backtrace::print::ha71f3549862b4cb6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55eed3f9d7fb - std::panicking::default_hook::{{closure}}::h95488a3bade217f6 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55eed3f9d30c - std::panicking::default_hook::h290aa602c0fb11df [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55eed3f9dea1 - std::panicking::rust_panic_with_hook::hf32c4fa635e215f2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55eed3f9d9a7 - std::panicking::begin_panic_handler::{{closure}}::h95197ccd88846f7a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55eed3f9bb1c - std::sys_common::backtrace::__rust_end_short_backtrace::h7641df9566f7b7d0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55eed3f9d909 - rust_begin_unwind [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55eed3b11a41 - core::panicking::panic_fmt::hbe99dddd3092ba3c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55eed3b11b33 - core::result::unwrap_failed::hf79563fef9d11ab8 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1355:5 [INFO] [stdout] 16: 0x55eed3b3316a - core::result::Result::unwrap::h9295ed89949e252d [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/result.rs:1037:23 [INFO] [stdout] 17: 0x55eed3b2e692 - product_test::common::db::establish_connection::h187c6053447f5ca6 [INFO] [stdout] at /opt/rustwide/workdir/tests/common/db.rs:20:5 [INFO] [stdout] 18: 0x55eed3b31d9a - product_test::tests::get_product_list::{{closure}}::h9ea88bf5b87420e8 [INFO] [stdout] at /opt/rustwide/workdir/tests/product_test.rs:40:39 [INFO] [stdout] 19: 0x55eed3b28d7b - as core::future::future::Future>::poll::hdd8f7127a9a89b90 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 20: 0x55eed3b27460 - as core::future::future::Future>::poll::{{closure}}::h7ea60c0e1225f005 [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: 0x55eed3b26af7 - tokio::task::local::Scheduler::with::{{closure}}::h1ab5259a653dbeaa [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: 0x55eed3b29a54 - std::thread::local::LocalKey::try_with::hbda026bf865e1986 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:400:16 [INFO] [stdout] 23: 0x55eed3b29076 - std::thread::local::LocalKey::with::h1fb019b5b8f2a87a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/local.rs:376:9 [INFO] [stdout] 24: 0x55eed3b269be - tokio::task::local::Scheduler::with::h4137e32629b53faf [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: 0x55eed3b27403 - as core::future::future::Future>::poll::hc215f3898af1b766 [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: 0x55eed3b265e6 - tokio::task::local::LocalSet::run_until::{{closure}}::h4754947c8d4e54ee [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-0.2.13/src/task/local.rs:358:9 [INFO] [stdout] 27: 0x55eed3b28e0b - as core::future::future::Future>::poll::hec823925683e6ce0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/future/mod.rs:80:19 [INFO] [stdout] 28: 0x55eed3b1a401 - tokio::runtime::basic_scheduler::BasicScheduler

::block_on::hf025c01fc0bffddf [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: 0x55eed3b26ed4 - tokio::runtime::Runtime::block_on::{{closure}}::hb28c68fa554a0455 [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: 0x55eed3b1a662 - tokio::runtime::context::enter::h17b2e21ca34ce73d [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: 0x55eed3b1e528 - tokio::runtime::handle::Handle::enter::h5f383df6ce12b0d1 [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: 0x55eed3b26d0a - tokio::runtime::Runtime::block_on::h84f4887255a32a00 [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: 0x55eed3b26286 - tokio::task::local::LocalSet::block_on::h0daea541501d41cc [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: 0x55eed3b1b1e3 - actix_rt::runtime::Runtime::block_on::h22e38ca64addb372 [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: 0x55eed3b27650 - actix_rt::builder::SystemRunner::block_on::hb7456450b444aba6 [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: 0x55eed3b31c0e - product_test::tests::get_product_list::h6dda641aea5fd208 [INFO] [stdout] at /opt/rustwide/workdir/tests/product_test.rs:36:9 [INFO] [stdout] 37: 0x55eed3b31baa - product_test::tests::get_product_list::{{closure}}::ha74d23f93b27a585 [INFO] [stdout] at /opt/rustwide/workdir/tests/product_test.rs:36:9 [INFO] [stdout] 38: 0x55eed3b1ca8e - core::ops::function::FnOnce::call_once::h3fb49bf42ded2f17 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55eed3b599e3 - core::ops::function::FnOnce::call_once::h673fbe3f96486fd2 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 40: 0x55eed3b599e3 - test::__rust_begin_short_backtrace::h8eedc24e104ef6a0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:577:5 [INFO] [stdout] 41: 0x55eed3b58490 - as core::ops::function::FnOnce>::call_once::h028d0969d3f94d78 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 42: 0x55eed3b58490 - as core::ops::function::FnOnce<()>>::call_once::h7634b01590b1722b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 43: 0x55eed3b58490 - std::panicking::try::do_call::hf74f869706dec63b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 44: 0x55eed3b58490 - std::panicking::try::hd0b7346ebfaaae44 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 45: 0x55eed3b58490 - std::panic::catch_unwind::hdbf6904f7c253080 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 46: 0x55eed3b58490 - test::run_test_in_process::h87e95a014ac91067 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:600:18 [INFO] [stdout] 47: 0x55eed3b58490 - test::run_test::run_test_inner::{{closure}}::hdd69ae44aaab3470 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:492:39 [INFO] [stdout] 48: 0x55eed3b33762 - test::run_test::run_test_inner::{{closure}}::hc159305704d5b68a [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/test/src/lib.rs:519:37 [INFO] [stdout] 49: 0x55eed3b33762 - std::sys_common::backtrace::__rust_begin_short_backtrace::h33d8a8ad5f788fcc [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 50: 0x55eed3b374d8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h6181011ddf4b8353 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 51: 0x55eed3b374d8 - as core::ops::function::FnOnce<()>>::call_once::hf924ea0a0f25a1c0 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:346:9 [INFO] [stdout] 52: 0x55eed3b374d8 - std::panicking::try::do_call::hd58061792d05fa5c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:401:40 [INFO] [stdout] 53: 0x55eed3b374d8 - std::panicking::try::h3080747417e5af37 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panicking.rs:365:19 [INFO] [stdout] 54: 0x55eed3b374d8 - std::panic::catch_unwind::hfeba515dcf36cb66 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/panic.rs:433:14 [INFO] [stdout] 55: 0x55eed3b374d8 - std::thread::Builder::spawn_unchecked::{{closure}}::h29d57a62faff749b [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 56: 0x55eed3b374d8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h44709d312d2a9c59 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 57: 0x55eed3fa2bd7 - as core::ops::function::FnOnce>::call_once::h902e2cf6655e1b0c [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 58: 0x55eed3fa2bd7 - as core::ops::function::FnOnce>::call_once::h893a5452154309d1 [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 59: 0x55eed3fa2bd7 - std::sys::unix::thread::Thread::new::thread_start::hdedcb57c96ab37cd [INFO] [stdout] at /rustc/99e3aef02079e9c10583638520cd0c134dc3a01d/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 60: 0x7f2e35606609 - start_thread [INFO] [stdout] 61: 0x7f2e353dc293 - clone [INFO] [stdout] 62: 0x0 - [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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test product_test' [INFO] running `Command { std: "docker" "inspect" "a0add9029d954430119835c892ba557ca9b7c707324836fff2b754162103204f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0add9029d954430119835c892ba557ca9b7c707324836fff2b754162103204f", kill_on_drop: false }` [INFO] [stdout] a0add9029d954430119835c892ba557ca9b7c707324836fff2b754162103204f