[INFO] cloning repository https://github.com/brendonotto/temp_collector [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brendonotto/temp_collector" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrendonotto%2Ftemp_collector", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrendonotto%2Ftemp_collector'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18a2545f6b9fb03ca90dea2a13eafa15e975bf6c [INFO] testing brendonotto/temp_collector against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrendonotto%2Ftemp_collector" "/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/brendonotto/temp_collector on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brendonotto/temp_collector [INFO] finished tweaking git repo https://github.com/brendonotto/temp_collector [INFO] tweaked toml for git repo https://github.com/brendonotto/temp_collector written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/brendonotto/temp_collector already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded fastrand v1.6.0 [INFO] [stderr] Downloaded h2 v0.3.10 [INFO] [stderr] Downloaded actix-http v3.0.0-beta.18 [INFO] [stderr] Downloaded actix-codec v0.4.2 [INFO] [stderr] Downloaded actix-web-codegen v0.5.0-rc.1 [INFO] [stderr] Downloaded actix-rt v2.6.0 [INFO] [stderr] Downloaded actix-router v0.5.0-rc.1 [INFO] [stderr] Downloaded actix-server v2.0.0-rc.4 [INFO] [stderr] Downloaded sqlx-core v0.5.10 [INFO] [stderr] Downloaded actix-web v4.0.0-beta.20 [INFO] [stderr] Downloaded sqlx v0.5.10 [INFO] [stderr] Downloaded crossbeam-queue v0.3.3 [INFO] [stderr] Downloaded sqlx-macros v0.5.10 [INFO] [stderr] Downloaded sqlx-rt v0.5.10 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b979b2ab219e57d21da8c938e20135a333769b17fb3c3204ecb1421bf14e1f24 [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" "b979b2ab219e57d21da8c938e20135a333769b17fb3c3204ecb1421bf14e1f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b979b2ab219e57d21da8c938e20135a333769b17fb3c3204ecb1421bf14e1f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b979b2ab219e57d21da8c938e20135a333769b17fb3c3204ecb1421bf14e1f24", kill_on_drop: false }` [INFO] [stdout] b979b2ab219e57d21da8c938e20135a333769b17fb3c3204ecb1421bf14e1f24 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0461db278b678560fdae0d620cf59b8f8972dd81603baa57835f9b9a253efd7e [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" "0461db278b678560fdae0d620cf59b8f8972dd81603baa57835f9b9a253efd7e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [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 actix-service v2.0.2 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling time v0.3.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling actix-server v2.0.0-rc.4 [INFO] [stderr] Compiling actix-codec v0.4.2 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling actix-router v0.5.0-rc.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-rc.1 [INFO] [stderr] Compiling actix-http v3.0.0-beta.18 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling actix-web v4.0.0-beta.20 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling temp_collector v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/models.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | let rooms = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 33 | | "SELECT id, room_name FROM room" [INFO] [stdout] 34 | | ) [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/models.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | let record = sqlx::query!("SELECT id FROM room WHERE room_name = $1", reading.room) [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/models.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | let row = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 62 | | r#" [INFO] [stdout] 63 | | INSERT INTO temperature (room_id, temperature, humidity, time) VALUES ($1, $2, $3, $4) [INFO] [stdout] 64 | | RETURNING id, temperature, humidity, time [INFO] [stdout] ... | [INFO] [stdout] 69 | | Utc::now() [INFO] [stdout] 70 | | ) [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `temp_collector` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "0461db278b678560fdae0d620cf59b8f8972dd81603baa57835f9b9a253efd7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0461db278b678560fdae0d620cf59b8f8972dd81603baa57835f9b9a253efd7e", kill_on_drop: false }` [INFO] [stdout] 0461db278b678560fdae0d620cf59b8f8972dd81603baa57835f9b9a253efd7e