[INFO] cloning repository https://github.com/tanaythan/avalon-tracker [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tanaythan/avalon-tracker" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaythan%2Favalon-tracker", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaythan%2Favalon-tracker'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94b83530517533e140ccf6ccaf6ecc3e6b43b65c [INFO] checking tanaythan/avalon-tracker against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaythan%2Favalon-tracker" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanaythan/avalon-tracker on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tanaythan/avalon-tracker [INFO] finished tweaking git repo https://github.com/tanaythan/avalon-tracker [INFO] tweaked toml for git repo https://github.com/tanaythan/avalon-tracker written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/tanaythan/avalon-tracker already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded standback v0.2.2 [INFO] [stderr] Downloaded time v0.2.9 [INFO] [stderr] Downloaded sqlx-core v0.3.4 [INFO] [stderr] Downloaded kv-log-macro v1.0.4 [INFO] [stderr] Downloaded sqlx-macros v0.3.4 [INFO] [stderr] Downloaded sqlx v0.3.4 [INFO] [stderr] Downloaded libsqlite3-sys v0.17.3 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f0950a6dd78b858330d51420e6614bc9e55c920dfe0a71c9ff5c0c790bff0e59 [INFO] running `Command { std: "docker" "start" "-a" "f0950a6dd78b858330d51420e6614bc9e55c920dfe0a71c9ff5c0c790bff0e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0950a6dd78b858330d51420e6614bc9e55c920dfe0a71c9ff5c0c790bff0e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0950a6dd78b858330d51420e6614bc9e55c920dfe0a71c9ff5c0c790bff0e59", kill_on_drop: false }` [INFO] [stdout] f0950a6dd78b858330d51420e6614bc9e55c920dfe0a71c9ff5c0c790bff0e59 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 995d98683535b775ea297ee1f253adf768e67c5db8c8c32348c1024814994a34 [INFO] running `Command { std: "docker" "start" "-a" "995d98683535b775ea297ee1f253adf768e67c5db8c8c32348c1024814994a34", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] async-std v1.5.0 (as host dependency): async-attributes, attributes [INFO] [stderr] futures-util v0.3.4: channel, futures-channel, futures-io, io, memchr [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Checking broadcaster v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking sqlx-core v0.3.4 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Compiling sqlx-macros v0.3.4 [INFO] [stderr] Checking sqlx v0.3.4 [INFO] [stderr] Checking avalon-tracker v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query!( [INFO] [stdout] 16 | | "insert into games (id, winner) VALUES (?, ?)", [INFO] [stdout] 17 | | game_id, [INFO] [stdout] 18 | | game.result.winner [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query!( [INFO] [stdout] 24 | | "INSERT INTO player_roles VALUES (?, ?, ?)", [INFO] [stdout] 25 | | game_id, [INFO] [stdout] 26 | | player, [INFO] [stdout] 27 | | role [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query!( [INFO] [stdout] 36 | | "INSERT INTO quests (id, fails, status) VALUES (?, ?, ?)", [INFO] [stdout] 37 | | quest_id, [INFO] [stdout] 38 | | quest.fails.unwrap_or(0), [INFO] [stdout] 39 | | &quest.status, [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / sqlx::query!( [INFO] [stdout] 44 | | "INSERT INTO games_to_quests VALUES (?, ?)", [INFO] [stdout] 45 | | game_id, [INFO] [stdout] 46 | | quest_id, [INFO] [stdout] 47 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | "INSERT INTO quest_participants (quest_id, name, role) VALUES (?, ?, ?)", [INFO] [stdout] 53 | | quest_id, [INFO] [stdout] 54 | | participant, [INFO] [stdout] 55 | | game.players.get(participant).unwrap_or(&Role::Servant) [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let raw_winner = sqlx::query!("SELECT winner FROM games WHERE id = ?", game_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let mut player_records = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 71 | | Player, [INFO] [stdout] 72 | | "SELECT name, role FROM player_roles WHERE game_id = ?", [INFO] [stdout] 73 | | game_id [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let quest_ids = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 83 | | "SELECT quest_id from games_to_quests WHERE game_id = ?", [INFO] [stdout] 84 | | game_id [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let quest = sqlx::query!("SELECT fails, status FROM quests where id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | sqlx::query!("SELECT name from quest_participants where quest_id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | let records = sqlx::query!("SELECT id FROM games").fetch_all(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `avalon-tracker` due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / sqlx::query!( [INFO] [stdout] 16 | | "insert into games (id, winner) VALUES (?, ?)", [INFO] [stdout] 17 | | game_id, [INFO] [stdout] 18 | | game.result.winner [INFO] [stdout] 19 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | / sqlx::query!( [INFO] [stdout] 24 | | "INSERT INTO player_roles VALUES (?, ?, ?)", [INFO] [stdout] 25 | | game_id, [INFO] [stdout] 26 | | player, [INFO] [stdout] 27 | | role [INFO] [stdout] 28 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | / sqlx::query!( [INFO] [stdout] 36 | | "INSERT INTO quests (id, fails, status) VALUES (?, ?, ?)", [INFO] [stdout] 37 | | quest_id, [INFO] [stdout] 38 | | quest.fails.unwrap_or(0), [INFO] [stdout] 39 | | &quest.status, [INFO] [stdout] 40 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | / sqlx::query!( [INFO] [stdout] 44 | | "INSERT INTO games_to_quests VALUES (?, ?)", [INFO] [stdout] 45 | | game_id, [INFO] [stdout] 46 | | quest_id, [INFO] [stdout] 47 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | / sqlx::query!( [INFO] [stdout] 52 | | "INSERT INTO quest_participants (quest_id, name, role) VALUES (?, ?, ?)", [INFO] [stdout] 53 | | quest_id, [INFO] [stdout] 54 | | participant, [INFO] [stdout] 55 | | game.players.get(participant).unwrap_or(&Role::Servant) [INFO] [stdout] 56 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | let raw_winner = sqlx::query!("SELECT winner FROM games WHERE id = ?", game_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let mut player_records = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 71 | | Player, [INFO] [stdout] 72 | | "SELECT name, role FROM player_roles WHERE game_id = ?", [INFO] [stdout] 73 | | game_id [INFO] [stdout] 74 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let quest_ids = sqlx::query!( [INFO] [stdout] | _____________________^ [INFO] [stdout] 83 | | "SELECT quest_id from games_to_quests WHERE game_id = ?", [INFO] [stdout] 84 | | game_id [INFO] [stdout] 85 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | let quest = sqlx::query!("SELECT fails, status FROM quests where id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | sqlx::query!("SELECT name from quest_participants where quest_id = ?", id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/db.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | let records = sqlx::query!("SELECT id FROM games").fetch_all(pool).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `macro_result` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "995d98683535b775ea297ee1f253adf768e67c5db8c8c32348c1024814994a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "995d98683535b775ea297ee1f253adf768e67c5db8c8c32348c1024814994a34", kill_on_drop: false }` [INFO] [stdout] 995d98683535b775ea297ee1f253adf768e67c5db8c8c32348c1024814994a34