[INFO] cloning repository https://github.com/lenscas/card_game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lenscas/card_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flenscas%2Fcard_game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flenscas%2Fcard_game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fffcc204f29a8c9ef909c9d4fcd667249d2c34ec [INFO] documenting lenscas/card_game against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flenscas%2Fcard_game" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lenscas/card_game on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lenscas/card_game [INFO] finished tweaking git repo https://github.com/lenscas/card_game [INFO] tweaked toml for git repo https://github.com/lenscas/card_game written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/lenscas/card_game already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "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] 08eddf6418122356b19f22e3ae2ba1c42d805ce24728319408220bac339092e7 [INFO] running `Command { std: "docker" "start" "-a" "08eddf6418122356b19f22e3ae2ba1c42d805ce24728319408220bac339092e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08eddf6418122356b19f22e3ae2ba1c42d805ce24728319408220bac339092e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08eddf6418122356b19f22e3ae2ba1c42d805ce24728319408220bac339092e7", kill_on_drop: false }` [INFO] [stdout] 08eddf6418122356b19f22e3ae2ba1c42d805ce24728319408220bac339092e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", 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] e6bdbf4afeed8afe2a5f18018575afb35a6cfa4d6b11ff4564c019abcea75bba [INFO] running `Command { std: "docker" "start" "-a" "e6bdbf4afeed8afe2a5f18018575afb35a6cfa4d6b11ff4564c019abcea75bba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tinyvec v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.48.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking cpuid-bool v0.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling generic-array v0.14.2 [INFO] [stderr] Compiling clang-sys v0.26.4 [INFO] [stderr] Compiling addr2line v0.12.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling hashbrown v0.1.8 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling backtrace v0.3.49 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling cexpr v0.3.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.9.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking headers v0.3.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking tungstenite v0.10.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling rlua v0.17.0 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Checking tokio-tungstenite v0.10.1 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking card_game_shared v0.1.0 (https://github.com/lenscas/card_game_shared.git#11ce9dab) [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Compiling argonautica v0.2.0 [INFO] [stderr] Checking warp v0.2.3 [INFO] [stderr] Compiling sqlx-macros v0.3.5 [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Documenting card_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/battle/deck.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let v = query!( [INFO] [stdout] | _________________^ [INFO] [stdout] 20 | | r#" [INFO] [stdout] 21 | | SELECT cards.id,cards.json_file_path [INFO] [stdout] 22 | | FROM cards [INFO] [stdout] ... | [INFO] [stdout] 31 | | player_id [INFO] [stdout] 32 | | ) [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/controllers/battle.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / query!( [INFO] [stdout] 14 | | "UPDATE characters SET current_battle = NULL WHERE user_id = $1", [INFO] [stdout] 15 | | user_id [INFO] [stdout] 16 | | ) [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/controllers/battle.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | let v =query!( [INFO] [stdout] | ____________^ [INFO] [stdout] 20 | | "SELECT COUNT(*) AS count FROM characters WHERE user_id = $1 AND current_battle IS NOT NULL", [INFO] [stdout] 21 | | user_id [INFO] [stdout] 22 | | ) [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/controllers/battle.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | let rows = query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 35 | | "UPDATE characters SET current_battle=$1 WHERE user_id=$2 AND current_battle IS NULL", [INFO] [stdout] 36 | | as_str, [INFO] [stdout] 37 | | user_id [INFO] [stdout] 38 | | ) [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/controllers/battle.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let v = query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 86 | | "SELECT current_battle FROM characters WHERE user_id = $1 AND current_battle IS NOT NULL", [INFO] [stdout] 87 | | user_id [INFO] [stdout] 88 | | ) [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/controllers/battle.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | / query!( [INFO] [stdout] 95 | | "UPDATE characters SET current_battle = null WHERE user_id = $1", [INFO] [stdout] 96 | | user_id [INFO] [stdout] 97 | | ) [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/controllers/battle.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | / query!( [INFO] [stdout] 104 | | "UPDATE characters SET current_battle = $1 WHERE user_id = $2", [INFO] [stdout] 105 | | c, [INFO] [stdout] 106 | | user_id [INFO] [stdout] 107 | | ) [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/controllers/users.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | let user = query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 26 | | "SELECT id,password FROM users where username = $1", [INFO] [stdout] 27 | | req_data.username [INFO] [stdout] 28 | | ) [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/controllers/users.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 71 | let success = query!( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 72 | | "INSERT INTO sessions ( hash,user_id) VALUES ($1,$2)", [INFO] [stdout] 73 | | token, [INFO] [stdout] 74 | | user.id [INFO] [stdout] 75 | | ) [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/controllers/users.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let v = query!( [INFO] [stdout] | _____________^ [INFO] [stdout] 125 | | "INSERT INTO users ( username, password ) VALUES ( $1 , $2 ) RETURNING id", [INFO] [stdout] 126 | | reg_data.username, [INFO] [stdout] 127 | | hashed_password [INFO] [stdout] 128 | | ) [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/controllers/users.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | / query!( [INFO] [stdout] 133 | | "INSERT INTO owned_starting_cards [INFO] [stdout] 134 | | SELECT [INFO] [stdout] 135 | | $1 as user_id, [INFO] [stdout] ... | [INFO] [stdout] 141 | | v.id as i64 [INFO] [stdout] 142 | | ) [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/controllers/users.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | query!("SELECT user_id FROM sessions WHERE hash = $1", token) [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/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | query!("SELECT username FROM users WHERE id = $1", id) [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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `card_game`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name card_game src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern argonautica=/opt/rustwide/target/debug/deps/libargonautica-96ed022b4288c2f9.rmeta --extern base64=/opt/rustwide/target/debug/deps/libbase64-2bf944003bf071f5.rmeta --extern card_game_shared=/opt/rustwide/target/debug/deps/libcard_game_shared-161c99c5773c8c80.rmeta --extern dotenv=/opt/rustwide/target/debug/deps/libdotenv-7b79a91758058b19.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-a4843079083cd1bb.rmeta --extern http=/opt/rustwide/target/debug/deps/libhttp-16ab9e20e9e93366.rmeta --extern pretty_env_logger=/opt/rustwide/target/debug/deps/libpretty_env_logger-15aed9089775eec9.rmeta --extern rand=/opt/rustwide/target/debug/deps/librand-56c0518755325c6d.rmeta --extern rand_core=/opt/rustwide/target/debug/deps/librand_core-d4ea6976f39a184d.rmeta --extern rlua=/opt/rustwide/target/debug/deps/librlua-c3ec7c88d8387f68.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-200fa4ada5848644.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-322cc54589472fcf.rmeta --extern sha2=/opt/rustwide/target/debug/deps/libsha2-70d45c73f0c8ddb4.rmeta --extern sqlx=/opt/rustwide/target/debug/deps/libsqlx-20600056b48e8acf.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-22377d097d26260c.rmeta --extern warp=/opt/rustwide/target/debug/deps/libwarp-5164d2b122dac85c.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e6bdbf4afeed8afe2a5f18018575afb35a6cfa4d6b11ff4564c019abcea75bba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6bdbf4afeed8afe2a5f18018575afb35a6cfa4d6b11ff4564c019abcea75bba", kill_on_drop: false }` [INFO] [stdout] e6bdbf4afeed8afe2a5f18018575afb35a6cfa4d6b11ff4564c019abcea75bba