[INFO] cloning repository https://github.com/AOSC-Dev/pakreqWeb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AOSC-Dev/pakreqWeb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3229e3d70dbd9dc351db9cf75fbd6369d1641761 [INFO] checking AOSC-Dev/pakreqWeb against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAOSC-Dev%2FpakreqWeb" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AOSC-Dev/pakreqWeb on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AOSC-Dev/pakreqWeb [INFO] finished tweaking git repo https://github.com/AOSC-Dev/pakreqWeb [INFO] tweaked toml for git repo https://github.com/AOSC-Dev/pakreqWeb written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/AOSC-Dev/pakreqWeb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fe8b6a4feecee86514edf951a9cca77e8aeda5dbfdf1d9d3a92ce6f718f91c1 [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" "5fe8b6a4feecee86514edf951a9cca77e8aeda5dbfdf1d9d3a92ce6f718f91c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fe8b6a4feecee86514edf951a9cca77e8aeda5dbfdf1d9d3a92ce6f718f91c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fe8b6a4feecee86514edf951a9cca77e8aeda5dbfdf1d9d3a92ce6f718f91c1", kill_on_drop: false }` [INFO] [stdout] 5fe8b6a4feecee86514edf951a9cca77e8aeda5dbfdf1d9d3a92ce6f718f91c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdc817dc48ae6f7089b4521d056a4fd61a32b460ddbd72cf276305727ee504d8 [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" "fdc817dc48ae6f7089b4521d056a4fd61a32b460ddbd72cf276305727ee504d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking arc-swap v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking hashbrown v0.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling v_escape v0.13.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling v_htmlescape v0.10.2 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling std_prelude v0.2.12 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling wild v2.0.4 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling shell-words v1.0.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling yansi-term v0.1.2 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling bindgen v0.50.1 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.21 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking tracing-core v0.1.16 [INFO] [stderr] Checking instant v0.1.7 [INFO] [stderr] Checking buf-min v0.1.1 [INFO] [stderr] Checking bytestring v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling path_abs v0.5.0 [INFO] [stderr] Compiling clang-sys v0.28.1 [INFO] [stderr] Compiling annotate-snippets v0.9.0 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Checking anyhow v1.0.32 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking termios v0.3.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking content_inspector v0.2.4 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking resolv-conf v0.6.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking block-cipher v0.7.1 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking flate2 v1.0.17 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking toolchain_find v0.1.4 [INFO] [stderr] Checking sqlformat v0.1.1 [INFO] [stderr] Checking pem v0.8.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.1 [INFO] [stderr] Checking aes-soft v0.4.0 [INFO] [stderr] Checking polyval v0.4.0 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hmac v0.8.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking ghash v0.3.0 [INFO] [stderr] Checking hkdf v0.9.0 [INFO] [stderr] Checking aes v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Checking aes-gcm v0.6.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling onig_sys v69.5.1 [INFO] [stderr] Compiling libgit2-sys v0.12.13+1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking webpki v0.21.3 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling v_eval v0.6.0 [INFO] [stderr] Checking rustls v0.18.1 [INFO] [stderr] Checking webpki-roots v0.19.0 [INFO] [stderr] Checking brotli2 v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.10 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling liquid-derive v0.20.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling v_escape_derive v0.8.2 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling yarte_html v0.12.2 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Checking tokio-rustls v0.14.1 [INFO] [stderr] Compiling onig v6.1.0 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Checking pin-project v0.4.23 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking actix-codec v0.3.0 [INFO] [stderr] Checking actix-threadpool v0.3.3 [INFO] [stderr] Checking actix-service v1.0.6 [INFO] [stderr] Checking actix-rt v1.1.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking actix-utils v2.0.0 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stderr] Checking actix-router v0.2.5 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking actix-server v1.0.4 [INFO] [stderr] Checking actix-tls v2.0.0 [INFO] [stderr] Compiling argonautica v0.2.1 (https://github.com/bcmyers/argonautica#67fc8d8d) [INFO] [stderr] Checking actix-testing v1.0.1 [INFO] [stderr] Checking trust-dns-proto v0.19.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking git2 v0.13.11 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Checking simple_asn1 v0.4.1 [INFO] [stderr] Compiling kstring v0.1.2 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Checking jsonwebtoken v7.2.0 [INFO] [stderr] Checking syntect v4.4.0 [INFO] [stderr] Checking trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling liquid-core v0.20.2 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Checking actix-connect v2.0.0 [INFO] [stderr] Checking actix-http v2.0.0 [INFO] [stderr] Compiling liquid-lib v0.20.2 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Compiling liquid v0.20.1 [INFO] [stderr] Checking hyper-rustls v0.21.0 [INFO] [stderr] Checking reqwest v0.10.8 [INFO] [stderr] Compiling bat v0.15.4 [INFO] [stderr] Checking awc v2.0.0 [INFO] [stderr] Checking actix-web v3.0.2 [INFO] [stderr] Checking oauth2 v4.0.0-alpha.2 [INFO] [stderr] Checking yarte_helpers v0.12.2 [INFO] [stderr] Compiling yarte_parser v0.12.2 [INFO] [stderr] Checking actix-session v0.4.0 [INFO] [stderr] Checking actix-identity v0.3.1 [INFO] [stderr] Compiling yarte_hir v0.12.2 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Compiling yarte_dom v0.12.2 [INFO] [stderr] Compiling yarte_codegen v0.12.2 [INFO] [stderr] Compiling yarte_derive v0.12.2 [INFO] [stderr] Checking yarte v0.12.2 [INFO] [stderr] Checking pakreqWeb-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let records = sqlx::query!(r#"SELECT * FROM request WHERE status = 'OPEN' ORDER BY id DESC"#) [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 not set [INFO] [stdout] --> src/db.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | r#"SELECT json_agg(request)::TEXT AS json FROM request WHERE status = 'OPEN'"# [INFO] [stdout] 31 | | ) [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 not set [INFO] [stdout] --> src/db.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let record = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 40 | | r#" [INFO] [stdout] 41 | | SELECT *, [INFO] [stdout] 42 | | (SELECT username FROM "user" WHERE r.requester_id = "user".id) AS requester, [INFO] [stdout] ... | [INFO] [stdout] 46 | | id_ [INFO] [stdout] 47 | | ) [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 not set [INFO] [stdout] --> src/db.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let record = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 67 | | r#"SELECT id, username, password_hash FROM "user" WHERE username = $1"#, [INFO] [stdout] 68 | | username_ [INFO] [stdout] 69 | | ) [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 not set [INFO] [stdout] --> src/db.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let user_ = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 83 | | User, [INFO] [stdout] 84 | | r#"SELECT u.id, u.username, u.admin, u.password_hash [INFO] [stdout] 85 | | FROM "user" u INNER JOIN oauth o ON o.uid = u.id [INFO] [stdout] ... | [INFO] [stdout] 88 | | service [INFO] [stdout] 89 | | ) [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 not set [INFO] [stdout] --> src/db.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 99 | | r#"SELECT o.uid, o.type, o.oid [INFO] [stdout] 100 | | FROM "user" u INNER JOIN oauth o ON o.uid = u.id [INFO] [stdout] 101 | | WHERE u.username = $1"#, [INFO] [stdout] 102 | | username [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 not set [INFO] [stdout] --> src/db.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query!( [INFO] [stdout] 122 | | r#"UPDATE request SET status = $1 WHERE id = $2"#, [INFO] [stdout] 123 | | if reject { "REJECTED" } else { "DONE" }, [INFO] [stdout] 124 | | id_ [INFO] [stdout] 125 | | ) [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 not set [INFO] [stdout] --> src/db.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | r#"UPDATE "user" SET password_hash = $1 WHERE username = $2"#, [INFO] [stdout] 135 | | hash, [INFO] [stdout] 136 | | username_ [INFO] [stdout] 137 | | ) [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 not set [INFO] [stdout] --> src/db.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!( [INFO] [stdout] 147 | | r#"INSERT INTO "user" (username, admin, password_hash) VALUES ($1, $2, $3)"#, [INFO] [stdout] 148 | | user_.username, [INFO] [stdout] 149 | | user_.admin, [INFO] [stdout] 150 | | user_.password_hash [INFO] [stdout] 151 | | ) [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 not set [INFO] [stdout] --> src/db.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / sqlx::query!( [INFO] [stdout] 162 | | r#"INSERT INTO "oauth" (uid, type, oid, token) VALUES ($1, $2, $3, $4)"#, [INFO] [stdout] 163 | | info.uid, [INFO] [stdout] 164 | | info.type_, [INFO] [stdout] 165 | | info.oid, [INFO] [stdout] 166 | | info.token [INFO] [stdout] 167 | | ) [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 not set [INFO] [stdout] --> src/db.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / sqlx::query!( [INFO] [stdout] 178 | | r#"DELETE FROM "oauth" WHERE uid = $1 AND type = $2 AND oid = $3"#, [INFO] [stdout] 179 | | info.uid, [INFO] [stdout] 180 | | info.type_, [INFO] [stdout] 181 | | info.oid, [INFO] [stdout] 182 | | ) [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 not set [INFO] [stdout] --> src/db.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | let records = sqlx::query!(r#"SELECT * FROM request WHERE status = 'OPEN' ORDER BY id DESC"#) [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 not set [INFO] [stdout] --> src/db.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 30 | | r#"SELECT json_agg(request)::TEXT AS json FROM request WHERE status = 'OPEN'"# [INFO] [stdout] 31 | | ) [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 not set [INFO] [stdout] --> src/db.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | let record = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 40 | | r#" [INFO] [stdout] 41 | | SELECT *, [INFO] [stdout] 42 | | (SELECT username FROM "user" WHERE r.requester_id = "user".id) AS requester, [INFO] [stdout] ... | [INFO] [stdout] 46 | | id_ [INFO] [stdout] 47 | | ) [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 not set [INFO] [stdout] --> src/db.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let record = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 67 | | r#"SELECT id, username, password_hash FROM "user" WHERE username = $1"#, [INFO] [stdout] 68 | | username_ [INFO] [stdout] 69 | | ) [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 not set [INFO] [stdout] --> src/db.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let user_ = sqlx::query_as!( [INFO] [stdout] | _________________^ [INFO] [stdout] 83 | | User, [INFO] [stdout] 84 | | r#"SELECT u.id, u.username, u.admin, u.password_hash [INFO] [stdout] 85 | | FROM "user" u INNER JOIN oauth o ON o.uid = u.id [INFO] [stdout] ... | [INFO] [stdout] 88 | | service [INFO] [stdout] 89 | | ) [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 not set [INFO] [stdout] --> src/db.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let records = sqlx::query!( [INFO] [stdout] | ___________________^ [INFO] [stdout] 99 | | r#"SELECT o.uid, o.type, o.oid [INFO] [stdout] 100 | | FROM "user" u INNER JOIN oauth o ON o.uid = u.id [INFO] [stdout] 101 | | WHERE u.username = $1"#, [INFO] [stdout] 102 | | username [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 not set [INFO] [stdout] --> src/db.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | / sqlx::query!( [INFO] [stdout] 122 | | r#"UPDATE request SET status = $1 WHERE id = $2"#, [INFO] [stdout] 123 | | if reject { "REJECTED" } else { "DONE" }, [INFO] [stdout] 124 | | id_ [INFO] [stdout] 125 | | ) [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 not set [INFO] [stdout] --> src/db.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / sqlx::query!( [INFO] [stdout] 134 | | r#"UPDATE "user" SET password_hash = $1 WHERE username = $2"#, [INFO] [stdout] 135 | | hash, [INFO] [stdout] 136 | | username_ [INFO] [stdout] 137 | | ) [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 not set [INFO] [stdout] --> src/db.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | / sqlx::query!( [INFO] [stdout] 147 | | r#"INSERT INTO "user" (username, admin, password_hash) VALUES ($1, $2, $3)"#, [INFO] [stdout] 148 | | user_.username, [INFO] [stdout] 149 | | user_.admin, [INFO] [stdout] 150 | | user_.password_hash [INFO] [stdout] 151 | | ) [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 not set [INFO] [stdout] --> src/db.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / sqlx::query!( [INFO] [stdout] 162 | | r#"INSERT INTO "oauth" (uid, type, oid, token) VALUES ($1, $2, $3, $4)"#, [INFO] [stdout] 163 | | info.uid, [INFO] [stdout] 164 | | info.type_, [INFO] [stdout] 165 | | info.oid, [INFO] [stdout] 166 | | info.token [INFO] [stdout] 167 | | ) [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 not set [INFO] [stdout] --> src/db.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 177 | / sqlx::query!( [INFO] [stdout] 178 | | r#"DELETE FROM "oauth" WHERE uid = $1 AND type = $2 AND oid = $3"#, [INFO] [stdout] 179 | | info.uid, [INFO] [stdout] 180 | | info.type_, [INFO] [stdout] 181 | | info.oid, [INFO] [stdout] 182 | | ) [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] warning: unused import: `RequestInput` [INFO] [stdout] --> src/db.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Oauth, Request, RequestInput, RequestStr, User}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NOT_AUTHORIZED_RESPONSE` [INFO] [stdout] --> src/oauth.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | rest::{BAD_REQUEST_RETURN, INTERNAL_ERR_RESPONSE, NOT_AUTHORIZED_RESPONSE}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/oauth.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/oauth.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestInput` [INFO] [stdout] --> src/db.rs:1:37 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::models::{Oauth, Request, RequestInput, RequestStr, User}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NOT_AUTHORIZED_RESPONSE` [INFO] [stdout] --> src/oauth.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | rest::{BAD_REQUEST_RETURN, INTERNAL_ERR_RESPONSE, NOT_AUTHORIZED_RESPONSE}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/oauth.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Serialize` [INFO] [stdout] --> src/oauth.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pakreqWeb-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fdc817dc48ae6f7089b4521d056a4fd61a32b460ddbd72cf276305727ee504d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc817dc48ae6f7089b4521d056a4fd61a32b460ddbd72cf276305727ee504d8", kill_on_drop: false }` [INFO] [stdout] fdc817dc48ae6f7089b4521d056a4fd61a32b460ddbd72cf276305727ee504d8