[INFO] cloning repository https://github.com/CountryHands/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CountryHands/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountryHands%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountryHands%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d19f50352a908272a4a76474a870a475978c6e84 [INFO] checking CountryHands/zero2prod against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCountryHands%2Fzero2prod" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CountryHands/zero2prod on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CountryHands/zero2prod [INFO] finished tweaking git repo https://github.com/CountryHands/zero2prod [INFO] tweaked toml for git repo https://github.com/CountryHands/zero2prod written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/CountryHands/zero2prod already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing-actix-web v0.4.0-beta.14 [INFO] [stderr] Downloaded tracing-bunyan-formatter v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b0727ac02c7758582a3805ba9031007b2755e801408f0d8b73966c30ce92cae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3b0727ac02c7758582a3805ba9031007b2755e801408f0d8b73966c30ce92cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b0727ac02c7758582a3805ba9031007b2755e801408f0d8b73966c30ce92cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b0727ac02c7758582a3805ba9031007b2755e801408f0d8b73966c30ce92cae", kill_on_drop: false }` [INFO] [stdout] 3b0727ac02c7758582a3805ba9031007b2755e801408f0d8b73966c30ce92cae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be11d571e0df11e825c36451835caf120e796cb122caf77a3c53b81f7a04e17a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be11d571e0df11e825c36451835caf120e796cb122caf77a3c53b81f7a04e17a", 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] Compiling libc v0.2.103 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking local-waker v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling whoami v1.1.5 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling zstd-safe v3.1.0+zstd.1.4.9 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling unicode-bidi v0.3.6 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling firestorm v0.4.6 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Compiling tokio v1.12.0 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking sharded-slab v0.1.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling crc v2.0.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking actix-service v2.0.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking gethostname v0.2.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.67 [INFO] [stderr] Compiling zstd-sys v1.5.0+zstd.1.4.9 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Compiling actix-macros v0.2.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking actix-server v2.0.0-beta.5 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.6 [INFO] [stderr] Checking sqlx-rt v0.5.9 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking actix-router v0.5.0-beta.2 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking sqlx-core v0.5.9 [INFO] [stderr] Checking tracing-subscriber v0.2.25 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.4 [INFO] [stderr] Checking tracing-bunyan-formatter v0.2.6 [INFO] [stderr] Checking zstd v0.7.0+zstd.1.4.9 [INFO] [stderr] Checking actix-http v3.0.0-beta.10 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Checking actix-web v4.0.0-beta.9 [INFO] [stderr] Checking tracing-actix-web v0.4.0-beta.14 [INFO] [stderr] Checking sqlx v0.5.9 [INFO] [stderr] Checking zero2prod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/routes/subscriptions.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | INSERT INTO subscriptions (id, email, name, subscribed_at) [INFO] [stdout] 44 | | VALUES ($1,$2,$3,$4) [INFO] [stdout] ... | [INFO] [stdout] 49 | | Utc::now() [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/routes/subscriptions.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / sqlx::query!( [INFO] [stdout] 42 | | r#" [INFO] [stdout] 43 | | INSERT INTO subscriptions (id, email, name, subscribed_at) [INFO] [stdout] 44 | | VALUES ($1,$2,$3,$4) [INFO] [stdout] ... | [INFO] [stdout] 49 | | Utc::now() [INFO] [stdout] 50 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_futures::Instrument` [INFO] [stdout] --> src/routes/subscriptions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing_futures::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/routes/subscriptions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing_futures::Instrument` [INFO] [stdout] --> src/routes/subscriptions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tracing_futures::Instrument; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/routes/subscriptions.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "be11d571e0df11e825c36451835caf120e796cb122caf77a3c53b81f7a04e17a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be11d571e0df11e825c36451835caf120e796cb122caf77a3c53b81f7a04e17a", kill_on_drop: false }` [INFO] [stdout] be11d571e0df11e825c36451835caf120e796cb122caf77a3c53b81f7a04e17a