[INFO] cloning repository https://github.com/NaturelLee/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NaturelLee/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaturelLee%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaturelLee%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 31f20f5338ae534c43aea66290e1b5a399cd92d1 [INFO] testing NaturelLee/zero2prod against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNaturelLee%2Fzero2prod" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NaturelLee/zero2prod [INFO] finished tweaking git repo https://github.com/NaturelLee/zero2prod [INFO] tweaked toml for git repo https://github.com/NaturelLee/zero2prod written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NaturelLee/zero2prod on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NaturelLee/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded semver v1.0.23 [INFO] [stderr] Downloaded time-macros v0.2.18 [INFO] [stderr] Downloaded zstd-safe v7.2.1 [INFO] [stderr] Downloaded cpufeatures v0.2.13 [INFO] [stderr] Downloaded redox_syscall v0.5.3 [INFO] [stderr] Downloaded zstd v0.13.2 [INFO] [stderr] Downloaded derive_more v0.99.18 [INFO] [stderr] Downloaded mio v1.0.2 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded time v0.3.36 [INFO] [stderr] Downloaded serde_json v1.0.124 [INFO] [stderr] Downloaded zstd-sys v2.0.13+zstd.1.5.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee37bacfe6a1c4924cbd8ef090967c9df09b28e32e13067949d3d74014782230 [INFO] running `Command { std: "docker" "start" "-a" "ee37bacfe6a1c4924cbd8ef090967c9df09b28e32e13067949d3d74014782230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee37bacfe6a1c4924cbd8ef090967c9df09b28e32e13067949d3d74014782230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee37bacfe6a1c4924cbd8ef090967c9df09b28e32e13067949d3d74014782230", kill_on_drop: false }` [INFO] [stdout] ee37bacfe6a1c4924cbd8ef090967c9df09b28e32e13067949d3d74014782230 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66ce3e7aa7dbfecdde8f82d1e02ab39fc91bc54adf5a57bcceab5f84434867c2 [INFO] running `Command { std: "docker" "start" "-a" "66ce3e7aa7dbfecdde8f82d1e02ab39fc91bc54adf5a57bcceab5f84434867c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `email` and `name` are never read [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | 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 `dev` profile [unoptimized + debuginfo] target(s) in 52.35s [INFO] running `Command { std: "docker" "inspect" "66ce3e7aa7dbfecdde8f82d1e02ab39fc91bc54adf5a57bcceab5f84434867c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ce3e7aa7dbfecdde8f82d1e02ab39fc91bc54adf5a57bcceab5f84434867c2", kill_on_drop: false }` [INFO] [stdout] 66ce3e7aa7dbfecdde8f82d1e02ab39fc91bc54adf5a57bcceab5f84434867c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03c89bff99beb1bffa4743e03ed167e498143ab51c76758bec3dc3798f84fdf7 [INFO] running `Command { std: "docker" "start" "-a" "03c89bff99beb1bffa4743e03ed167e498143ab51c76758bec3dc3798f84fdf7", kill_on_drop: false }` [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.8.0 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustls-pemfile v2.1.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.207 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.207 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.5 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `email` and `name` are never read [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `email` and `name` are never read [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | struct FormData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 41 | email: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | 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 `test` profile [unoptimized + debuginfo] target(s) in 52.80s [INFO] running `Command { std: "docker" "inspect" "03c89bff99beb1bffa4743e03ed167e498143ab51c76758bec3dc3798f84fdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03c89bff99beb1bffa4743e03ed167e498143ab51c76758bec3dc3798f84fdf7", kill_on_drop: false }` [INFO] [stdout] 03c89bff99beb1bffa4743e03ed167e498143ab51c76758bec3dc3798f84fdf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77c69213c0ed408f9754650f0e0caa96ece66e3f22d95517a0a9c4ab917f63b4 [INFO] running `Command { std: "docker" "start" "-a" "77c69213c0ed408f9754650f0e0caa96ece66e3f22d95517a0a9c4ab917f63b4", kill_on_drop: false }` [INFO] [stderr] warning: fields `email` and `name` are never read [INFO] [stderr] --> src/lib.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 40 | struct FormData { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 41 | email: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 42 | 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` (lib) generated 1 warning [INFO] [stderr] warning: `zero2prod` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zero2prod-e09648200ff967e4) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/zero2prod-9ed347dba2dbceb2) [INFO] [stdout] running 0 tests [INFO] [stderr] Running tests/health_check.rs (/opt/rustwide/target/debug/deps/health_check-77af8814574ab991) [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 ... ok [INFO] [stdout] test subscribe_returns_a_400_when_data_is_missing ... ok [INFO] [stdout] test health_check_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] Doc-tests zero2prod [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] running `Command { std: "docker" "inspect" "77c69213c0ed408f9754650f0e0caa96ece66e3f22d95517a0a9c4ab917f63b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77c69213c0ed408f9754650f0e0caa96ece66e3f22d95517a0a9c4ab917f63b4", kill_on_drop: false }` [INFO] [stdout] 77c69213c0ed408f9754650f0e0caa96ece66e3f22d95517a0a9c4ab917f63b4