[INFO] cloning repository https://github.com/korvahannu/zero2prod_hannukorvala
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/korvahannu/zero2prod_hannukorvala" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fzero2prod_hannukorvala", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fzero2prod_hannukorvala'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 10fbb92481adb4124d08ca86669fa5847b2cdc5a
[INFO] testing korvahannu/zero2prod_hannukorvala against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fzero2prod_hannukorvala" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/korvahannu/zero2prod_hannukorvala
[INFO] finished tweaking git repo https://github.com/korvahannu/zero2prod_hannukorvala
[INFO] tweaked toml for git repo https://github.com/korvahannu/zero2prod_hannukorvala written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/korvahannu/zero2prod_hannukorvala on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/korvahannu/zero2prod_hannukorvala 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0
[INFO] running `Command { std: "docker" "start" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.125
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling syn v1.0.92
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling getrandom v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.8
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling block-buffer v0.10.2
[INFO] [stderr]    Compiling crypto-common v0.1.3
[INFO] [stderr]    Compiling digest v0.10.3
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling http v0.2.7
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling paste v1.0.7
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling crossbeam-queue v0.3.5
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling tokio v1.18.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling zstd-sys v1.6.3+zstd.1.5.2
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling alloc-no-stdlib v2.0.3
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling zstd-safe v4.1.4+zstd.1.5.2
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling actix-rt v2.7.0
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling local-waker v0.1.3
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling regex v1.5.5
[INFO] [stderr]    Compiling alloc-stdlib v0.2.1
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling sha-1 v0.10.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling lexical-core v0.7.6
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling crc-catalog v1.1.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling sqlformat v0.1.8
[INFO] [stderr]    Compiling crc v2.1.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling miniz_oxide v0.5.1
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling hkdf v0.12.3
[INFO] [stderr]    Compiling futures-intrusive v0.4.0
[INFO] [stderr]    Compiling sqlx-rt v0.5.13
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling brotli-decompressor v2.3.2
[INFO] [stderr]    Compiling actix-utils v3.0.0
[INFO] [stderr]    Compiling sha2 v0.10.2
[INFO] [stderr]    Compiling hashlink v0.7.0
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling atoi v0.4.0
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling actix-service v2.0.2
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling md-5 v0.10.1
[INFO] [stderr]    Compiling bytestring v1.0.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling cookie v0.16.0
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling num_threads v0.1.6
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling firestorm v0.5.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling whoami v1.2.1
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling sqlx-core v0.5.13
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling time v0.3.9
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling actix-router v0.5.0
[INFO] [stderr]    Compiling brotli v3.3.4
[INFO] [stderr]    Compiling flate2 v1.0.23
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling local-channel v0.1.3
[INFO] [stderr]    Compiling actix-codec v0.5.0
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling linked-hash-map v0.5.4
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling serde v0.8.23
[INFO] [stderr]    Compiling sqlx-macros v0.5.13
[INFO] [stderr]    Compiling yaml-rust v0.4.5
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling serde-hjson v0.9.1
[INFO] [stderr]    Compiling actix-web-codegen v4.0.0
[INFO] [stderr]    Compiling actix-server v2.1.1
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling actix-macros v0.2.3
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling rust-ini v0.13.0
[INFO] [stderr]    Compiling sqlx v0.5.13
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling config v0.11.0
[INFO] [stderr]    Compiling zstd v0.10.0+zstd.1.5.2
[INFO] [stderr]    Compiling actix-http v3.0.4
[INFO] [stderr]    Compiling actix-web v4.0.1
[INFO] [stderr]    Compiling zero2prod_hannukorvala v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `form`
[INFO] [stdout]   --> src/routes/subscriptions.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn subscribe(form: web::Form<FormData>) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `email` and `name` are never read
[INFO] [stdout]  --> src/routes/subscriptions.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FormData {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 5 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 5m 51s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, openssl v0.10.40, sqlx-core v0.5.13
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stdout] warning: unused variable: `form`
[INFO] [stdout]   --> src/routes/subscriptions.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn subscribe(form: web::Form<FormData>) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `email` and `name` are never read
[INFO] [stdout]  --> src/routes/subscriptions.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FormData {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 5 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling zero2prod_hannukorvala v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `form`
[INFO] [stdout]   --> src/routes/subscriptions.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub async fn subscribe(form: web::Form<FormData>) -> HttpResponse {
[INFO] [stdout]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection`
[INFO] [stdout]   --> tests/health_check.rs:45:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |     let connection = PgConnection::connect(&connection_string)
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `email` and `name` are never read
[INFO] [stdout]  --> src/routes/subscriptions.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct FormData {
[INFO] [stdout]   |            -------- fields in this struct
[INFO] [stdout] 5 |     email: String,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.95s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, openssl v0.10.40, sqlx-core v0.5.13
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `form`
[INFO] [stderr]   --> src/routes/subscriptions.rs:11:24
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub async fn subscribe(form: web::Form<FormData>) -> HttpResponse {
[INFO] [stderr]    |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: fields `email` and `name` are never read
[INFO] [stderr]  --> src/routes/subscriptions.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct FormData {
[INFO] [stderr]   |            -------- fields in this struct
[INFO] [stderr] 5 |     email: String,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr] 6 |     name: String,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `zero2prod_hannukorvala` (lib) generated 2 warnings (run `cargo fix --lib -p zero2prod_hannukorvala` to apply 1 suggestion)
[INFO] [stderr] warning: `zero2prod_hannukorvala` (lib test) generated 2 warnings (2 duplicates)
[INFO] [stderr] warning: unused variable: `connection`
[INFO] [stderr]   --> tests/health_check.rs:45:9
[INFO] [stderr]    |
[INFO] [stderr] 45 |     let connection = PgConnection::connect(&connection_string)
[INFO] [stderr]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `zero2prod_hannukorvala` (test "health_check") generated 1 warning (run `cargo fix --test "health_check" -p zero2prod_hannukorvala` to apply 1 suggestion)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.27s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, openssl v0.10.40, sqlx-core v0.5.13
[INFO] [stdout] 
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/deps/zero2prod_hannukorvala-9b616dc8143dd741)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/zero2prod_hannukorvala-7e0ec80122824127)
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stderr]      Running tests/health_check.rs (/opt/rustwide/target/release/deps/health_check-dee7d8d6cc6e6f6a)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test subscribe_returns_a_200_for_valid_form_data ... FAILED
[INFO] [stdout] test health_check_works ... ok
[INFO] [stdout] test subscribe_returns_a_400_when_data_is_missing ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- subscribe_returns_a_200_for_valid_form_data stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'subscribe_returns_a_200_for_valid_form_data' (5036) panicked at tests/health_check.rs:47:10:
[INFO] [stdout] Failed to connect to Postgres.: Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5a8e6ac90ec1 - <<std[104cf6e2632825ea]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[7c831bd917ebf35f]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5a8e6aca9b8a - core[7c831bd917ebf35f]::fmt::write
[INFO] [stdout]    2:     0x5a8e6ac95d1c - <alloc[2fdc3f7464fcf288]::vec::Vec<u8> as core[7c831bd917ebf35f]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5a8e6ac6b7c6 - std[104cf6e2632825ea]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5a8e6ac88759 - std[104cf6e2632825ea]::panicking::default_hook
[INFO] [stdout]    5:     0x5a8e6a83c3f0 - test[73009c9f9aebf890]::test_main_inner::<test[73009c9f9aebf890]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x5a8e6ac88a82 - std[104cf6e2632825ea]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5a8e6ac6b872 - std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5a8e6ac639a9 - std[104cf6e2632825ea]::sys::backtrace::__rust_end_short_backtrace::<std[104cf6e2632825ea]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5a8e6ac6c6fd - __rustc[b0d56fa5b193ad05]::rust_begin_unwind
[INFO] [stdout]   10:     0x5a8e6acaa36c - core[7c831bd917ebf35f]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5a8e6acaa142 - core[7c831bd917ebf35f]::result::unwrap_failed
[INFO] [stdout]   12:     0x5a8e6a752d2b - <core[7c831bd917ebf35f]::pin::Pin<&mut health_check[e889e03b4e0279c5]::subscribe_returns_a_200_for_valid_form_data::{closure#0}> as core[7c831bd917ebf35f]::future::future::Future>::poll
[INFO] [stdout]   13:     0x5a8e6a7553fb - <tokio[cc0181e483e65b28]::runtime::basic_scheduler::Context>::enter::<core[7c831bd917ebf35f]::task::poll::Poll<()>, <tokio[cc0181e483e65b28]::runtime::basic_scheduler::CoreGuard>::block_on<core[7c831bd917ebf35f]::pin::Pin<&mut health_check[e889e03b4e0279c5]::subscribe_returns_a_200_for_valid_form_data::{closure#0}>>::{closure#0}::{closure#0}>
[INFO] [stdout]   14:     0x5a8e6a75393a - <tokio[cc0181e483e65b28]::macros::scoped_tls::ScopedKey<tokio[cc0181e483e65b28]::runtime::basic_scheduler::Context>>::set::<<tokio[cc0181e483e65b28]::runtime::basic_scheduler::CoreGuard>::enter<<tokio[cc0181e483e65b28]::runtime::basic_scheduler::CoreGuard>::block_on<core[7c831bd917ebf35f]::pin::Pin<&mut health_check[e889e03b4e0279c5]::subscribe_returns_a_200_for_valid_form_data::{closure#0}>>::{closure#0}, ()>::{closure#0}, (alloc[2fdc3f7464fcf288]::boxed::Box<tokio[cc0181e483e65b28]::runtime::basic_scheduler::Core>, ())>
[INFO] [stdout]   15:     0x5a8e6a754e29 - <tokio[cc0181e483e65b28]::runtime::basic_scheduler::BasicScheduler>::block_on::<health_check[e889e03b4e0279c5]::subscribe_returns_a_200_for_valid_form_data::{closure#0}>
[INFO] [stdout]   16:     0x5a8e6a74774f - <tokio[cc0181e483e65b28]::runtime::Runtime>::block_on::<health_check[e889e03b4e0279c5]::subscribe_returns_a_200_for_valid_form_data::{closure#0}>
[INFO] [stdout]   17:     0x5a8e6a75a7fc - <health_check[e889e03b4e0279c5]::subscribe_returns_a_200_for_valid_form_data::{closure#0} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   18:     0x5a8e6a82f6db - test[73009c9f9aebf890]::__rust_begin_short_backtrace::<core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>, fn() -> core[7c831bd917ebf35f]::result::Result<(), alloc[2fdc3f7464fcf288]::string::String>>
[INFO] [stdout]   19:     0x5a8e6a83cd45 - test[73009c9f9aebf890]::run_test::{closure#0}
[INFO] [stdout]   20:     0x5a8e6a836104 - std[104cf6e2632825ea]::sys::backtrace::__rust_begin_short_backtrace::<test[73009c9f9aebf890]::run_test::{closure#1}, ()>
[INFO] [stdout]   21:     0x5a8e6a83fea2 - <std[104cf6e2632825ea]::thread::lifecycle::spawn_unchecked<test[73009c9f9aebf890]::run_test::{closure#1}, ()>::{closure#1} as core[7c831bd917ebf35f]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   22:     0x5a8e6ac8fe79 - <std[104cf6e2632825ea]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   23:     0x726d88bf607a - <unknown>
[INFO] [stdout]   24:     0x726d88c89534 - clone
[INFO] [stdout]   25:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     subscribe_returns_a_200_for_valid_form_data
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test health_check`
[INFO] running `Command { std: "docker" "inspect" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0", kill_on_drop: false }`
[INFO] [stdout] 5b9aaf6993e1f0207ffbbff00b6acd247e9dbdd37673fc75703ae8ae40d7b2a0
