[INFO] cloning repository https://github.com/Killavus/actix-todo-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Killavus/actix-todo-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f59542f9c45653ef2e15ef5d787d6f4b21983d09 [INFO] documenting Killavus/actix-todo-api against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKillavus%2Factix-todo-api" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Killavus/actix-todo-api on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Killavus/actix-todo-api [INFO] finished tweaking git repo https://github.com/Killavus/actix-todo-api [INFO] tweaked toml for git repo https://github.com/Killavus/actix-todo-api written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Killavus/actix-todo-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29fe016cb12a42b0751ddae5837f4e9077c33cd0d9534b5a7b2e453a3fa6c083 [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" "29fe016cb12a42b0751ddae5837f4e9077c33cd0d9534b5a7b2e453a3fa6c083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29fe016cb12a42b0751ddae5837f4e9077c33cd0d9534b5a7b2e453a3fa6c083", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29fe016cb12a42b0751ddae5837f4e9077c33cd0d9534b5a7b2e453a3fa6c083", kill_on_drop: false }` [INFO] [stdout] 29fe016cb12a42b0751ddae5837f4e9077c33cd0d9534b5a7b2e453a3fa6c083 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a79a042c8ef620e154d667eaa7bf478473a5207f69c999d061100979ad987139 [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" "a79a042c8ef620e154d667eaa7bf478473a5207f69c999d061100979ad987139", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.64 [INFO] [stderr] Compiling parking v1.0.4 [INFO] [stderr] Compiling fastrand v1.3.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hashbrown v0.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.18.0 [INFO] [stderr] Compiling concurrent-queue v1.1.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking brotli-sys v0.3.2 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Checking actix-threadpool v0.3.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-router v0.2.4 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking validator v0.10.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.64 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.64 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.64 [INFO] [stderr] Compiling blocking v0.4.6 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling smol v0.1.18 [INFO] [stderr] Checking actix-service v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking trust-dns-proto v0.18.0-alpha.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking js-sys v0.3.41 [INFO] [stderr] Checking actix-codec v0.2.0 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking actix-utils v1.0.6 [INFO] [stderr] Checking actix-server v1.0.3 [INFO] [stderr] Checking actix-tls v1.0.0 [INFO] [stderr] Compiling validator_derive v0.10.1 [INFO] [stderr] Checking trust-dns-resolver v0.18.0-alpha.2 [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking web-sys v0.3.41 [INFO] [stderr] Checking actix-connect v1.0.2 [INFO] [stderr] Checking actix-http v1.0.1 [INFO] [stderr] Checking gloo-timers v0.2.1 [INFO] [stderr] Checking futures-timer v3.0.2 [INFO] [stderr] Checking async-std v1.6.2 [INFO] [stderr] Checking awc v1.0.1 [INFO] [stderr] Checking actix-web v2.0.0 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking sqlx-rt v0.1.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Checking sqlx-core v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Compiling sqlx-macros v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Checking sqlx v0.4.0-pre (https://github.com/launchbadge/sqlx#c327e63f) [INFO] [stderr] Documenting todo-list-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/model/todo.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | ... sqlx::query_as!(Todo, "SELECT todos.* FROM todos JOIN work_lists ON work_lists.id = todos.work_list_id WHERE todos.id = ? AND work_lists.client_id = ?", id, client_id) [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] --> src/model/todo.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | / sqlx::query!( [INFO] [stdout] 87 | | "INSERT INTO todos (content, completed, work_list_id) VALUES (?, false, ?)", [INFO] [stdout] 88 | | form.content, [INFO] [stdout] 89 | | form.work_list_id [INFO] [stdout] 90 | | ) [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] --> src/model/todo.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | sqlx::query!("DELETE FROM todos WHERE id = ?", self.id) [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] --> src/model/work_list.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | / sqlx::query!( [INFO] [stdout] 51 | | "INSERT INTO work_lists (name, client_id) VALUES (?, ?)", [INFO] [stdout] 52 | | name, [INFO] [stdout] 53 | | client_id [INFO] [stdout] 54 | | ) [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] --> src/model/work_list.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 99 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 100 | | "DELETE FROM work_lists WHERE id = ? AND client_id = ?", [INFO] [stdout] 101 | | self.id, [INFO] [stdout] 102 | | client_id [INFO] [stdout] 103 | | ) [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] --> src/model/work_list.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | let rows_affected: u64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 123 | | "UPDATE work_lists SET name = ? WHERE id = ? AND client_id = ?", [INFO] [stdout] 124 | | new_name, [INFO] [stdout] 125 | | self.id, [INFO] [stdout] 126 | | client_id [INFO] [stdout] 127 | | ) [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] --> src/model/work_list.rs:142:21 [INFO] [stdout] | [INFO] [stdout] 142 | let todos = sqlx::query_as!(Todo, "SELECT * FROM todos WHERE todos.work_list_id = ?", id) [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] --> src/web_app/client.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | sqlx::query_as!(Client, "SELECT * FROM clients WHERE id = ?", id) [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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `todo-list-api`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name todo_list_api src/main.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern actix_rt=/opt/rustwide/target/debug/deps/libactix_rt-1e10d2e95a2ae289.rmeta --extern actix_web=/opt/rustwide/target/debug/deps/libactix_web-9af73139d505e8f6.rmeta --extern anyhow=/opt/rustwide/target/debug/deps/libanyhow-8c061b3ea71c2288.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-8b67720eed3b92c9.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-1c1d02a6c9463162.rmeta --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-889ddd89e3b80f15.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-5a89b0851a96208d.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-85e430c763becc5d.rmeta --extern maplit=/opt/rustwide/target/debug/deps/libmaplit-dd637e51935b99fa.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-7109607cf2b19640.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-c7d42db1861906e0.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-e1b76336e85a5c08.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-7e3a287f494a9c29.rmeta --extern validator=/opt/rustwide/target/debug/deps/libvalidator-5569b85d05ff02e5.rmeta --extern validator_derive=/opt/rustwide/target/debug/deps/libvalidator_derive-c7f50d0546569fda.so --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "a79a042c8ef620e154d667eaa7bf478473a5207f69c999d061100979ad987139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a79a042c8ef620e154d667eaa7bf478473a5207f69c999d061100979ad987139", kill_on_drop: false }` [INFO] [stdout] a79a042c8ef620e154d667eaa7bf478473a5207f69c999d061100979ad987139