[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] checking FrankSantoso/inacovid against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFrankSantoso%2Finacovid" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FrankSantoso/inacovid on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-macros v0.3.4 [INFO] [stderr] Downloaded sqlx v0.3.4 [INFO] [stderr] Downloaded sqlx-core v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] a351721e8de7aeaed5352ff282448a4a55c576859920cb425572122076a95174 [INFO] running `Command { std: "docker" "start" "-a" "a351721e8de7aeaed5352ff282448a4a55c576859920cb425572122076a95174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a351721e8de7aeaed5352ff282448a4a55c576859920cb425572122076a95174", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a351721e8de7aeaed5352ff282448a4a55c576859920cb425572122076a95174", kill_on_drop: false }` [INFO] [stdout] a351721e8de7aeaed5352ff282448a4a55c576859920cb425572122076a95174 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85e4259033c3d859c8737027bdfb16c39c8a0c13fda1bdda9d6b62e794636658 [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" "85e4259033c3d859c8737027bdfb16c39c8a0c13fda1bdda9d6b62e794636658", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] chrono v0.4.11 (as host dependency): default, serde [INFO] [stderr] futures v0.3.4 (as host dependency): async-await, default [INFO] [stderr] futures-channel v0.3.4 (as host dependency): default [INFO] [stderr] futures-sink v0.3.4 (as host dependency): default [INFO] [stderr] futures-util v0.3.4 (as host dependency): async-await, async-await-macro, futures-macro, proc-macro-hack, proc-macro-nested [INFO] [stderr] rand v0.7.3: default [INFO] [stderr] rand v0.7.3 (as host dependency): default [INFO] [stderr] tokio v0.2.18: winapi [INFO] [stderr] tokio v0.2.18 (as host dependency): blocking, default, fnv, full, futures-core, io-std, libc, macros, mio-named-pipes, mio-uds, net, process, rt-util, signal, signal-hook-registry, stream, sync, tokio-macros, udp, uds, winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking smallvec v1.3.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking tower-service v0.3.0 [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 vec_map v0.8.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking strsim v0.9.3 [INFO] [stderr] Compiling openssl-sys v0.9.55 [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 backtrace-sys v0.1.35 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking qstring v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking encoding_rs v0.8.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Checking backtrace v0.3.46 [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] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling 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 futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [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 failure_derive v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 (https://github.com/clap-rs/clap/#132cc5f3) [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking tokio v0.2.18 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking clap v3.0.0-beta.1 (https://github.com/clap-rs/clap/#132cc5f3) [INFO] [stderr] Compiling futures-executor v0.3.4 [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] Compiling futures v0.3.4 [INFO] [stderr] Checking sqlx-core v0.3.4 [INFO] [stderr] Checking h2 v0.2.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] Checking inacovid v0.1.1 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inacovid` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "85e4259033c3d859c8737027bdfb16c39c8a0c13fda1bdda9d6b62e794636658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e4259033c3d859c8737027bdfb16c39c8a0c13fda1bdda9d6b62e794636658", kill_on_drop: false }` [INFO] [stdout] 85e4259033c3d859c8737027bdfb16c39c8a0c13fda1bdda9d6b62e794636658