[INFO] cloning repository https://github.com/rainingdays/z2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rainingdays/z2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainingdays%2Fz2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainingdays%2Fz2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 402ea4599a404f2991ccfb7794b3dd94269d143d [INFO] checking rainingdays/z2prod/402ea4599a404f2991ccfb7794b3dd94269d143d against master#568b11762723b001bfa693d0f21c5dad01d4e813 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frainingdays%2Fz2prod" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rainingdays/z2prod [INFO] finished tweaking git repo https://github.com/rainingdays/z2prod [INFO] tweaked toml for git repo https://github.com/rainingdays/z2prod written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rainingdays/z2prod on toolchain 568b11762723b001bfa693d0f21c5dad01d4e813 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rainingdays/z2prod 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" "+568b11762723b001bfa693d0f21c5dad01d4e813" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 5 packages to latest compatible versions [INFO] [stderr] Adding argon2 v0.3.4 (available: v0.5.3) [INFO] [stderr] Adding base64ct v1.0.1 (available: v1.8.1) [INFO] [stderr] Adding blake2 v0.10.6 [INFO] [stderr] Adding password-hash v0.3.2 [INFO] [stderr] Downgrading subtle v2.6.1 -> v2.4.1 (available: v2.6.1) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded crc-catalog v2.4.0 [INFO] [stderr] Downloaded validator_types v0.14.0 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded quickcheck_macros v0.9.1 [INFO] [stderr] Downloaded base64ct v1.0.1 [INFO] [stderr] Downloaded argon2 v0.3.4 [INFO] [stderr] Downloaded password-hash v0.3.2 [INFO] [stderr] Downloaded fake v2.3.0 [INFO] [stderr] Downloaded publicsuffix v2.2.3 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded unicode_categories v0.1.1 [INFO] [stderr] Downloaded sqlx v0.6.3 [INFO] [stderr] Downloaded serde_json v1.0.118 [INFO] [stderr] Downloaded hkdf v0.12.4 [INFO] [stderr] Downloaded actix-http v3.8.0 [INFO] [stderr] Downloaded syn v2.0.68 [INFO] [stderr] Downloaded tokio-util v0.7.11 [INFO] [stderr] Downloaded actix-web v4.8.0 [INFO] [stderr] Downloaded rustls v0.20.9 [INFO] [stderr] Downloaded object v0.36.1 [INFO] [stderr] Downloaded sqlx-core v0.6.3 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Downloaded cc v1.0.101 [INFO] [stderr] Downloaded webpki v0.22.4 [INFO] [stderr] Downloaded cookie_store v0.20.0 [INFO] [stderr] Downloaded unicode-properties v0.1.1 [INFO] [stderr] Downloaded actix-server v2.4.0 [INFO] [stderr] Downloaded async-trait v0.1.81 [INFO] [stderr] Downloaded wiremock v0.5.22 [INFO] [stderr] Downloaded linkify v0.8.1 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded cookie v0.17.0 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded whoami v1.5.1 [INFO] [stderr] Downloaded sqlx-macros v0.6.3 [INFO] [stderr] Downloaded zstd-safe v7.2.0 [INFO] [stderr] Downloaded tracing-actix-web v0.5.1 [INFO] [stderr] Downloaded deadpool v0.9.5 [INFO] [stderr] Downloaded dirs v4.0.0 [INFO] [stderr] Downloaded serde_qs v0.8.5 [INFO] [stderr] Downloaded tinyvec v1.6.1 [INFO] [stderr] Downloaded serde-aux v3.1.0 [INFO] [stderr] Downloaded zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Downloaded atoi v1.0.0 [INFO] [stderr] Downloaded dirs-sys v0.3.7 [INFO] [stderr] Downloaded sqlx-rt v0.6.3 [INFO] [stderr] Downloaded validator v0.14.0 [INFO] [stderr] Downloaded infer v0.2.3 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded retain_mut v0.1.9 [INFO] [stderr] Downloaded http-types v2.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3606f9d7aa629289405081095eca1cbc82150f8ef54baf37b80367d4cd549023 [INFO] running `Command { std: "docker" "start" "-a" "3606f9d7aa629289405081095eca1cbc82150f8ef54baf37b80367d4cd549023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3606f9d7aa629289405081095eca1cbc82150f8ef54baf37b80367d4cd549023", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3606f9d7aa629289405081095eca1cbc82150f8ef54baf37b80367d4cd549023", kill_on_drop: false }` [INFO] [stdout] 3606f9d7aa629289405081095eca1cbc82150f8ef54baf37b80367d4cd549023 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+568b11762723b001bfa693d0f21c5dad01d4e813" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68fc8ae9584ae4f3394183841129ff3a885fd337180b8388474dbbb829568c43 [INFO] running `Command { std: "docker" "start" "-a" "68fc8ae9584ae4f3394183841129ff3a885fd337180b8388474dbbb829568c43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.118 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking tinyvec v1.6.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling zstd-safe v7.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v2.0.12+zstd.1.5.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling claim v0.5.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking base64ct v1.0.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking password-hash v0.3.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking gethostname v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking argon2 v0.3.4 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking fake v2.3.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking retain_mut v0.1.9 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking linkify v0.8.1 [INFO] [stderr] Checking quickcheck v0.9.2 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking validator_types v0.14.0 [INFO] [stderr] Compiling quickcheck_macros v0.9.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking deadpool v0.9.5 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking sqlx-rt v0.6.3 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking validator v0.14.0 [INFO] [stderr] Checking tracing-bunyan-formatter v0.3.9 [INFO] [stderr] Checking serde-aux v3.1.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking actix-web v4.8.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking wiremock v0.5.22 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tracing-actix-web v0.5.1 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking z2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: failed to find data for query [INFO] [stdout] Select email From subscriptions Where status='confirmed' [INFO] [stdout] --> src/routes/newsletters.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 23 | | Row, [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | Select email From subscriptions Where status='confirmed'"#, [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Select user_id From users Where username=$1 And password_hash=$2 [INFO] [stdout] --> src/routes/newsletters.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | let user_id: Option<_> = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 189 | | r##"Select user_id From users Where username=$1 And password_hash=$2"##, [INFO] [stdout] 190 | | credentials.username, [INFO] [stdout] 191 | | password_hash [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Insert Into subscription_tokens(subscription_token, subscriber_id) [INFO] [stdout] Values ($1, $2) [INFO] [stdout] --> src/routes/subscriptions.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | / sqlx::query!( [INFO] [stdout] 176 | | r#"Insert Into subscription_tokens(subscription_token, subscriber_id) [INFO] [stdout] 177 | | Values ($1, $2)"#, [INFO] [stdout] 178 | | subscription_token, [INFO] [stdout] 179 | | subscriber_id [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query [INFO] [stdout] Insert Into subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] Values ($1, $2, $3,$4, 'pending_confirmation') [INFO] [stdout] --> src/routes/subscriptions.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | Insert Into subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 230 | | Values ($1, $2, $3,$4, 'pending_confirmation')"#, [INFO] [stdout] ... | [INFO] [stdout] 235 | | Utc::now() [INFO] [stdout] 236 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query [INFO] [stdout] Select email From subscriptions Where status='confirmed' [INFO] [stdout] --> src/routes/newsletters.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | let rows = sqlx::query_as!( [INFO] [stdout] | ________________^ [INFO] [stdout] 23 | | Row, [INFO] [stdout] 24 | | r#" [INFO] [stdout] 25 | | Select email From subscriptions Where status='confirmed'"#, [INFO] [stdout] 26 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Select subscriber_id From subscription_tokens Where subscription_token=$1 [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 33 | | r#"Select subscriber_id From subscription_tokens Where subscription_token=$1"#, [INFO] [stdout] 34 | | subscription_token [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Select user_id From users Where username=$1 And password_hash=$2 [INFO] [stdout] --> src/routes/newsletters.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | let user_id: Option<_> = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 189 | | r##"Select user_id From users Where username=$1 And password_hash=$2"##, [INFO] [stdout] 190 | | credentials.username, [INFO] [stdout] 191 | | password_hash [INFO] [stdout] 192 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Update subscriptions Set status='confirmed' Where id=$1 [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query!( [INFO] [stdout] 47 | | r#"Update subscriptions Set status='confirmed' Where id=$1"#, [INFO] [stdout] 48 | | subscriber_id [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Insert Into subscription_tokens(subscription_token, subscriber_id) [INFO] [stdout] Values ($1, $2) [INFO] [stdout] --> src/routes/subscriptions.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | / sqlx::query!( [INFO] [stdout] 176 | | r#"Insert Into subscription_tokens(subscription_token, subscriber_id) [INFO] [stdout] 177 | | Values ($1, $2)"#, [INFO] [stdout] 178 | | subscription_token, [INFO] [stdout] 179 | | subscriber_id [INFO] [stdout] 180 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query [INFO] [stdout] Insert Into subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] Values ($1, $2, $3,$4, 'pending_confirmation') [INFO] [stdout] --> src/routes/subscriptions.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | Insert Into subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 230 | | Values ($1, $2, $3,$4, 'pending_confirmation')"#, [INFO] [stdout] ... | [INFO] [stdout] 235 | | Utc::now() [INFO] [stdout] 236 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Select subscriber_id From subscription_tokens Where subscription_token=$1 [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 33 | | r#"Select subscriber_id From subscription_tokens Where subscription_token=$1"#, [INFO] [stdout] 34 | | subscription_token [INFO] [stdout] 35 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: failed to find data for query Update subscriptions Set status='confirmed' Where id=$1 [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query!( [INFO] [stdout] 47 | | r#"Update subscriptions Set status='confirmed' Where id=$1"#, [INFO] [stdout] 48 | | subscriber_id [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/configuration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileFormat` [INFO] [stdout] --> src/configuration.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{File, FileFormat}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header::LOCATION` [INFO] [stdout] --> src/routes/login/post.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::http::header::LOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/routes/subscriptions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvTimeoutError` [INFO] [stdout] --> src/routes/subscriptions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::RecvTimeoutError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/routes/subscriptions.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgConnection` [INFO] [stdout] --> src/routes/subscriptions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::subscriber::set_global_default` [INFO] [stdout] --> src/routes/subscriptions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::subscriber::set_global_default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Instrument` [INFO] [stdout] --> src/routes/subscriptions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BunyanFormattingLayer` and `JsonStorageLayer` [INFO] [stdout] --> src/routes/subscriptions.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing_bunyan_formatter::{BunyanFormattingLayer, JsonStorageLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter`, `Registry`, and `layer::SubscriberExt` [INFO] [stdout] --> src/routes/subscriptions.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/routes/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use subscriptions::*; [INFO] [stdout] | ---------------- but the name `FormData` in the type namespace is also re-exported here [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub use login::*; [INFO] [stdout] | ^^^^^^^^ the name `FormData` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/startup.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::configuration::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::middleware::Logger` [INFO] [stdout] --> src/startup.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::middleware::Logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Env` [INFO] [stdout] --> src/startup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use env_logger::Env; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Logger as Logger_processor` [INFO] [stdout] --> src/startup.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use env_logger::Logger as Logger_processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/configuration.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FileFormat` [INFO] [stdout] --> src/configuration.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use config::{File, FileFormat}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/email_client.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `subscriber_email` [INFO] [stdout] --> src/email_client.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::domain::{subscriber_email, SubscriberEmail}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Faker` [INFO] [stdout] --> src/email_client.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | use fake::{Fake, Faker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path` [INFO] [stdout] --> src/email_client.rs:82:66 [INFO] [stdout] | [INFO] [stdout] 82 | use wiremock::matchers::{any, header, header_exists, method, path}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::http::header::LOCATION` [INFO] [stdout] --> src/routes/login/post.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::http::header::LOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/routes/subscriptions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc::RecvTimeoutError` [INFO] [stdout] --> src/routes/subscriptions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::RecvTimeoutError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/routes/subscriptions.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlx::PgConnection` [INFO] [stdout] --> src/routes/subscriptions.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use sqlx::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::subscriber::set_global_default` [INFO] [stdout] --> src/routes/subscriptions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tracing::subscriber::set_global_default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Instrument` [INFO] [stdout] --> src/routes/subscriptions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BunyanFormattingLayer` and `JsonStorageLayer` [INFO] [stdout] --> src/routes/subscriptions.rs:20:32 [INFO] [stdout] | [INFO] [stdout] 20 | use tracing_bunyan_formatter::{BunyanFormattingLayer, JsonStorageLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EnvFilter`, `Registry`, and `layer::SubscriberExt` [INFO] [stdout] --> src/routes/subscriptions.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/routes/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use subscriptions::*; [INFO] [stdout] | ---------------- but the name `FormData` in the type namespace is also re-exported here [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub use login::*; [INFO] [stdout] | ^^^^^^^^ the name `FormData` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/startup.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::configuration::{self, *}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::middleware::Logger` [INFO] [stdout] --> src/startup.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::middleware::Logger; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Env` [INFO] [stdout] --> src/startup.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use env_logger::Env; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env_logger::Logger as Logger_processor` [INFO] [stdout] --> src/startup.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use env_logger::Logger as Logger_processor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/newsletters.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let rows = sqlx::query_as!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | let confirmed_subscribers = rows [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let rows: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/newsletters.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let rows = sqlx::query_as!( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | let confirmed_subscribers = rows [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 22 | let rows: /* Type */ = sqlx::query_as!( [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/newsletters.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | let user_id: Option<_> = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 189 | | r##"Select user_id From users Where username=$1 And password_hash=$2"##, [INFO] [stdout] 190 | | credentials.username, [INFO] [stdout] 191 | | password_hash [INFO] [stdout] 192 | | ) [INFO] [stdout] 193 | | .fetch_optional(pool) [INFO] [stdout] 194 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/newsletters.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | let user_id: Option<_> = sqlx::query!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 189 | | r##"Select user_id From users Where username=$1 And password_hash=$2"##, [INFO] [stdout] 190 | | credentials.username, [INFO] [stdout] 191 | | password_hash [INFO] [stdout] 192 | | ) [INFO] [stdout] 193 | | .fetch_optional(pool) [INFO] [stdout] 194 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | / sqlx::query!( [INFO] [stdout] 176 | | r#"Insert Into subscription_tokens(subscription_token, subscriber_id) [INFO] [stdout] 177 | | Values ($1, $2)"#, [INFO] [stdout] 178 | | subscription_token, [INFO] [stdout] ... | [INFO] [stdout] 181 | | .execute(transaction) [INFO] [stdout] 182 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | / sqlx::query!( [INFO] [stdout] 176 | | r#"Insert Into subscription_tokens(subscription_token, subscriber_id) [INFO] [stdout] 177 | | Values ($1, $2)"#, [INFO] [stdout] 178 | | subscription_token, [INFO] [stdout] ... | [INFO] [stdout] 181 | | .execute(transaction) [INFO] [stdout] 182 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | Insert Into subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 230 | | Values ($1, $2, $3,$4, 'pending_confirmation')"#, [INFO] [stdout] ... | [INFO] [stdout] 237 | | .execute(transaction) [INFO] [stdout] 238 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | / sqlx::query!( [INFO] [stdout] 228 | | r#" [INFO] [stdout] 229 | | Insert Into subscriptions (id, email, name, subscribed_at, status) [INFO] [stdout] 230 | | Values ($1, $2, $3,$4, 'pending_confirmation')"#, [INFO] [stdout] ... | [INFO] [stdout] 237 | | .execute(transaction) [INFO] [stdout] 238 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 33 | | r#"Select subscriber_id From subscription_tokens Where subscription_token=$1"#, [INFO] [stdout] 34 | | subscription_token [INFO] [stdout] ... | [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 33 | | r#"Select subscriber_id From subscription_tokens Where subscription_token=$1"#, [INFO] [stdout] 34 | | subscription_token [INFO] [stdout] ... | [INFO] [stdout] 37 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query!( [INFO] [stdout] 47 | | r#"Update subscriptions Set status='confirmed' Where id=$1"#, [INFO] [stdout] 48 | | subscriber_id [INFO] [stdout] ... | [INFO] [stdout] 51 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/routes/subscriptions_confirm.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / sqlx::query!( [INFO] [stdout] 47 | | r#"Update subscriptions Set status='confirmed' Where id=$1"#, [INFO] [stdout] 48 | | subscriber_id [INFO] [stdout] ... | [INFO] [stdout] 51 | | .await [INFO] [stdout] | |__________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Subscriber` [INFO] [stdout] --> src/routes/subscriptions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::Subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::Subscriber` [INFO] [stdout] --> src/routes/subscriptions.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tracing::Subscriber; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/routes/newsletters.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirmation_link` [INFO] [stdout] --> src/routes/subscriptions.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let confirmation_link = "https://my-api.com/subscriptions/confirm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirmation_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/routes/newsletters.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | Err(error) => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `confirmation_link` [INFO] [stdout] --> src/routes/subscriptions.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | let confirmation_link = "https://my-api.com/subscriptions/confirm"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_confirmation_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `z2prod` (lib) due to 12 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `z2prod` (lib test) due to 12 previous errors; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "68fc8ae9584ae4f3394183841129ff3a885fd337180b8388474dbbb829568c43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68fc8ae9584ae4f3394183841129ff3a885fd337180b8388474dbbb829568c43", kill_on_drop: false }` [INFO] [stdout] 68fc8ae9584ae4f3394183841129ff3a885fd337180b8388474dbbb829568c43