[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] documenting brendonotto/temp_collector against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrendonotto%2Ftemp_collector" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brendonotto/temp_collector on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-4/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" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cce37f97f23cecf1ca067ecc143260988aa450b5bcc44bfaf83c7b2280c14d79 [INFO] running `Command { std: "docker" "start" "-a" "cce37f97f23cecf1ca067ecc143260988aa450b5bcc44bfaf83c7b2280c14d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce37f97f23cecf1ca067ecc143260988aa450b5bcc44bfaf83c7b2280c14d79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce37f97f23cecf1ca067ecc143260988aa450b5bcc44bfaf83c7b2280c14d79", kill_on_drop: false }` [INFO] [stdout] cce37f97f23cecf1ca067ecc143260988aa450b5bcc44bfaf83c7b2280c14d79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec95bb586204c582d91797d16546ec5bb4fe23f10680b23ef1fe3ce33b025ce [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" "2ec95bb586204c582d91797d16546ec5bb4fe23f10680b23ef1fe3ce33b025ce", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Checking local-waker v0.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking crc32fast v1.3.0 [INFO] [stderr] Checking encoding_rs v0.8.30 [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 signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking futures-channel v0.3.19 [INFO] [stderr] Checking miniz_oxide v0.4.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.0 [INFO] [stderr] Checking crypto-common v0.1.1 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.1 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.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 url v2.2.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling actix-rt v2.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling tokio-macros v1.7.0 [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 tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking actix-server v2.0.0-rc.4 [INFO] [stderr] Checking actix-codec v0.4.2 [INFO] [stderr] Checking h2 v0.3.10 [INFO] [stderr] Compiling actix-router v0.5.0-rc.1 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-web-codegen v0.5.0-rc.1 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking actix-http v3.0.0-beta.18 [INFO] [stderr] Checking actix-web v4.0.0-beta.20 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Checking sqlx v0.5.10 [INFO] [stderr] Documenting 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `temp_collector` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name temp_collector src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=6eaac8f016d8954f -L dependency=/opt/rustwide/target/debug/deps --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-714bac8c5fb5ca2c.rmeta --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-073e83245c6ea490.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-7f11f7f8d226365d.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-139873c706348cc0.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-250758b0906e1967.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-10e657bba64b38cb.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-9f28be617fd10010.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-11949de037a5e4a2.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "2ec95bb586204c582d91797d16546ec5bb4fe23f10680b23ef1fe3ce33b025ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec95bb586204c582d91797d16546ec5bb4fe23f10680b23ef1fe3ce33b025ce", kill_on_drop: false }` [INFO] [stdout] 2ec95bb586204c582d91797d16546ec5bb4fe23f10680b23ef1fe3ce33b025ce