[INFO] cloning repository https://github.com/abeyonalaja/rust-store-wpi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abeyonalaja/rust-store-wpi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frust-store-wpi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frust-store-wpi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8c74e2a423288dc78ff114e8745c9b02521f8c6 [INFO] testing abeyonalaja/rust-store-wpi against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabeyonalaja%2Frust-store-wpi" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/abeyonalaja/rust-store-wpi on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/abeyonalaja/rust-store-wpi [INFO] finished tweaking git repo https://github.com/abeyonalaja/rust-store-wpi [INFO] tweaked toml for git repo https://github.com/abeyonalaja/rust-store-wpi written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/abeyonalaja/rust-store-wpi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://git@github.com/3dom-co-jp/csrf-token.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonwebtoken v6.0.1 [INFO] [stderr] Downloaded actix_derive v0.4.0 [INFO] [stderr] Downloaded diesel_full_text_search v1.0.1 [INFO] [stderr] Downloaded actix v0.8.3 [INFO] [stderr] Downloaded actix-cors v0.1.0 [INFO] [stderr] Downloaded actix-http-test v0.2.5 [INFO] [stderr] Downloaded actix-identity v0.1.0 [INFO] [stderr] Downloaded dotenv_codegen_implementation v0.14.1 [INFO] [stderr] Downloaded dotenv_codegen v0.14.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ac07d13cabd36d478f3e4bbda918d4cfd350bc19c1f4d66bf4f99817662cf56e [INFO] running `Command { std: "docker" "start" "-a" "ac07d13cabd36d478f3e4bbda918d4cfd350bc19c1f4d66bf4f99817662cf56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac07d13cabd36d478f3e4bbda918d4cfd350bc19c1f4d66bf4f99817662cf56e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac07d13cabd36d478f3e4bbda918d4cfd350bc19c1f4d66bf4f99817662cf56e", kill_on_drop: false }` [INFO] [stdout] ac07d13cabd36d478f3e4bbda918d4cfd350bc19c1f4d66bf4f99817662cf56e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b2acd1ade4379854fcbc6c0c16385c3d842f9da5e32250bad1f4b309b625046 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b2acd1ade4379854fcbc6c0c16385c3d842f9da5e32250bad1f4b309b625046", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tokio-executor v0.1.9 [INFO] [stderr] Compiling tokio-sync v0.1.7 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling signal-hook v0.1.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling resolv-conf v0.6.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling block-cipher-trait v0.6.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio-timer v0.2.12 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling blowfish v0.4.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling bcrypt v0.4.0 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling parking_lot v0.8.0 [INFO] [stderr] Compiling tokio-reactor v0.1.11 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.5 [INFO] [stderr] Compiling tokio-signal v0.2.7 [INFO] [stderr] Compiling flate2 v1.0.13 [INFO] [stderr] Compiling backtrace v0.3.40 [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 derive_more v0.14.1 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling actix-web-codegen v0.1.3 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling dotenv v0.14.1 [INFO] [stderr] Compiling const-random-macro v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.14.1 [INFO] [stderr] Compiling actix-server v0.6.1 [INFO] [stderr] Compiling const-random v0.1.6 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling actix-testing v0.1.0 [INFO] [stderr] Compiling dotenv_codegen v0.14.1 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.1.5 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling csrf-token v0.2.2 (https://git@github.com/3dom-co-jp/csrf-token.git?branch=v0.2.x#9096e868) [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling jsonwebtoken v6.0.1 [INFO] [stderr] Compiling awc v0.2.8 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling actix-web v1.0.9 [INFO] [stderr] Compiling actix-cors v0.1.0 [INFO] [stderr] Compiling actix-identity v0.1.0 [INFO] [stderr] Compiling diesel_full_text_search v1.0.1 [INFO] [stderr] Compiling mystore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::products::create` [INFO] [stdout] --> src/handlers/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::products::create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/handlers/authentication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/handlers/products.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::products::create` [INFO] [stdout] --> src/handlers/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::products::create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/handlers/authentication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/handlers/products.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "0b2acd1ade4379854fcbc6c0c16385c3d842f9da5e32250bad1f4b309b625046", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b2acd1ade4379854fcbc6c0c16385c3d842f9da5e32250bad1f4b309b625046", kill_on_drop: false }` [INFO] [stdout] 0b2acd1ade4379854fcbc6c0c16385c3d842f9da5e32250bad1f4b309b625046 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ffe5798750319484dde92728fd0b7e87b8b82a87dad97ff41fb733e5a70215fb [INFO] running `Command { std: "docker" "start" "-a" "ffe5798750319484dde92728fd0b7e87b8b82a87dad97ff41fb733e5a70215fb", kill_on_drop: false }` [INFO] [stderr] Compiling actix-http-test v0.2.5 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::products::create` [INFO] [stdout] --> src/handlers/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::products::create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/handlers/authentication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/handlers/products.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::products::create` [INFO] [stdout] --> src/handlers/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::products::create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/handlers/authentication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/handlers/products.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mystore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `csrf_token::CsrfTokenGenerator` [INFO] [stdout] --> tests/product_test.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use csrf_token::CsrfTokenGenerator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> tests/product_test.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RefCell` [INFO] [stdout] --> tests/product_test.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NewProduct`, `Product` [INFO] [stdout] --> tests/product_test.rs:25:42 [INFO] [stdout] | [INFO] [stdout] 25 | use ::mystore_lib::models::product::{NewProduct, Product}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::products::create` [INFO] [stdout] --> src/handlers/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::products::create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/handlers/authentication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/handlers/products.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::handlers::products::create` [INFO] [stdout] --> src/handlers/authentication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::handlers::products::create; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::pg::Pg` [INFO] [stdout] --> src/handlers/authentication.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use diesel::pg::Pg; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HttpRequest` [INFO] [stdout] --> src/handlers/products.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use actix_web::{web, HttpRequest, HttpResponse}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `unwrap` exists for enum `Result`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/product_test.rs:67:71 [INFO] [stdout] | [INFO] [stdout] 67 | password: User::hash_password("12345678".to_string()).unwrap(), [INFO] [stdout] | ^^^^^^ method cannot be called on `Result` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/errors.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum MyStoreError { [INFO] [stdout] | --------------------- doesn't satisfy `MyStoreError: Debug` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `MyStoreError: Debug` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mystore` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ffe5798750319484dde92728fd0b7e87b8b82a87dad97ff41fb733e5a70215fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffe5798750319484dde92728fd0b7e87b8b82a87dad97ff41fb733e5a70215fb", kill_on_drop: false }` [INFO] [stdout] ffe5798750319484dde92728fd0b7e87b8b82a87dad97ff41fb733e5a70215fb