[INFO] cloning repository https://github.com/ubadineke/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ubadineke/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubadineke%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubadineke%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f210b04f50b7287588ca1f3805eec66b6edd2a3a [INFO] testing ubadineke/zero2prod against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fubadineke%2Fzero2prod" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ubadineke/zero2prod [INFO] finished tweaking git repo https://github.com/ubadineke/zero2prod [INFO] tweaked toml for git repo https://github.com/ubadineke/zero2prod written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ubadineke/zero2prod on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ubadineke/zero2prod 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded once_cell v1.20.3 [INFO] [stderr] Downloaded wit-bindgen-rt v0.33.0 [INFO] [stderr] Downloaded windows-registry v0.2.0 [INFO] [stderr] Downloaded native-tls v0.2.13 [INFO] [stderr] Downloaded actix-rt v2.10.0 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded semver v1.0.25 [INFO] [stderr] Downloaded actix-server v2.5.0 [INFO] [stderr] Downloaded httparse v1.10.0 [INFO] [stderr] Downloaded flate2 v1.0.35 [INFO] [stderr] Downloaded cc v1.2.13 [INFO] [stderr] Downloaded openssl-sys v0.9.105 [INFO] [stderr] Downloaded wasi v0.13.3+wasi-0.2.2 [INFO] [stderr] Downloaded actix-http v3.9.0 [INFO] [stderr] Downloaded brotli-decompressor v4.0.2 [INFO] [stderr] Downloaded serde_json v1.0.138 [INFO] [stderr] Downloaded syn v2.0.98 [INFO] [stderr] Downloaded reqwest v0.12.12 [INFO] [stderr] Downloaded actix-web v4.9.0 [INFO] [stderr] Downloaded miniz_oxide v0.8.4 [INFO] [stderr] Downloaded openssl v0.10.70 [INFO] [stderr] Downloaded derive_more v0.99.19 [INFO] [stderr] Downloaded rustls-pki-types v1.11.0 [INFO] [stderr] Downloaded ryu v1.0.19 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded getrandom v0.3.1 [INFO] [stderr] Downloaded tempfile v3.16.0 [INFO] [stderr] Downloaded bytes v1.10.0 [INFO] [stderr] Downloaded bitflags v2.8.0 [INFO] [stderr] Downloaded unicode-ident v1.0.16 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Downloaded brotli v6.0.0 [INFO] [stderr] Downloaded ring v0.17.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2eace3137fa5b34180dd0e4518313603fea2e43bce3aea6c4792ef412a22ea7c [INFO] running `Command { std: "docker" "start" "-a" "2eace3137fa5b34180dd0e4518313603fea2e43bce3aea6c4792ef412a22ea7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2eace3137fa5b34180dd0e4518313603fea2e43bce3aea6c4792ef412a22ea7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eace3137fa5b34180dd0e4518313603fea2e43bce3aea6c4792ef412a22ea7c", kill_on_drop: false }` [INFO] [stdout] 2eace3137fa5b34180dd0e4518313603fea2e43bce3aea6c4792ef412a22ea7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73199346934ac79c1be2218f6029d10224c496f6d77693d3595c31505f3c4143 [INFO] running `Command { std: "docker" "start" "-a" "73199346934ac79c1be2218f6029d10224c496f6d77693d3595c31505f3c4143", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling once_cell v1.20.3 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling httparse v1.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling miniz_oxide v0.8.4 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | async fn health_check(req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 21s [INFO] running `Command { std: "docker" "inspect" "73199346934ac79c1be2218f6029d10224c496f6d77693d3595c31505f3c4143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73199346934ac79c1be2218f6029d10224c496f6d77693d3595c31505f3c4143", kill_on_drop: false }` [INFO] [stdout] 73199346934ac79c1be2218f6029d10224c496f6d77693d3595c31505f3c4143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 361f712294178a642792c12c184bb19ea431efdb6bcb76af21469c9bed471028 [INFO] running `Command { std: "docker" "start" "-a" "361f712294178a642792c12c184bb19ea431efdb6bcb76af21469c9bed471028", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling openssl-sys v0.9.105 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling openssl v0.10.70 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.13 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | async fn health_check(req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lib.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | async fn health_check(req: HttpRequest) -> impl Responder { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "361f712294178a642792c12c184bb19ea431efdb6bcb76af21469c9bed471028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "361f712294178a642792c12c184bb19ea431efdb6bcb76af21469c9bed471028", kill_on_drop: false }` [INFO] [stdout] 361f712294178a642792c12c184bb19ea431efdb6bcb76af21469c9bed471028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a65598679b97be168ee4b54501da254ed495e45fe407c4bd342fec5d81505ae [INFO] running `Command { std: "docker" "start" "-a" "8a65598679b97be168ee4b54501da254ed495e45fe407c4bd342fec5d81505ae", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: target.x86_64-unknown-linux-gnu.rustflags [INFO] [stderr] warning: unused variable: `req` [INFO] [stderr] --> src/lib.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | async fn health_check(req: HttpRequest) -> impl Responder { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `zero2prod` (lib) generated 1 warning (run `cargo fix --lib -p zero2prod` to apply 1 suggestion) [INFO] [stderr] warning: `zero2prod` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zero2prod-61e3ed1f4bc4299d) [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-81a7c9903edc9b17) [INFO] [stdout] [INFO] [stderr] Running tests/health_check.rs (/opt/rustwide/target/debug/deps/health_check-03693e97ba918be4) [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 1 test [INFO] [stdout] test health_check_works ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- health_check_works stdout ---- [INFO] [stdout] Some(19) [INFO] [stdout] [INFO] [stdout] thread 'health_check_works' (19) panicked at tests/health_check.rs:16:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Some(0) [INFO] [stdout] right: Some(19) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x572535568322 - std::backtrace_rs::backtrace::libunwind::trace::ha50a1f28c7a10cf8 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x572535568322 - std::backtrace_rs::backtrace::trace_unsynchronized::h34f8c4ec82a320bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x572535568322 - std::sys::backtrace::_print_fmt::h2d23e84e13d343bc [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x572535568322 - ::fmt::hde21067283f7e82e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x57253557abbf - core::fmt::rt::Argument::fmt::he65307037dca33c6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x57253557abbf - core::fmt::write::h24186904251c31cb [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x572535534283 - std::io::default_write_fmt::h4e8d11c5c4b9cafe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x572535534283 - std::io::Write::write_fmt::ha849be0824d095ef [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x572535540eb2 - std::sys::backtrace::BacktraceLock::print::he038489aba5894a6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x572535545d0f - std::panicking::default_hook::{{closure}}::h80a26d916c49679b [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x572535545ba1 - std::panicking::default_hook::he2e9efee79b3dce9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x57253545138e - as core::ops::function::Fn>::call::h202f496763929329 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x57253545138e - test::test_main_with_exit_callback::{{closure}}::h805a6913adddaea3 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5725355463cf - as core::ops::function::Fn>::call::h2883c9d2dbd4e81c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x5725355463cf - std::panicking::panic_with_hook::hf5648b7cec6bc73e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x57253554617a - std::panicking::panic_handler::{{closure}}::h1b2ed3864ba94359 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x572535540ff9 - std::sys::backtrace::__rust_end_short_backtrace::hd0186b2b27f5aaa7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5725355288bd - __rustc[f7dae8b92efe1d7a]::rust_begin_unwind [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x572535584530 - core::panicking::panic_fmt::hb5d6b83773432920 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x572535584333 - core::panicking::assert_failed_inner::ha59fbb70905830e9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:444:17 [INFO] [stdout] 20: 0x572534b97ae9 - core::panicking::assert_failed::hd3cb013ea9e03922 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panicking.rs:399:5 [INFO] [stdout] 21: 0x572534b9749f - health_check::health_check_works::{{closure}}::h86597bd90eb07367 [INFO] [stdout] at /opt/rustwide/workdir/tests/health_check.rs:16:5 [INFO] [stdout] 22: 0x572534b9cd22 - as core::future::future::Future>::poll::h8d7c6b6ae5f0bf1c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/future/future.rs:133:9 [INFO] [stdout] 23: 0x572534b9cd5d - as core::future::future::Future>::poll::hdbace12a9191b01c [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/future/future.rs:133:9 [INFO] [stdout] 24: 0x572534b96abd - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::{{closure}}::ha4d90bc1fff23e0d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:73 [INFO] [stdout] 25: 0x572534b9682b - tokio::runtime::coop::with_budget::h71f002d979cf2eca [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:107:5 [INFO] [stdout] 26: 0x572534b9682b - tokio::runtime::coop::budget::h22c12b1cbe0e3e38 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/coop.rs:73:5 [INFO] [stdout] 27: 0x572534b9682b - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::{{closure}}::h7cbd090c31d7a5eb [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:729:25 [INFO] [stdout] 28: 0x572534b94110 - tokio::runtime::scheduler::current_thread::Context::enter::hdce6ab197eaba207 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:428:19 [INFO] [stdout] 29: 0x572534b95ee0 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::{{closure}}::h63302da2376a0888 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:728:44 [INFO] [stdout] 30: 0x572534b95104 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::{{closure}}::h8be1e2037d86af81 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:68 [INFO] [stdout] 31: 0x572534b9a8cb - tokio::runtime::context::scoped::Scoped::set::hbbc7ae61d985c5bc [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/scoped.rs:40:9 [INFO] [stdout] 32: 0x572534b9a4b9 - tokio::runtime::context::set_scheduler::{{closure}}::hd5aa1e58331247d7 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:38 [INFO] [stdout] 33: 0x572534b88c52 - std::thread::local::LocalKey::try_with::hd533c53794c0627a [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/local.rs:508:12 [INFO] [stdout] 34: 0x572534b87dae - std::thread::local::LocalKey::with::h42b22a00b5e24410 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/local.rs:472:20 [INFO] [stdout] 35: 0x572534b9a3ed - tokio::runtime::context::set_scheduler::h9de3ee7b6ac10baa [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context.rs:180:17 [INFO] [stdout] 36: 0x572534b94e90 - tokio::runtime::scheduler::current_thread::CoreGuard::enter::hdeded7d61e9e2495 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:807:27 [INFO] [stdout] 37: 0x572534b95183 - tokio::runtime::scheduler::current_thread::CoreGuard::block_on::h328d06a51f3b0013 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:716:24 [INFO] [stdout] 38: 0x572534b92ee3 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::{{closure}}::h7cbce5664399a70c [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:196:33 [INFO] [stdout] 39: 0x572534b9b0e0 - tokio::runtime::context::runtime::enter_runtime::h9560059c692c3c26 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/context/runtime.rs:65:16 [INFO] [stdout] 40: 0x572534b92931 - tokio::runtime::scheduler::current_thread::CurrentThread::block_on::ha05e276abc06aefd [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/scheduler/current_thread/mod.rs:184:9 [INFO] [stdout] 41: 0x572534b9bca4 - tokio::runtime::runtime::Runtime::block_on_inner::h6af2b2e2f6d2fa3d [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:368:52 [INFO] [stdout] 42: 0x572534b9bf77 - tokio::runtime::runtime::Runtime::block_on::h66dc82388c84c673 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/runtime/runtime.rs:342:18 [INFO] [stdout] 43: 0x572534b96fd5 - health_check::health_check_works::h74931ffc3029310a [INFO] [stdout] at /opt/rustwide/workdir/tests/health_check.rs:16:51 [INFO] [stdout] 44: 0x572534b97077 - health_check::health_check_works::{{closure}}::h1877c7666dc0ae98 [INFO] [stdout] at /opt/rustwide/workdir/tests/health_check.rs:2:30 [INFO] [stdout] 45: 0x572534b8a1e6 - core::ops::function::FnOnce::call_once::h12b6fd29e5f03e76 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 46: 0x5725354511fb - core::ops::function::FnOnce::call_once::h3a2d82edd1a9b770 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 47: 0x5725354511fb - test::__rust_begin_short_backtrace::h85d4fe5033219107 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:663:18 [INFO] [stdout] 48: 0x5725354651ed - test::run_test_in_process::{{closure}}::h67b48a81b9c9d7b6 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:74 [INFO] [stdout] 49: 0x5725354651ed - as core::ops::function::FnOnce<()>>::call_once::h7680585480377cb5 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 50: 0x5725354651ed - std::panicking::catch_unwind::do_call::hf71351b2657d4002 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 51: 0x5725354651ed - std::panicking::catch_unwind::h7fcb5c0312d9e172 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 52: 0x5725354651ed - std::panic::catch_unwind::h5cf3c9bdee894ebe [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 53: 0x5725354651ed - test::run_test_in_process::h1469cb85193a3a25 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:686:27 [INFO] [stdout] 54: 0x5725354651ed - test::run_test::{{closure}}::h59d45b3cd6453d69 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:607:43 [INFO] [stdout] 55: 0x57253543e734 - test::run_test::{{closure}}::h9baa0c3d443f28c9 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/test/src/lib.rs:637:41 [INFO] [stdout] 56: 0x57253543e734 - std::sys::backtrace::__rust_begin_short_backtrace::h97ea8cee4828663e [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 57: 0x572535441f8a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h5d7539d5f78cee61 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 58: 0x572535441f8a - as core::ops::function::FnOnce<()>>::call_once::he4c551e23c5e9b22 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 59: 0x572535441f8a - std::panicking::catch_unwind::do_call::h522b41a6c157aaba [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:590:40 [INFO] [stdout] 60: 0x572535441f8a - std::panicking::catch_unwind::h0efbf72006b8e365 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panicking.rs:553:19 [INFO] [stdout] 61: 0x572535441f8a - std::panic::catch_unwind::h3b081041e6c97066 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/panic.rs:359:14 [INFO] [stdout] 62: 0x572535441f8a - std::thread::Builder::spawn_unchecked_::{{closure}}::ha751309815d5d8cf [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 63: 0x572535441f8a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h2084b887a5fe25a7 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 64: 0x57253553c3ef - as core::ops::function::FnOnce>::call_once::h3adbd6ccf5f737af [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 65: 0x57253553c3ef - std::sys::thread::unix::Thread::new::thread_start::hb3dc6483caa1b987 [INFO] [stdout] at /rustc/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 66: 0x7b906ac14aa4 - [INFO] [stdout] 67: 0x7b906aca1a64 - clone [INFO] [stdout] 68: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] health_check_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test health_check` [INFO] running `Command { std: "docker" "inspect" "8a65598679b97be168ee4b54501da254ed495e45fe407c4bd342fec5d81505ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a65598679b97be168ee4b54501da254ed495e45fe407c4bd342fec5d81505ae", kill_on_drop: false }` [INFO] [stdout] 8a65598679b97be168ee4b54501da254ed495e45fe407c4bd342fec5d81505ae