[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 try#61cd42370816fd135c0f3b9debf2f5dfcf194594 for pr-98839 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkorvahannu%2Fzero2prod_hannukorvala" "/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/korvahannu/zero2prod_hannukorvala on toolchain 61cd42370816fd135c0f3b9debf2f5dfcf194594 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0/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-0/source/Cargo.toml [INFO] crate git repo https://github.com/korvahannu/zero2prod_hannukorvala already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af668ab8669f5c45100401341cd16173863617b3f634b13b7052072e6a3be209 [INFO] running `Command { std: "docker" "start" "-a" "af668ab8669f5c45100401341cd16173863617b3f634b13b7052072e6a3be209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af668ab8669f5c45100401341cd16173863617b3f634b13b7052072e6a3be209", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af668ab8669f5c45100401341cd16173863617b3f634b13b7052072e6a3be209", kill_on_drop: false }` [INFO] [stdout] af668ab8669f5c45100401341cd16173863617b3f634b13b7052072e6a3be209 [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=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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e127899309e23338ad661cdc89e88f3b2571bc263129717d126a6230447a5293 [INFO] running `Command { std: "docker" "start" "-a" "e127899309e23338ad661cdc89e88f3b2571bc263129717d126a6230447a5293", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [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 version_check v0.9.4 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling local-waker v0.1.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling local-channel v0.1.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tokio v1.18.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [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 openssl-macros v0.1.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling sqlx v0.5.13 [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) -> HttpResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 59s [INFO] running `Command { std: "docker" "inspect" "e127899309e23338ad661cdc89e88f3b2571bc263129717d126a6230447a5293", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e127899309e23338ad661cdc89e88f3b2571bc263129717d126a6230447a5293", kill_on_drop: false }` [INFO] [stdout] e127899309e23338ad661cdc89e88f3b2571bc263129717d126a6230447a5293 [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=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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1920e88ea61c0cb0693b40302cce8b344c619e7e23a2d44a86ce6489f9da47d [INFO] running `Command { std: "docker" "start" "-a" "b1920e88ea61c0cb0693b40302cce8b344c619e7e23a2d44a86ce6489f9da47d", 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) -> HttpResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zero2prod_hannukorvala v0.1.0 (/opt/rustwide/workdir) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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) -> HttpResponse { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.32s [INFO] running `Command { std: "docker" "inspect" "b1920e88ea61c0cb0693b40302cce8b344c619e7e23a2d44a86ce6489f9da47d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1920e88ea61c0cb0693b40302cce8b344c619e7e23a2d44a86ce6489f9da47d", kill_on_drop: false }` [INFO] [stdout] b1920e88ea61c0cb0693b40302cce8b344c619e7e23a2d44a86ce6489f9da47d [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=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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+61cd42370816fd135c0f3b9debf2f5dfcf194594" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f67c2b390638326b5385adc9659d10b94a7234b922d3b815645b2a70aec34f88 [INFO] running `Command { std: "docker" "start" "-a" "f67c2b390638326b5385adc9659d10b94a7234b922d3b815645b2a70aec34f88", 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) -> HttpResponse { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_form` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `zero2prod_hannukorvala` (lib) generated 2 warnings [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `zero2prod_hannukorvala` (test "health_check") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.39s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zero2prod_hannukorvala-e5bccdb0b01b8d88) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zero2prod_hannukorvala-eac92407ddbda3f0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/health_check.rs (/opt/rustwide/target/debug/deps/health_check-5688781a9e2df118) [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] thread 'subscribe_returns_a_200_for_valid_form_data' panicked at 'Failed to connect to Postgres.: Io(Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })', tests/health_check.rs:47:10 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x556a4838e1a0 - std::backtrace_rs::backtrace::libunwind::trace::h385ffbf574363e81 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 1: 0x556a4838e1a0 - std::backtrace_rs::backtrace::trace_unsynchronized::h1d1dbabbc7babee7 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x556a4838e1a0 - std::sys_common::backtrace::_print_fmt::h3fd7a321b650d311 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x556a4838e1a0 - ::fmt::h9c5fc513eb6f6c7a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x556a483b3f0c - core::fmt::write::h149259a69b3e2f89 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/fmt/mod.rs:1198:17 [INFO] [stdout] 5: 0x556a483876c5 - std::io::Write::write_fmt::h6d11f4b16fd2c9e6 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/io/mod.rs:1672:15 [INFO] [stdout] 6: 0x556a4838fbe1 - std::sys_common::backtrace::_print::h350a49f9ba10dc38 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x556a4838fbe1 - std::sys_common::backtrace::print::hc9483bcde74add9a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x556a4838fbe1 - std::panicking::default_hook::{{closure}}::h033c319db21062da [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x556a4838f836 - std::panicking::default_hook::h082702b84ddf9cba [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x556a48390283 - std::panicking::rust_panic_with_hook::hb5031567964b2362 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x556a48390177 - std::panicking::begin_panic_handler::{{closure}}::h040f81592aed215a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x556a4838e674 - std::sys_common::backtrace::__rust_end_short_backtrace::hb55752442d66befe [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x556a4838fea2 - rust_begin_unwind [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x556a475625c3 - core::panicking::panic_fmt::hab8e33512c332233 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panicking.rs:142:14 [INFO] [stdout] 15: 0x556a47562713 - core::result::unwrap_failed::ha596fafa7ca6c65c [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/result.rs:1805:5 [INFO] [stdout] 16: 0x556a4757c764 - core::result::Result::expect::h7eb14ffc206e7fad [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/result.rs:1055:23 [INFO] [stdout] 17: 0x556a475695b6 - health_check::subscribe_returns_a_200_for_valid_form_data::{{closure}}::hd06923d7c1ba3669 [INFO] [stdout] at /opt/rustwide/workdir/tests/health_check.rs:45:22 [INFO] [stdout] 18: 0x556a475819cc - as core::future::future::Future>::poll::h6616aa105ed4d47a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/future/mod.rs:91:19 [INFO] [stdout] 19: 0x556a4756fa7a - as core::future::future::Future>::poll::h3b0e7904ace4a140 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/future/future.rs:124:9 [INFO] [stdout] 20: 0x556a47575220 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::h825ce1fcc8fd2bc2 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:507:48 [INFO] [stdout] 21: 0x556a4756e920 - tokio::coop::with_budget::{{closure}}::hed5762d5f5054afb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/coop.rs:102:9 [INFO] [stdout] 22: 0x556a47565620 - std::thread::local::LocalKey::try_with::hb941ad6b5b5873b0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/local.rs:445:16 [INFO] [stdout] 23: 0x556a4756441d - std::thread::local::LocalKey::with::h59549fa09753d03b [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/local.rs:421:9 [INFO] [stdout] 24: 0x556a47574dcc - tokio::coop::with_budget::hb1c375801fbd4d32 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/coop.rs:95:5 [INFO] [stdout] 25: 0x556a47574dcc - tokio::coop::budget::h6c108d21dd5790a0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/coop.rs:72:5 [INFO] [stdout] 26: 0x556a47574dcc - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::{{closure}}::h1592fb11a0d4097f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:507:25 [INFO] [stdout] 27: 0x556a47571272 - tokio::runtime::basic_scheduler::Context::enter::h329247020cae07e9 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:361:19 [INFO] [stdout] 28: 0x556a475740b0 - tokio::runtime::basic_scheduler::CoreGuard::block_on::{{closure}}::h76fa1c71b8f6b115 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:506:36 [INFO] [stdout] 29: 0x556a4757359b - tokio::runtime::basic_scheduler::CoreGuard::enter::{{closure}}::h8b9d726cbb49c074 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:564:57 [INFO] [stdout] 30: 0x556a4757e287 - tokio::macros::scoped_tls::ScopedKey::set::h168a19e839b8ee17 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/macros/scoped_tls.rs:61:9 [INFO] [stdout] 31: 0x556a47572b77 - tokio::runtime::basic_scheduler::CoreGuard::enter::h298dc925897d7bcd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:564:27 [INFO] [stdout] 32: 0x556a47573630 - tokio::runtime::basic_scheduler::CoreGuard::block_on::h4721962d2faeda3a [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:497:9 [INFO] [stdout] 33: 0x556a4756fe55 - tokio::runtime::basic_scheduler::BasicScheduler::block_on::h135e3f9011685b32 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/basic_scheduler.rs:173:24 [INFO] [stdout] 34: 0x556a4756c030 - tokio::runtime::Runtime::block_on::ha01a7536a224d90c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.18.1/src/runtime/mod.rs:475:46 [INFO] [stdout] 35: 0x556a475690c9 - health_check::subscribe_returns_a_200_for_valid_form_data::h44180069e2857499 [INFO] [stdout] at /opt/rustwide/workdir/tests/health_check.rs:61:5 [INFO] [stdout] 36: 0x556a47568f7a - health_check::subscribe_returns_a_200_for_valid_form_data::{{closure}}::ha4eafa866fb488c3 [INFO] [stdout] at /opt/rustwide/workdir/tests/health_check.rs:37:7 [INFO] [stdout] 37: 0x556a4757aade - core::ops::function::FnOnce::call_once::h2521e3ef14a7022a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 38: 0x556a47845a83 - core::ops::function::FnOnce::call_once::ha7afe1ddf9a8665b [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 39: 0x556a47845a83 - test::__rust_begin_short_backtrace::h02df713062fe0d09 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:572:5 [INFO] [stdout] 40: 0x556a4784487c - as core::ops::function::FnOnce>::call_once::h4f2b36c78ff85792 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 41: 0x556a4784487c - as core::ops::function::FnOnce<()>>::call_once::h8624c6094a076c25 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 42: 0x556a4784487c - std::panicking::try::do_call::h0c501a0f7fa5bee0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:492:40 [INFO] [stdout] 43: 0x556a4784487c - std::panicking::try::h60ab49b272d3e4f0 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:456:19 [INFO] [stdout] 44: 0x556a4784487c - std::panic::catch_unwind::h5f34d55961997ae8 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panic.rs:137:14 [INFO] [stdout] 45: 0x556a4784487c - test::run_test_in_process::hcf99044408a39ffa [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:595:18 [INFO] [stdout] 46: 0x556a4784487c - test::run_test::run_test_inner::{{closure}}::h5f747e7c34969277 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:489:39 [INFO] [stdout] 47: 0x556a478107ec - test::run_test::run_test_inner::{{closure}}::hfbc9b7f814e7611c [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/test/src/lib.rs:516:37 [INFO] [stdout] 48: 0x556a478107ec - std::sys_common::backtrace::__rust_begin_short_backtrace::hc864e8be9763567e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 49: 0x556a478166ff - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h635fae7f98a9851a [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/mod.rs:505:17 [INFO] [stdout] 50: 0x556a478166ff - as core::ops::function::FnOnce<()>>::call_once::hb0e77e0fbf0b74e7 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 51: 0x556a478166ff - std::panicking::try::do_call::h843a2c7f433b6950 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:492:40 [INFO] [stdout] 52: 0x556a478166ff - std::panicking::try::h64dfa5d8b1ef556f [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panicking.rs:456:19 [INFO] [stdout] 53: 0x556a478166ff - std::panic::catch_unwind::h3af2f5bf220b9738 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/panic.rs:137:14 [INFO] [stdout] 54: 0x556a478166ff - std::thread::Builder::spawn_unchecked_::{{closure}}::h8fd0a07746213f59 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/thread/mod.rs:504:30 [INFO] [stdout] 55: 0x556a478166ff - core::ops::function::FnOnce::call_once{{vtable.shim}}::h589aaf080555aafb [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/core/src/ops/function.rs:248:5 [INFO] [stdout] 56: 0x556a48394bc3 - as core::ops::function::FnOnce>::call_once::h4a4c573311170bd5 [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 57: 0x556a48394bc3 - as core::ops::function::FnOnce>::call_once::h4c3a154b8915668e [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/alloc/src/boxed.rs:1934:9 [INFO] [stdout] 58: 0x556a48394bc3 - std::sys::unix::thread::Thread::new::thread_start::h9d4e5992c5fda7ce [INFO] [stdout] at /rustc/61cd42370816fd135c0f3b9debf2f5dfcf194594/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 59: 0x7f407b15f609 - start_thread [INFO] [stdout] 60: 0x7f407af2d133 - clone [INFO] [stdout] 61: 0x0 - [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.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test health_check' [INFO] running `Command { std: "docker" "inspect" "f67c2b390638326b5385adc9659d10b94a7234b922d3b815645b2a70aec34f88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f67c2b390638326b5385adc9659d10b94a7234b922d3b815645b2a70aec34f88", kill_on_drop: false }` [INFO] [stdout] f67c2b390638326b5385adc9659d10b94a7234b922d3b815645b2a70aec34f88