[INFO] cloning repository https://github.com/kastrul/rust-rest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kastrul/rust-rest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkastrul%2Frust-rest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkastrul%2Frust-rest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fc07cbbbf0808211c655d82beca9596b2d246043 [INFO] documenting kastrul/rust-rest 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%2Fkastrul%2Frust-rest" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kastrul/rust-rest 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/kastrul/rust-rest [INFO] finished tweaking git repo https://github.com/kastrul/rust-rest [INFO] tweaked toml for git repo https://github.com/kastrul/rust-rest written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/kastrul/rust-rest 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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stdout] 68d02c5fcb68c937fde6f09e4e9b183968192f859386cb4b97cfda667e86d79f [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" "68d02c5fcb68c937fde6f09e4e9b183968192f859386cb4b97cfda667e86d79f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68d02c5fcb68c937fde6f09e4e9b183968192f859386cb4b97cfda667e86d79f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68d02c5fcb68c937fde6f09e4e9b183968192f859386cb4b97cfda667e86d79f", kill_on_drop: false }` [INFO] [stdout] 68d02c5fcb68c937fde6f09e4e9b183968192f859386cb4b97cfda667e86d79f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 0d601b4562bc8784f7fe24630f1510d6fa2b76d5b4614353adacf5da6670faad [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" "0d601b4562bc8784f7fe24630f1510d6fa2b76d5b4614353adacf5da6670faad", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Checking bytestring v1.0.0 [INFO] [stderr] Checking tracing-core v0.1.23 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking log v0.4.16 [INFO] [stderr] Checking crc32fast v1.3.2 [INFO] [stderr] Checking encoding_rs v0.8.30 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking tracing v0.1.32 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking parking_lot_core v0.9.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking crypto-mac v0.11.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking sqlformat v0.1.8 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac v0.11.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking futures-intrusive v0.4.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking indexmap v1.8.0 [INFO] [stderr] Checking hashlink v0.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking sqlx-rt v0.5.11 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking actix-tls v3.0.3 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking h2 v0.3.12 [INFO] [stderr] Checking local-channel v0.1.2 [INFO] [stderr] Checking actix-server v2.1.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Checking sqlx-core v0.5.11 [INFO] [stderr] Checking zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Checking actix-http v3.0.4 [INFO] [stderr] Checking actix-web v4.0.1 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Checking actix-web-httpauth v0.6.0 [INFO] [stderr] Checking sqlx v0.5.11 [INFO] [stderr] Documenting rust-rest v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/model/todo_model.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | let todos = sqlx::query_as!(Todo, "SELECT * FROM todo ORDER BY id") [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/model/todo_model.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 29 | let todo = sqlx::query_as!(Todo, "SELECT * FROM todo WHERE id = $1", id) [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/model/todo_model.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | let todo = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 38 | | Todo, [INFO] [stdout] 39 | | "INSERT INTO todo (description, done) VALUES ($1, $2) RETURNING *", [INFO] [stdout] 40 | | todo.description, [INFO] [stdout] 41 | | todo.done, [INFO] [stdout] 42 | | ) [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/model/todo_model.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let todo = sqlx::query_as!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 51 | | Todo, [INFO] [stdout] 52 | | "UPDATE todo SET description = $1, done = $2 WHERE id = $3 RETURNING *", [INFO] [stdout] 53 | | todo.description, [INFO] [stdout] 54 | | todo.done, [INFO] [stdout] 55 | | id, [INFO] [stdout] 56 | | ) [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/model/todo_model.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | let n_deleted: PgQueryResult = sqlx::query!("DELETE FROM todo WHERE id = $1", id) [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 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `rust-rest` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name rust_rest src/main.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="postgres"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=6f81040feb305ead -L dependency=/opt/rustwide/target/debug/deps --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-d5aca8f4b741f182.rmeta --extern actix_web_httpauth=/opt/rustwide/target/debug/deps/libactix_web_httpauth-7d3d8d360b333f89.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-b3d056f1c5caf005.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-031d437ee8d5d878.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-e06f7ed1e26b9c60.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-5729bd7749755fc1.rmeta --extern rustls=/opt/rustwide/target/debug/deps/librustls-e06932527a398b77.rmeta --extern rustls_pemfile=/opt/rustwide/target/debug/deps/librustls_pemfile-15658106aebee635.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-b4a3c246bf4bfad1.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-ff35fb7f18d0fc76.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-b459449bde3e5b0c.rmeta --extern uuid=/opt/rustwide/target/debug/deps/libuuid-7e55b113932e157a.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "0d601b4562bc8784f7fe24630f1510d6fa2b76d5b4614353adacf5da6670faad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d601b4562bc8784f7fe24630f1510d6fa2b76d5b4614353adacf5da6670faad", kill_on_drop: false }` [INFO] [stdout] 0d601b4562bc8784f7fe24630f1510d6fa2b76d5b4614353adacf5da6670faad