[INFO] cloning repository https://github.com/tanaythan/avalon-tracker [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaythan%2Favalon-tracker'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 94b83530517533e140ccf6ccaf6ecc3e6b43b65c [INFO] testing tanaythan/avalon-tracker against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftanaythan%2Favalon-tracker" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tanaythan/avalon-tracker on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/tanaythan/avalon-tracker already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3a0a38ce7c44956f924881b9d1cc51e5792928abcf5f9d22a71910982285aefb [INFO] running `"docker" "start" "-a" "3a0a38ce7c44956f924881b9d1cc51e5792928abcf5f9d22a71910982285aefb"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling dotenv v0.15.0 [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 libsqlite3-sys v0.17.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling kv-log-macro v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.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] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling 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 async-attributes v1.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.15 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling async-stream v0.2.1 [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] Compiling structopt v0.3.14 [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 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] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | / sqlx::query!( [INFO] [stderr] 16 | | "insert into games (id, winner) VALUES (?, ?)", [INFO] [stderr] 17 | | game_id, [INFO] [stderr] 18 | | game.result.winner [INFO] [stderr] 19 | | ) [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:23:9 [INFO] [stderr] | [INFO] [stderr] 23 | / sqlx::query!( [INFO] [stderr] 24 | | "INSERT INTO player_roles VALUES (?, ?, ?)", [INFO] [stderr] 25 | | game_id, [INFO] [stderr] 26 | | player, [INFO] [stderr] 27 | | role [INFO] [stderr] 28 | | ) [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 35 | / sqlx::query!( [INFO] [stderr] 36 | | "INSERT INTO quests (id, fails, status) VALUES (?, ?, ?)", [INFO] [stderr] 37 | | quest_id, [INFO] [stderr] 38 | | quest.fails.unwrap_or(0), [INFO] [stderr] 39 | | &quest.status, [INFO] [stderr] 40 | | ) [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | / sqlx::query!( [INFO] [stderr] 44 | | "INSERT INTO games_to_quests VALUES (?, ?)", [INFO] [stderr] 45 | | game_id, [INFO] [stderr] 46 | | quest_id, [INFO] [stderr] 47 | | ) [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | / sqlx::query!( [INFO] [stderr] 52 | | "INSERT INTO quest_participants (quest_id, name, role) VALUES (?, ?, ?)", [INFO] [stderr] 53 | | quest_id, [INFO] [stderr] 54 | | participant, [INFO] [stderr] 55 | | game.players.get(participant).unwrap_or(&Role::Servant) [INFO] [stderr] 56 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:66:22 [INFO] [stderr] | [INFO] [stderr] 66 | let raw_winner = sqlx::query!("SELECT winner FROM games WHERE id = ?", game_id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:70:30 [INFO] [stderr] | [INFO] [stderr] 70 | let mut player_records = sqlx::query_as!( [INFO] [stderr] | ______________________________^ [INFO] [stderr] 71 | | Player, [INFO] [stderr] 72 | | "SELECT name, role FROM player_roles WHERE game_id = ?", [INFO] [stderr] 73 | | game_id [INFO] [stderr] 74 | | ) [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | let quest_ids = sqlx::query!( [INFO] [stderr] | _____________________^ [INFO] [stderr] 83 | | "SELECT quest_id from games_to_quests WHERE game_id = ?", [INFO] [stderr] 84 | | game_id [INFO] [stderr] 85 | | ) [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | let quest = sqlx::query!("SELECT fails, status FROM quests where id = ?", id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:96:13 [INFO] [stderr] | [INFO] [stderr] 96 | sqlx::query!("SELECT name from quest_participants where quest_id = ?", id) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: DATABASE_URL not set [INFO] [stderr] --> src/db.rs:141:19 [INFO] [stderr] | [INFO] [stderr] 141 | let records = sqlx::query!("SELECT id FROM games").fetch_all(pool).await?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 11 previous errors [INFO] [stderr] [INFO] [stderr] error: could not compile `avalon-tracker`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3a0a38ce7c44956f924881b9d1cc51e5792928abcf5f9d22a71910982285aefb"` [INFO] running `"docker" "rm" "-f" "3a0a38ce7c44956f924881b9d1cc51e5792928abcf5f9d22a71910982285aefb"` [INFO] [stdout] 3a0a38ce7c44956f924881b9d1cc51e5792928abcf5f9d22a71910982285aefb