[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94b83530517533e140ccf6ccaf6ecc3e6b43b65c [INFO] testing tanaythan/avalon-tracker against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaythan%2Favalon-tracker" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanaythan/avalon-tracker on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-14/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ef447388c4f5c2b6a1b9826a84e0abaac1697fc608f4d2dfca72dc2d9b759d [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" "04ef447388c4f5c2b6a1b9826a84e0abaac1697fc608f4d2dfca72dc2d9b759d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ef447388c4f5c2b6a1b9826a84e0abaac1697fc608f4d2dfca72dc2d9b759d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ef447388c4f5c2b6a1b9826a84e0abaac1697fc608f4d2dfca72dc2d9b759d", kill_on_drop: false }` [INFO] [stdout] 04ef447388c4f5c2b6a1b9826a84e0abaac1697fc608f4d2dfca72dc2d9b759d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "RUSTFLAGS=--cap-lints=warn" "-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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 012f39e06fa51a4ee800dc4d235c46adbad25864323fd5e1b2cb6f7e54971219 [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" "012f39e06fa51a4ee800dc4d235c46adbad25864323fd5e1b2cb6f7e54971219", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling parking_lot_core v0.7.1 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling thiserror v1.0.15 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Compiling broadcaster v1.0.0 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling structopt v0.3.14 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling sqlx-core v0.3.4 [INFO] [stderr] Compiling sqlx-macros v0.3.4 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling sqlx v0.3.4 [INFO] [stderr] Compiling avalon-tracker v0.1.0 (/opt/rustwide/workdir) [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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 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: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 a macro (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`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "012f39e06fa51a4ee800dc4d235c46adbad25864323fd5e1b2cb6f7e54971219", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "012f39e06fa51a4ee800dc4d235c46adbad25864323fd5e1b2cb6f7e54971219", kill_on_drop: false }` [INFO] [stdout] 012f39e06fa51a4ee800dc4d235c46adbad25864323fd5e1b2cb6f7e54971219