[INFO] cloning repository https://github.com/jesuscovam/pokemon-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jesuscovam/pokemon-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesuscovam%2Fpokemon-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesuscovam%2Fpokemon-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32664aa9a061f786261926cd4bccd6399d2819be [INFO] testing jesuscovam/pokemon-api against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjesuscovam%2Fpokemon-api" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jesuscovam/pokemon-api on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-18/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/jesuscovam/pokemon-api [INFO] finished tweaking git repo https://github.com/jesuscovam/pokemon-api [INFO] tweaked toml for git repo https://github.com/jesuscovam/pokemon-api written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/jesuscovam/pokemon-api already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae4c255be647f09d5f1c63e05221eee35368f1f178e3b3470b747e57270aed7a [INFO] running `Command { std: "docker" "start" "-a" "ae4c255be647f09d5f1c63e05221eee35368f1f178e3b3470b747e57270aed7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae4c255be647f09d5f1c63e05221eee35368f1f178e3b3470b747e57270aed7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4c255be647f09d5f1c63e05221eee35368f1f178e3b3470b747e57270aed7a", kill_on_drop: false }` [INFO] [stdout] ae4c255be647f09d5f1c63e05221eee35368f1f178e3b3470b747e57270aed7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6c07203d63aa171dc095fd39ef4c846775db1c21be61ab474fc0a242479b861 [INFO] running `Command { std: "docker" "start" "-a" "d6c07203d63aa171dc095fd39ef4c846775db1c21be61ab474fc0a242479b861", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.18 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-util v0.3.18 [INFO] [stderr] Compiling futures-io v0.3.18 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling uninitialized v0.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling owo-colors v1.3.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling resize-slice v0.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ksuid v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling zeroize_derive v1.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling color-spantrace v0.1.6 [INFO] [stderr] Compiling color-eyre v0.5.11 [INFO] [stderr] Compiling futures-executor v0.3.18 [INFO] [stderr] Compiling futures v0.3.18 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling rsa v0.4.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling http-serde v1.0.3 [INFO] [stderr] Compiling aws_lambda_events v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.9 [INFO] [stderr] Compiling sqlx-core v0.5.9 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling sqlx-macros v0.5.9 [INFO] [stderr] Compiling lambda_runtime v0.4.1 [INFO] [stderr] Compiling sqlx v0.5.9 [INFO] [stderr] Compiling upload-pokemon-data v0.1.0 (/opt/rustwide/workdir/crates/upload-pokemon-data) [INFO] [stderr] Compiling pokemon-api v0.1.0 (/opt/rustwide/workdir/crates/pokemon-api) [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> crates/pokemon-api/src/main.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let result = sqlx::query_as!( [INFO] [stdout] | __________________________^ [INFO] [stdout] 68 | | PokemonHp, [INFO] [stdout] 69 | | r#"SELECT name, hp, legendary_or_mythical as "legendary_or_mythical!: bool" FROM pokemon WHERE slug = ?"#, [INFO] [stdout] 70 | | pokemon_name [INFO] [stdout] 71 | | ).fetch_one(POOL.get().unwrap()) [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] --> crates/upload-pokemon-data/src/db.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | / sqlx::query!( [INFO] [stdout] 240 | | r#" [INFO] [stdout] 241 | | INSERT INTO pokemon ( [INFO] [stdout] 242 | | id, [INFO] [stdout] ... | [INFO] [stdout] 326 | | fairy_attack_effectiveness, [INFO] [stdout] 327 | | ).execute(&pool).await [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] --> crates/upload-pokemon-data/src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | / sqlx::query!( [INFO] [stdout] 54 | | r#" [INFO] [stdout] 55 | | INSERT INTO abilities ( [INFO] [stdout] 56 | | id, pokemon_id, ability [INFO] [stdout] ... | [INFO] [stdout] 60 | | ability [INFO] [stdout] 61 | | ).execute(&pool).await })); [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] --> crates/upload-pokemon-data/src/main.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query!( [INFO] [stdout] 71 | | r#" [INFO] [stdout] 72 | | INSERT INTO egg_groups ( [INFO] [stdout] 73 | | id, pokemon_id, egg_group [INFO] [stdout] ... | [INFO] [stdout] 77 | | egg_group [INFO] [stdout] 78 | | ).execute(&pool) [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] --> crates/upload-pokemon-data/src/main.rs:89:17 [INFO] [stdout] | [INFO] [stdout] 89 | / sqlx::query!(r#" [INFO] [stdout] 90 | | INSERT INTO typing ( [INFO] [stdout] 91 | | id, pokemon_id, typing [INFO] [stdout] 92 | | ) VALUES (?, ?, ?)"#, [INFO] [stdout] ... | [INFO] [stdout] 95 | | typing [INFO] [stdout] 96 | | ).execute(&pool) [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] --> crates/upload-pokemon-data/src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | / sqlx::query!( [INFO] [stdout] 116 | | r#" [INFO] [stdout] 117 | | INSERT INTO evolutions( [INFO] [stdout] 118 | | id, pokemon_id, evolves_from [INFO] [stdout] ... | [INFO] [stdout] 122 | | evolves_from_id [INFO] [stdout] 123 | | ).execute(&pool) [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pokemon-api` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `upload-pokemon-data` due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "d6c07203d63aa171dc095fd39ef4c846775db1c21be61ab474fc0a242479b861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c07203d63aa171dc095fd39ef4c846775db1c21be61ab474fc0a242479b861", kill_on_drop: false }` [INFO] [stdout] d6c07203d63aa171dc095fd39ef4c846775db1c21be61ab474fc0a242479b861