[INFO] cloning repository https://github.com/Sifchain/airdrop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sifchain/airdrop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSifchain%2Fairdrop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSifchain%2Fairdrop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4dad502922292b01e2e20f4f6df1d42f3cdaae5b [INFO] testing Sifchain/airdrop against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSifchain%2Fairdrop" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 45% (23/51) Updating files: 47% (24/51) Updating files: 49% (25/51) Updating files: 50% (26/51) Updating files: 52% (27/51) Updating files: 54% (28/51) Updating files: 56% (29/51) Updating files: 58% (30/51) Updating files: 60% (31/51) Updating files: 62% (32/51) Updating files: 64% (33/51) Updating files: 66% (34/51) Updating files: 68% (35/51) Updating files: 70% (36/51) Updating files: 72% (37/51) Updating files: 74% (38/51) Updating files: 76% (39/51) Updating files: 78% (40/51) Updating files: 80% (41/51) Updating files: 82% (42/51) Updating files: 84% (43/51) Updating files: 86% (44/51) Updating files: 88% (45/51) Updating files: 90% (46/51) Updating files: 92% (47/51) Updating files: 94% (48/51) Updating files: 96% (49/51) Updating files: 98% (50/51) Updating files: 100% (51/51) Updating files: 100% (51/51), done. [INFO] validating manifest of git repo https://github.com/Sifchain/airdrop on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sifchain/airdrop [INFO] finished tweaking git repo https://github.com/Sifchain/airdrop [INFO] tweaked toml for git repo https://github.com/Sifchain/airdrop written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Sifchain/airdrop already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86f078819098b8a489c89c7f67acb9cd98473424f2197216812b44f7db9e64cc [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" "86f078819098b8a489c89c7f67acb9cd98473424f2197216812b44f7db9e64cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86f078819098b8a489c89c7f67acb9cd98473424f2197216812b44f7db9e64cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86f078819098b8a489c89c7f67acb9cd98473424f2197216812b44f7db9e64cc", kill_on_drop: false }` [INFO] [stdout] 86f078819098b8a489c89c7f67acb9cd98473424f2197216812b44f7db9e64cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1694567e167bc31fc4a61ed557035e342dc054c45d66cc755d1f1731fd80adbe [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" "1694567e167bc31fc4a61ed557035e342dc054c45d66cc755d1f1731fd80adbe", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling once_cell v1.7.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling lexical-core v0.7.5 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling whoami v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bitvec v0.19.4 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.10.0 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha2 v0.9.3 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling sqlformat v0.1.6 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-stream v0.1.3 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling backoff v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.3.0 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bstr v0.2.15 [INFO] [stderr] Compiling hyper v0.14.4 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling sqlx-core v0.5.1 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling egg-mode v0.15.0 (https://github.com/egg-mode-rs/egg-mode.git#6b81073e) [INFO] [stderr] Compiling reqwest v0.11.1 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Compiling sqlx v0.5.1 [INFO] [stderr] Compiling airdrop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/utils/memo.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/process_twitter_from_txs_records/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 13 | | r#" [INFO] [stdout] 14 | | SELECT [INFO] [stdout] 15 | | * [INFO] [stdout] ... | [INFO] [stdout] 18 | | "# [INFO] [stdout] 19 | | ) [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/process_twitter_from_txs_records/main.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 41 | ... match sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 42 | | ... r#" [INFO] [stdout] 43 | | ... UPDATE txs [INFO] [stdout] 44 | | ... SET tweet_found = $5, tweet_id = $4, media_found = $6, tweets_checked = $7 [INFO] [stdout] ... | [INFO] [stdout] 54 | | ... tweets_checked, [INFO] [stdout] 55 | | ... ) [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/process_twitter_from_txs_records/main.rs:72:39 [INFO] [stdout] | [INFO] [stdout] 72 | ... match sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 73 | | ... r#" [INFO] [stdout] 74 | | ... UPDATE txs [INFO] [stdout] 75 | | ... SET twitter_error = $4, tweet_found = false, media_found = false [INFO] [stdout] ... | [INFO] [stdout] 82 | | ... format!("{}", e), [INFO] [stdout] 83 | | ... ) [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/process_twitter_from_txs_records/main.rs:103:31 [INFO] [stdout] | [INFO] [stdout] 103 | match sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 104 | | r#" [INFO] [stdout] 105 | | UPDATE txs [INFO] [stdout] 106 | | SET twitter_error = $4, tweet_found = false, media_found = false [INFO] [stdout] ... | [INFO] [stdout] 113 | | format!("{}", e), [INFO] [stdout] 114 | | ) [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/process_twitter_from_txs_records/main.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | match sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 127 | | r#" [INFO] [stdout] 128 | | UPDATE txs [INFO] [stdout] 129 | | SET tweet_found = false, media_found = false, twitter_error = 'invalid handle' [INFO] [stdout] ... | [INFO] [stdout] 135 | | record.height, [INFO] [stdout] 136 | | ) [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] warning: unused import: `egg_mode` [INFO] [stdout] --> src/process_twitter_from_txs_records/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use egg_mode; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/process_twitter_from_txs_records/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, thread}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `airdrop` due to 6 previous errors; 2 warnings emitted [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/import-atom-txs/main.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | match sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 113 | | r#" [INFO] [stdout] 114 | | INSERT INTO txs (network, hash, height) [INFO] [stdout] 115 | | VALUES ( $1, $2, $3) [INFO] [stdout] ... | [INFO] [stdout] 120 | | tx.height, [INFO] [stdout] 121 | | ) [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/import-atom-txs/main.rs:131:31 [INFO] [stdout] | [INFO] [stdout] 131 | match sqlx::query!( [INFO] [stdout] | _______________________________^ [INFO] [stdout] 132 | | r#" [INFO] [stdout] 133 | | UPDATE txs [INFO] [stdout] 134 | | SET memo = $1, twitter_handle = $5, sif_address = $6, from_address = $7 [INFO] [stdout] ... | [INFO] [stdout] 144 | | resp.body.messages.get(1).unwrap().from_address [INFO] [stdout] 145 | | ) [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] warning: unused import: `backoff::backoff::Backoff` [INFO] [stdout] --> src/import-atom-txs/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use backoff::backoff::Backoff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `default` [INFO] [stdout] --> src/import-atom-txs/main.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use backoff::{default, ExponentialBackoff}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `instant::Instant` [INFO] [stdout] --> src/import-atom-txs/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use instant::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/import-atom-txs/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `body` should have an upper camel case name [INFO] [stdout] --> src/import-atom-txs/main.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct body { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Body` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `message` should have an upper camel case name [INFO] [stdout] --> src/import-atom-txs/main.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct message { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/import-rune-pool-extract/main.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 17 | match sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 18 | | r#" [INFO] [stdout] 19 | | INSERT INTO rune_stakers (asset, rune_address, asset_address, last_stake, last_unstake, units) [INFO] [stdout] 20 | | VALUES ($1, $2, $3, $4, $5, $6) [INFO] [stdout] ... | [INFO] [stdout] 28 | | staker.units.parse::().unwrap(), [INFO] [stdout] 29 | | ) [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/memo_cleaner/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 11 | | r#" [INFO] [stdout] 12 | | SELECT * [INFO] [stdout] 13 | | FROM txs [INFO] [stdout] 14 | | "# [INFO] [stdout] 15 | | ) [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/memo_cleaner/main.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | match sqlx::query!( [INFO] [stdout] | _______________________^ [INFO] [stdout] 30 | | r#" [INFO] [stdout] 31 | | UPDATE txs [INFO] [stdout] 32 | | SET twitter_handle = $1, sif_address = $2 [INFO] [stdout] ... | [INFO] [stdout] 38 | | record.id, [INFO] [stdout] 39 | | ) [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `DATABASE_URL` must be set to use query macros [INFO] [stdout] --> src/import_token_sale_submissions/main.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 97 | | r#" [INFO] [stdout] 98 | | INSERT into invalid_token_sale_submissions (timestamp, twitter_handle, sif_address, contribution_code) [INFO] [stdout] 99 | | VALUES ($1, $2, $3, $4) [INFO] [stdout] ... | [INFO] [stdout] 104 | | record.code, [INFO] [stdout] 105 | | ) [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/import_token_sale_submissions/main.rs:122:11 [INFO] [stdout] | [INFO] [stdout] 122 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 123 | | INSERT into token_sale_submissions (timestamp, twitter_handle, sif_address, contribution_code, twitter_error) [INFO] [stdout] 124 | | VALUES ($1, $2, $3, $4, $5) [INFO] [stdout] 125 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 130 | | tweet_error, [INFO] [stdout] 131 | | ).execute(db).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] --> src/import_token_sale_submissions/main.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | match sqlx::query!(r#" [INFO] [stdout] | ___________^ [INFO] [stdout] 142 | | INSERT into token_sale_submissions (timestamp, twitter_handle, sif_address, contribution_code, tweet_found, media_found, tweet_id... [INFO] [stdout] 143 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8) [INFO] [stdout] 144 | | "#, [INFO] [stdout] ... | [INFO] [stdout] 152 | | tweet_data.tweets_checked, [INFO] [stdout] 153 | | ).execute(db).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] --> src/import_token_sale_submissions/main.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let rows = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 176 | | r#" [INFO] [stdout] 177 | | SELECT twitter_handle as handle, sif_address as address, contribution_code as code [INFO] [stdout] 178 | | FROM token_sale_submissions [INFO] [stdout] ... | [INFO] [stdout] 183 | | record.code, [INFO] [stdout] 184 | | ) [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/import_token_sale_submissions/main.rs:193:24 [INFO] [stdout] | [INFO] [stdout] 193 | let rows = sqlx::query!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 194 | | r#" [INFO] [stdout] 195 | | SELECT twitter_handle as handle, sif_address as address, contribution_code as code [INFO] [stdout] 196 | | FROM invalid_token_sale_submissions [INFO] [stdout] ... | [INFO] [stdout] 201 | | record.code, [INFO] [stdout] 202 | | ) [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/import_token_sale_submissions/main.rs:245:11 [INFO] [stdout] | [INFO] [stdout] 245 | match sqlx::query!( [INFO] [stdout] | ___________^ [INFO] [stdout] 246 | | r#" [INFO] [stdout] 247 | | SELECT * from token_sale_contribution_codes [INFO] [stdout] 248 | | WHERE contribution_code = $1 [INFO] [stdout] 249 | | "#, [INFO] [stdout] 250 | | code, [INFO] [stdout] 251 | | ) [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/import-rune-txs/main.rs:51:15 [INFO] [stdout] | [INFO] [stdout] 51 | match sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 52 | | r#" [INFO] [stdout] 53 | | INSERT INTO txs (network, hash, height, memo, twitter_handle, sif_address, from_address) [INFO] [stdout] 54 | | VALUES ( $1, $2, $3, $4, $5, $6, $7) [INFO] [stdout] ... | [INFO] [stdout] 63 | | tx.fromAddr [INFO] [stdout] 64 | | ) [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] warning: unused import: `sqlx::postgres::PgPoolOptions` [INFO] [stdout] --> src/import-rune-txs/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::postgres::PgPoolOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/import-rune-txs/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1694567e167bc31fc4a61ed557035e342dc054c45d66cc755d1f1731fd80adbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1694567e167bc31fc4a61ed557035e342dc054c45d66cc755d1f1731fd80adbe", kill_on_drop: false }` [INFO] [stdout] 1694567e167bc31fc4a61ed557035e342dc054c45d66cc755d1f1731fd80adbe