[INFO] cloning repository https://github.com/jamsiedaly/zero2prod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jamsiedaly/zero2prod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamsiedaly%2Fzero2prod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamsiedaly%2Fzero2prod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a40ceb309e51bfec573a19159e71daf2617ec466 [INFO] checking jamsiedaly/zero2prod against master#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjamsiedaly%2Fzero2prod" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jamsiedaly/zero2prod on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jamsiedaly/zero2prod [INFO] finished tweaking git repo https://github.com/jamsiedaly/zero2prod [INFO] tweaked toml for git repo https://github.com/jamsiedaly/zero2prod written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/jamsiedaly/zero2prod already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ff040ef065a082e40d928933fdd011a06bf5a485a9358bde776a53bba9c5f5f [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" "9ff040ef065a082e40d928933fdd011a06bf5a485a9358bde776a53bba9c5f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff040ef065a082e40d928933fdd011a06bf5a485a9358bde776a53bba9c5f5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff040ef065a082e40d928933fdd011a06bf5a485a9358bde776a53bba9c5f5f", kill_on_drop: false }` [INFO] [stdout] 9ff040ef065a082e40d928933fdd011a06bf5a485a9358bde776a53bba9c5f5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00e2d848faaf4d0a693eaff250b43671889bfdf6c12961bc2a8628d64ebb63b9 [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" "00e2d848faaf4d0a693eaff250b43671889bfdf6c12961bc2a8628d64ebb63b9", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling whoami v1.1.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Compiling ahash v0.7.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking actix-service v2.0.0-beta.5 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling actix-macros v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.14 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-beta.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking sha-1 v0.9.6 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking time v0.2.26 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking actix-router v0.2.7 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking nom v6.1.2 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking actix-rt v2.2.0 [INFO] [stderr] Checking tokio-stream v0.1.6 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking actix-server v2.0.0-beta.4 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking actix-codec v0.4.0 [INFO] [stderr] Checking sqlx-rt v0.5.5 [INFO] [stderr] Checking sqlx-core v0.5.5 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Checking actix-tls v3.0.0-beta.5 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking actix-http v3.0.0-beta.5 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking actix-web v4.0.0-beta.5 [INFO] [stderr] Compiling sqlx-macros v0.5.5 [INFO] [stderr] Checking sqlx v0.5.5 [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:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query!( [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO subscriptions (id, email, name, subscribed_at) [INFO] [stdout] 20 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 25 | | Utc::now() [INFO] [stdout] 26 | | ) [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: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/routes/subscriptions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/routes/subscriptions.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / sqlx::query!( [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO subscriptions (id, email, name, subscribed_at) [INFO] [stdout] 20 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 25 | | Utc::now() [INFO] [stdout] 26 | | ) [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: `chrono::Utc` [INFO] [stdout] --> src/routes/subscriptions.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/routes/subscriptions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `zero2prod` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "00e2d848faaf4d0a693eaff250b43671889bfdf6c12961bc2a8628d64ebb63b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00e2d848faaf4d0a693eaff250b43671889bfdf6c12961bc2a8628d64ebb63b9", kill_on_drop: false }` [INFO] [stdout] 00e2d848faaf4d0a693eaff250b43671889bfdf6c12961bc2a8628d64ebb63b9