[INFO] cloning repository https://github.com/FrankSantoso/inacovid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FrankSantoso/inacovid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankSantoso%2Finacovid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankSantoso%2Finacovid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 79bac49adb4c49b2015c99df61e6ab1a359d9898 [INFO] documenting FrankSantoso/inacovid against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankSantoso%2Finacovid" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrankSantoso/inacovid on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/FrankSantoso/inacovid [INFO] finished tweaking git repo https://github.com/FrankSantoso/inacovid [INFO] tweaked toml for git repo https://github.com/FrankSantoso/inacovid written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/FrankSantoso/inacovid already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/clap-rs/clap/` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-native-tls v0.3.3 [INFO] [stderr] Downloaded thiserror v1.0.15 [INFO] [stderr] Downloaded thiserror-impl v1.0.15 [INFO] [stderr] Downloaded backtrace v0.3.46 [INFO] [stderr] Downloaded sqlx-macros v0.3.4 [INFO] [stderr] Downloaded smallvec v1.3.0 [INFO] [stderr] Downloaded failure_derive v0.1.7 [INFO] [stderr] Downloaded sqlx-core v0.3.4 [INFO] [stderr] Downloaded sqlx v0.3.4 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] [stderr] Downloaded failure v0.1.7 [INFO] [stderr] Downloaded bigdecimal v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d92ddf5adef8a76721d9aa1f24865a0e0c37f050f484cdb3025bb5cfe89b0e33 [INFO] running `Command { std: "docker" "start" "-a" "d92ddf5adef8a76721d9aa1f24865a0e0c37f050f484cdb3025bb5cfe89b0e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d92ddf5adef8a76721d9aa1f24865a0e0c37f050f484cdb3025bb5cfe89b0e33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d92ddf5adef8a76721d9aa1f24865a0e0c37f050f484cdb3025bb5cfe89b0e33", kill_on_drop: false }` [INFO] [stdout] d92ddf5adef8a76721d9aa1f24865a0e0c37f050f484cdb3025bb5cfe89b0e33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdb360da6db74d89a1e206f37c34de96bb776415bc74fcb471921bee71a7097f [INFO] running `Command { std: "docker" "start" "-a" "bdb360da6db74d89a1e206f37c34de96bb776415bc74fcb471921bee71a7097f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling base64 v0.12.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking mime_guess v2.0.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/#132cc5f3) [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/#132cc5f3) [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking tokio-tls v0.3.0 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking sqlx-core v0.3.4 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Compiling sqlx-macros v0.3.4 [INFO] [stderr] Checking sqlx v0.3.4 [INFO] [stderr] Documenting inacovid v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/models.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | / sqlx::query!( [INFO] [stdout] 107 | | r#" [INFO] [stdout] 108 | | INSERT INTO covid_daily(day, date, new_cases_per_day, cumulative_cases, [INFO] [stdout] 109 | | under_treatment, under_treatment_per_day, under_treatment_percentage, recovered, recovered_per_day, [INFO] [stdout] ... | [INFO] [stdout] 115 | | prov.recovered_percentage, prov.deaths, prov.deaths_per_day, prov.deaths_percentage, prov.latest_update, [INFO] [stdout] 116 | | ).execute(&mut tx).await?; [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/models.rs:132:21 [INFO] [stdout] | [INFO] [stdout] 132 | / sqlx::query!(r#" [INFO] [stdout] 133 | | INSERT INTO covid_province(province_id, date, provinsi, positif, sembuh, meninggal, prov_and_date) [INFO] [stdout] 134 | | VALUES($1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] 135 | | ON CONFLICT ON CONSTRAINT covid_province_prov_and_date_key DO UPDATE SET existed = true [INFO] [stdout] 136 | | "#, [INFO] [stdout] 137 | | prov.province_id, prov.date, prov.provinsi, prov.positif, prov.sembuh, prov.meninggal, prov_date) [INFO] [stdout] | |_____________________________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/models.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 316 | / sqlx::query!( [INFO] [stdout] 317 | | r#" [INFO] [stdout] 318 | | INSERT INTO covid_stats (deaths, total_cases, recovered, pdp, at_date) [INFO] [stdout] 319 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] ... | [INFO] [stdout] 326 | | self.created [INFO] [stdout] 327 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (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 `inacovid` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name inacovid src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=9a98d4746636f3e0 -L dependency=/opt/rustwide/target/debug/deps --extern chrono=/opt/rustwide/target/debug/deps/libchrono-f30b6f13041a7ee0.rmeta --extern clap=/opt/rustwide/target/debug/deps/libclap-02c1a622041046f9.rmeta --extern failure=/opt/rustwide/target/debug/deps/libfailure-18a8c3e8ebc3727f.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-c6b2e12d172d27c8.rmeta --extern qstring=/opt/rustwide/target/debug/deps/libqstring-708059e6a1d87d98.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-3b4c878454844f05.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-03fd1f13634cbbaf.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-f1bb0d1dfc9c48aa.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-30361e29d0114929.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-8cfdd8239959614e.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-52a2ae285db1b2aa.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-62c44d6601e3b438.rmeta --cap-lints=warn --crate-version 0.1.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "bdb360da6db74d89a1e206f37c34de96bb776415bc74fcb471921bee71a7097f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb360da6db74d89a1e206f37c34de96bb776415bc74fcb471921bee71a7097f", kill_on_drop: false }` [INFO] [stdout] bdb360da6db74d89a1e206f37c34de96bb776415bc74fcb471921bee71a7097f