[INFO] cloning repository https://github.com/country-bumpkin-software/exposure-backend [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/country-bumpkin-software/exposure-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcountry-bumpkin-software%2Fexposure-backend", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcountry-bumpkin-software%2Fexposure-backend'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 532038149e6d5418a7a1200e1158c96894ddcee5 [INFO] testing country-bumpkin-software/exposure-backend against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcountry-bumpkin-software%2Fexposure-backend" "/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/country-bumpkin-software/exposure-backend on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/country-bumpkin-software/exposure-backend [INFO] finished tweaking git repo https://github.com/country-bumpkin-software/exposure-backend [INFO] tweaked toml for git repo https://github.com/country-bumpkin-software/exposure-backend written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/country-bumpkin-software/exposure-backend already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c27024e01ff0c6aba4e468072409e700fa551f339d21b801ad4ce3e8ebceb52 [INFO] running `Command { std: "docker" "start" "-a" "3c27024e01ff0c6aba4e468072409e700fa551f339d21b801ad4ce3e8ebceb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c27024e01ff0c6aba4e468072409e700fa551f339d21b801ad4ce3e8ebceb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c27024e01ff0c6aba4e468072409e700fa551f339d21b801ad4ce3e8ebceb52", kill_on_drop: false }` [INFO] [stdout] 3c27024e01ff0c6aba4e468072409e700fa551f339d21b801ad4ce3e8ebceb52 [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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea84fdb1483752cc80e489da56b544d43e1476f84ef29dc69f6117cb461dcd9c [INFO] running `Command { std: "docker" "start" "-a" "ea84fdb1483752cc80e489da56b544d43e1476f84ef29dc69f6117cb461dcd9c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling openssl-src v111.17.0+1.1.1m [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling headers v0.3.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.9 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling corona-map v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/routes/handler.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 15 | | r#"select exposure_id, place_name, address_line1, suburb, postcode, exposure_time_from, exposure_time_to, posted_time from exposu... [INFO] [stdout] 16 | | ) [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, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/routes/handler.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / sqlx::query!( [INFO] [stdout] 40 | | r#"INSERT INTO exposure_sites (exposure_id, place_name, address_line1, suburb, postcode, exposure_time_from, exposure_time_to, po... [INFO] [stdout] 41 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8) returning *;"#, &event.exposure_id, event.place_name, event.address_line1, [INFO] [stdout] 42 | | event.suburb, event.postcode,event.exposure_time_from, event.exposure_time_to, event.posted_time [INFO] [stdout] 43 | | ).fetch_one(&db).await.unwrap(); [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 imports: `Rejection`, `Reply`, `http::StatusCode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Rejection, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | Reply, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | http::StatusCode [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::HashMap}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/routes/handler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveDate` [INFO] [stdout] --> src/types/event.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{NaiveDate, NaiveDateTime}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `corona-map` due to 3 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ea84fdb1483752cc80e489da56b544d43e1476f84ef29dc69f6117cb461dcd9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea84fdb1483752cc80e489da56b544d43e1476f84ef29dc69f6117cb461dcd9c", kill_on_drop: false }` [INFO] [stdout] ea84fdb1483752cc80e489da56b544d43e1476f84ef29dc69f6117cb461dcd9c