[INFO] cloning repository https://github.com/Ulbora/ccount_service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ulbora/ccount_service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUlbora%2Fccount_service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUlbora%2Fccount_service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa0817a1e8ecafc217b5a52f552f2ae19cc15e87 [INFO] testing Ulbora/ccount_service against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUlbora%2Fccount_service" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ulbora/ccount_service on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ulbora/ccount_service [INFO] finished tweaking git repo https://github.com/Ulbora/ccount_service [INFO] tweaked toml for git repo https://github.com/Ulbora/ccount_service written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ulbora/ccount_service already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded standback v0.2.15 [INFO] [stderr] Downloaded async-trait v0.1.47 [INFO] [stderr] Downloaded actix-web-httpauth v0.4.2 [INFO] [stderr] Downloaded time v0.2.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8278eb86ac39dca6d4d70c9b8b3a183d257ba0c1d7c54c73aed61bbc47b5402d [INFO] running `Command { std: "docker" "start" "-a" "8278eb86ac39dca6d4d70c9b8b3a183d257ba0c1d7c54c73aed61bbc47b5402d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8278eb86ac39dca6d4d70c9b8b3a183d257ba0c1d7c54c73aed61bbc47b5402d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8278eb86ac39dca6d4d70c9b8b3a183d257ba0c1d7c54c73aed61bbc47b5402d", kill_on_drop: false }` [INFO] [stdout] 8278eb86ac39dca6d4d70c9b8b3a183d257ba0c1d7c54c73aed61bbc47b5402d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac8f301cdf8cbbc9feaa0c443556ec89dfbd0e5dd1c4d935c10730f993cbabbf [INFO] running `Command { std: "docker" "start" "-a" "ac8f301cdf8cbbc9feaa0c443556ec89dfbd0e5dd1c4d935c10730f993cbabbf", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling async-trait v0.1.47 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling standback v0.2.15 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling time v0.2.25 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling r2d2 v0.8.9 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling base64 v0.4.2 [INFO] [stderr] Compiling rust-argon2 v0.8.3 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.2.2 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-proto v0.19.6 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-tls v1.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Compiling trust-dns-resolver v0.19.6 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Compiling actix-connect v1.0.2 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling actix-http v1.0.1 [INFO] [stderr] Compiling awc v1.0.1 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v2.0.0 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-web-httpauth v0.4.2 [INFO] [stderr] Compiling actix-cors v0.5.4 [INFO] [stderr] Compiling ccount_service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/category_db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/daily_calory_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/food_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/user_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "ac8f301cdf8cbbc9feaa0c443556ec89dfbd0e5dd1c4d935c10730f993cbabbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8f301cdf8cbbc9feaa0c443556ec89dfbd0e5dd1c4d935c10730f993cbabbf", kill_on_drop: false }` [INFO] [stdout] ac8f301cdf8cbbc9feaa0c443556ec89dfbd0e5dd1c4d935c10730f993cbabbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 513e1b0a40ca1d5055f1797a888f576c4f72add5dbecb6824a67fbc6a4a3603b [INFO] running `Command { std: "docker" "start" "-a" "513e1b0a40ca1d5055f1797a888f576c4f72add5dbecb6824a67fbc6a4a3603b", kill_on_drop: false }` [INFO] [stderr] Compiling ccount_service v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/category_db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/daily_calory_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/food_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/user_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/category_db.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/daily_calory_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/food_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/database/user_db.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::diesel; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate diesel; [INFO] [stdout] | -------------------- the item `diesel` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s [INFO] running `Command { std: "docker" "inspect" "513e1b0a40ca1d5055f1797a888f576c4f72add5dbecb6824a67fbc6a4a3603b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "513e1b0a40ca1d5055f1797a888f576c4f72add5dbecb6824a67fbc6a4a3603b", kill_on_drop: false }` [INFO] [stdout] 513e1b0a40ca1d5055f1797a888f576c4f72add5dbecb6824a67fbc6a4a3603b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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 -Copt-level=3" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 807f87a2f2f2674afcebbef13fc9048427bf06a5956c64a8c78ab70b0e2f7d34 [INFO] running `Command { std: "docker" "start" "-a" "807f87a2f2f2674afcebbef13fc9048427bf06a5956c64a8c78ab70b0e2f7d34", kill_on_drop: false }` [INFO] [stderr] warning: the item `diesel` is imported redundantly [INFO] [stderr] --> src/database/category_db.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::diesel; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate diesel; [INFO] [stderr] | -------------------- the item `diesel` is already imported here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `diesel` is imported redundantly [INFO] [stderr] --> src/database/daily_calory_db.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::diesel; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate diesel; [INFO] [stderr] | -------------------- the item `diesel` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `diesel` is imported redundantly [INFO] [stderr] --> src/database/food_db.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::diesel; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate diesel; [INFO] [stderr] | -------------------- the item `diesel` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `diesel` is imported redundantly [INFO] [stderr] --> src/database/user_db.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::diesel; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | extern crate diesel; [INFO] [stderr] | -------------------- the item `diesel` is already imported here [INFO] [stderr] [INFO] [stderr] warning: `ccount_service` (lib) generated 4 warnings [INFO] [stderr] warning: `ccount_service` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ccount_service-6f505f1cf5ccf39e) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test daily_calories::tests::it_works ... ok [INFO] [stdout] test user::tests::hash_pw_arg_fail ... ok [INFO] [stdout] test user::tests::hash_pw_arg ... ok [INFO] [stdout] test user::tests::validate_pw_arg ... ok [INFO] [stdout] test daily_calories::tests::get_calories_for_multi_days_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- daily_calories::tests::get_calories_for_multi_days_test stdout ---- [INFO] [stdout] thread 'daily_calories::tests::get_calories_for_multi_days_test' panicked at src/lib.rs:36:10: [INFO] [stdout] Failed to create MySql pool.: Error(Some("Can't connect to local server through socket '/run/mysqld/mysqld.sock' (2)")) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560b51e0ab26 - std::backtrace_rs::backtrace::libunwind::trace::h68e08e31a5edd928 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 [INFO] [stdout] 1: 0x560b51e0ab26 - std::backtrace_rs::backtrace::trace_unsynchronized::hc8e4d3186f828cab [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560b51e0ab26 - std::sys_common::backtrace::_print_fmt::hdcdca1c0665ccefc [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:68:5 [INFO] [stdout] 3: 0x560b51e0ab26 - ::fmt::h752651e67cc277a4 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x560b51e3380c - core::fmt::rt::Argument::fmt::h4e7c3e22f7386287 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/rt.rs:142:9 [INFO] [stdout] 5: 0x560b51e3380c - core::fmt::write::hd44b1d45ba162e21 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/fmt/mod.rs:1120:17 [INFO] [stdout] 6: 0x560b51e083af - std::io::Write::write_fmt::hdb67a49a0754f939 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/io/mod.rs:1846:15 [INFO] [stdout] 7: 0x560b51e0a8d4 - std::sys_common::backtrace::_print::hbca331de1381491f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 8: 0x560b51e0a8d4 - std::sys_common::backtrace::print::hade58077d78c625d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 9: 0x560b51e0c5cb - std::panicking::default_hook::{{closure}}::hc9f80a2cdc6be4c4 [INFO] [stdout] 10: 0x560b51e0c29d - std::panicking::default_hook::h1fc68886dc215416 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:289:9 [INFO] [stdout] 11: 0x560b51db3897 - as core::ops::function::Fn>::call::ha16821620acc0367 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 12: 0x560b51db3897 - test::test_main::{{closure}}::h1a3ed7cd910c2945 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:137:21 [INFO] [stdout] 13: 0x560b51e0cc00 - as core::ops::function::Fn>::call::he260753ff79c0e70 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2030:9 [INFO] [stdout] 14: 0x560b51e0cc00 - std::panicking::rust_panic_with_hook::heff73da0ddd67492 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:786:13 [INFO] [stdout] 15: 0x560b51e0c942 - std::panicking::begin_panic_handler::{{closure}}::h141137f9c7de1e02 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:660:13 [INFO] [stdout] 16: 0x560b51e0b006 - std::sys_common::backtrace::__rust_end_short_backtrace::hbde4e66d30db627d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:171:18 [INFO] [stdout] 17: 0x560b51e0c674 - rust_begin_unwind [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:648:5 [INFO] [stdout] 18: 0x560b51d67af5 - core::panicking::panic_fmt::h92fcc83e4972ca9b [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panicking.rs:72:14 [INFO] [stdout] 19: 0x560b51d67fa3 - core::result::unwrap_failed::h788f2905cd2dc947 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1653:5 [INFO] [stdout] 20: 0x560b51d77ac7 - core::result::Result::expect::haf7a66018b144941 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/result.rs:1034:23 [INFO] [stdout] 21: 0x560b51d77ac7 - ccount_service::establish_pooled_connection::hb0dae6e6b3257336 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:34:16 [INFO] [stdout] 22: 0x560b51d7e566 - ccount_service::daily_calories::tests::get_calories_for_multi_days_test::h0655ed5dadc8f66a [INFO] [stdout] at /opt/rustwide/workdir/src/daily_calories.rs:89:20 [INFO] [stdout] 23: 0x560b51d764f9 - ccount_service::daily_calories::tests::get_calories_for_multi_days_test::{{closure}}::h797d322eca42f7bb [INFO] [stdout] at /opt/rustwide/workdir/src/daily_calories.rs:88:42 [INFO] [stdout] 24: 0x560b51d764f9 - core::ops::function::FnOnce::call_once::h8bcf93fa809848fa [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x560b51db8fff - core::ops::function::FnOnce::call_once::hb5d425830acba2e8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x560b51db8fff - test::__rust_begin_short_backtrace::h8054e86d0f5ccc86 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:620:18 [INFO] [stdout] 27: 0x560b51db7c10 - test::run_test_in_process::{{closure}}::h85d13cb166c10721 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:60 [INFO] [stdout] 28: 0x560b51db7c10 - as core::ops::function::FnOnce<()>>::call_once::hc3dc86b8d5205a04 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x560b51db7c10 - std::panicking::try::do_call::hc17666b06748adad [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 30: 0x560b51db7c10 - std::panicking::try::h1e9fba0c97684d1d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 31: 0x560b51db7c10 - std::panic::catch_unwind::h8328c2da9899627c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 32: 0x560b51db7c10 - test::run_test_in_process::hf19a99f254958c9c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:643:27 [INFO] [stdout] 33: 0x560b51db7c10 - test::run_test::{{closure}}::hba6ab6b94e515411 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:566:43 [INFO] [stdout] 34: 0x560b51d7ff53 - test::run_test::{{closure}}::h6ac7c2253cb9cc0f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/test/src/lib.rs:594:41 [INFO] [stdout] 35: 0x560b51d7ff53 - std::sys_common::backtrace::__rust_begin_short_backtrace::hb4fbc53b7e758a6f [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys_common/backtrace.rs:155:18 [INFO] [stdout] 36: 0x560b51d84c7f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::ha24970823708ac98 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:528:17 [INFO] [stdout] 37: 0x560b51d84c7f - as core::ops::function::FnOnce<()>>::call_once::h16db0733eff2a03c [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x560b51d84c7f - std::panicking::try::do_call::hc2890dbc9a490eee [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:555:40 [INFO] [stdout] 39: 0x560b51d84c7f - std::panicking::try::ha67ad75b01f98422 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panicking.rs:519:19 [INFO] [stdout] 40: 0x560b51d84c7f - std::panic::catch_unwind::h26725df9ddb3fcd2 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/panic.rs:142:14 [INFO] [stdout] 41: 0x560b51d84c7f - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0e59407b0ff3ed8 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/thread/mod.rs:527:30 [INFO] [stdout] 42: 0x560b51d84c7f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd4eb105f82d3bb8e [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x560b51e10f45 - as core::ops::function::FnOnce>::call_once::h28564f61ef15890d [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 44: 0x560b51e10f45 - as core::ops::function::FnOnce>::call_once::h03728738d990d027 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/alloc/src/boxed.rs:2016:9 [INFO] [stdout] 45: 0x560b51e10f45 - std::sys::pal::unix::thread::Thread::new::thread_start::heb455c9485795637 [INFO] [stdout] at /rustc/61223975d46f794466efa832bc7562b9707ecc46/library/std/src/sys/pal/unix/thread.rs:108:17 [INFO] [stdout] 46: 0x7fed93fa4ac3 - [INFO] [stdout] 47: 0x7fed94035bf4 - __clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] daily_calories::tests::get_calories_for_multi_days_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 4 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "807f87a2f2f2674afcebbef13fc9048427bf06a5956c64a8c78ab70b0e2f7d34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807f87a2f2f2674afcebbef13fc9048427bf06a5956c64a8c78ab70b0e2f7d34", kill_on_drop: false }` [INFO] [stdout] 807f87a2f2f2674afcebbef13fc9048427bf06a5956c64a8c78ab70b0e2f7d34