[INFO] cloning repository https://github.com/oberien/airq-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oberien/airq-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberien%2Fairq-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberien%2Fairq-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 620590c87b063b70a57d77f9537809c45fb6c7fc [INFO] checking oberien/airq-rs against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foberien%2Fairq-rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oberien/airq-rs on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oberien/airq-rs [INFO] finished tweaking git repo https://github.com/oberien/airq-rs [INFO] tweaked toml for git repo https://github.com/oberien/airq-rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/oberien/airq-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db6c7c19e3169e703abf99dd46116071c09da7691c0fd42dea1be84500aa5071 [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" "db6c7c19e3169e703abf99dd46116071c09da7691c0fd42dea1be84500aa5071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db6c7c19e3169e703abf99dd46116071c09da7691c0fd42dea1be84500aa5071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6c7c19e3169e703abf99dd46116071c09da7691c0fd42dea1be84500aa5071", kill_on_drop: false }` [INFO] [stdout] db6c7c19e3169e703abf99dd46116071c09da7691c0fd42dea1be84500aa5071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5ae8dc5c3ee0cb894cc5c3bf9988813f8b90516dc24152d507a24c5b210c5a5 [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" "f5ae8dc5c3ee0cb894cc5c3bf9988813f8b90516dc24152d507a24c5b210c5a5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling syn v1.0.38 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling either v1.6.0 [INFO] [stderr] Checking ipnet v2.3.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Compiling inlinable_string v0.1.11 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking ubyte v0.9.1 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.1.0 (https://github.com/SergioBenitez/proc-macro2-diagnostics.git?rev=13fbb43#13fbb43d) [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Checking tracing-core v0.1.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rocket v0.5.0-dev (https://github.com/SergioBenitez/Rocket#549c9241) [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling hashbrown v0.8.1 [INFO] [stderr] Compiling indexmap v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking tracing v0.1.18 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking block-modes v0.5.0 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking polyval v0.4.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking atoi v0.3.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking aes v0.4.0 [INFO] [stderr] Checking hkdf v0.9.0 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aes-gcm v0.6.0 [INFO] [stderr] Compiling devise_core v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269) [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling pear_codegen v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556) [INFO] [stderr] Compiling ref-cast-impl v1.0.2 [INFO] [stderr] Compiling devise_codegen v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269) [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling ref-cast v1.0.2 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling devise v0.3.0 (https://github.com/SergioBenitez/Devise.git?rev=1e42a2691#1e42a269) [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pear v0.2.0-dev (https://github.com/SergioBenitez/Pear.git?rev=4b68055#4b680556) [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking tokio-native-tls v0.1.0 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking sqlx-rt v0.1.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling sqlx-core v0.4.0-beta.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking hyper v0.13.7 [INFO] [stderr] Compiling sqlx-macros v0.4.0-beta.1 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking rocket_http v0.5.0-dev (https://github.com/SergioBenitez/Rocket#549c9241) [INFO] [stderr] Checking reqwest v0.10.7 [INFO] [stderr] Checking airq v0.1.0 (/opt/rustwide/workdir/airq-lib) [INFO] [stderr] Compiling rocket_codegen v0.5.0-dev (https://github.com/SergioBenitez/Rocket#549c9241) [INFO] [stderr] Checking sqlx v0.4.0-beta.1 [INFO] [stderr] Checking fetch-data v0.1.0 (/opt/rustwide/workdir/fetch-data) [INFO] [stdout] error: environment variable `DATABASE_URL` not defined [INFO] [stdout] --> fetch-data/src/lib.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | .connect(env!("DATABASE_URL")).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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] --> fetch-data/src/lib.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let last_dbfile_future = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | SELECT files.year, files.month, files.day, files.timestamp [INFO] [stdout] 46 | | FROM [INFO] [stdout] ... | [INFO] [stdout] 54 | | "#, [INFO] [stdout] 55 | | ).fetch_optional(&pg_pool); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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] --> fetch-data/src/lib.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | let last_dbtimestamp_future = sqlx::query!(r#"SELECT max(timestamp) as "timestamp" FROM measurements;"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `DATABASE_URL` not defined [INFO] [stdout] --> fetch-data/src/lib.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | .connect(env!("DATABASE_URL")).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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] --> fetch-data/src/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | WITH new_file AS ( [INFO] [stdout] 85 | | INSERT INTO files (year, month, day, timestamp) [INFO] [stdout] ... | [INFO] [stdout] 105 | | pm10[0], oxygen[0], o3.map(|o3| o3[0]), so2.map(|so2| so2[0]), [INFO] [stdout] 106 | | ).execute(&pg_pool).await?; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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] --> fetch-data/src/lib.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | let last_dbfile_future = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 44 | | r#" [INFO] [stdout] 45 | | SELECT files.year, files.month, files.day, files.timestamp [INFO] [stdout] 46 | | FROM [INFO] [stdout] ... | [INFO] [stdout] 54 | | "#, [INFO] [stdout] 55 | | ).fetch_optional(&pg_pool); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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] --> fetch-data/src/lib.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | let last_dbtimestamp_future = sqlx::query!(r#"SELECT max(timestamp) as "timestamp" FROM measurements;"#) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (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] --> fetch-data/src/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | / sqlx::query!( [INFO] [stdout] 83 | | r#" [INFO] [stdout] 84 | | WITH new_file AS ( [INFO] [stdout] 85 | | INSERT INTO files (year, month, day, timestamp) [INFO] [stdout] ... | [INFO] [stdout] 105 | | pm10[0], oxygen[0], o3.map(|o3| o3[0]), so2.map(|so2| so2[0]), [INFO] [stdout] 106 | | ).execute(&pg_pool).await?; [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fetch-data` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f5ae8dc5c3ee0cb894cc5c3bf9988813f8b90516dc24152d507a24c5b210c5a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5ae8dc5c3ee0cb894cc5c3bf9988813f8b90516dc24152d507a24c5b210c5a5", kill_on_drop: false }` [INFO] [stdout] f5ae8dc5c3ee0cb894cc5c3bf9988813f8b90516dc24152d507a24c5b210c5a5