[INFO] cloning repository https://github.com/icewind1991/log-normalizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/icewind1991/log-normalizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-normalizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-normalizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 25d7e4bb3c7072f0043c8642ca30fc44684daa28 [INFO] checking icewind1991/log-normalizer against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-normalizer" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/icewind1991/log-normalizer 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/icewind1991/log-normalizer [INFO] finished tweaking git repo https://github.com/icewind1991/log-normalizer [INFO] tweaked toml for git repo https://github.com/icewind1991/log-normalizer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/icewind1991/log-normalizer 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 8572d210c98ee321a89beb7652ec0d492f01f898b1c05f20e74ba02a79155ee6 [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" "8572d210c98ee321a89beb7652ec0d492f01f898b1c05f20e74ba02a79155ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8572d210c98ee321a89beb7652ec0d492f01f898b1c05f20e74ba02a79155ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8572d210c98ee321a89beb7652ec0d492f01f898b1c05f20e74ba02a79155ee6", kill_on_drop: false }` [INFO] [stdout] 8572d210c98ee321a89beb7652ec0d492f01f898b1c05f20e74ba02a79155ee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 5b153087580a22badcbff6fc2aac97335e7310602f8d40a02ad2172bff2769db [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" "5b153087580a22badcbff6fc2aac97335e7310602f8d40a02ad2172bff2769db", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling base64 v0.12.2 [INFO] [stderr] Checking main_error v0.1.0 [INFO] [stderr] Compiling test-case v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.112 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking async-native-tls v0.3.3 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking serde v1.0.112 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking steamid-ng v0.3.4 [INFO] [stderr] Checking sqlx-core v0.3.5 [INFO] [stderr] Compiling sqlx-core v0.3.5 (https://github.com/icewind1991/sqlx?branch=type_override-exprgroup-0.3.5#a831d962) [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Compiling sqlx-macros v0.3.5 (https://github.com/icewind1991/sqlx?branch=type_override-exprgroup-0.3.5#a831d962) [INFO] [stderr] Checking sqlx v0.3.5 [INFO] [stderr] Checking log-analyser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: DATABASE_URL not set [INFO] [stdout] --> src/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query!( [INFO] [stdout] 12 | | "INSERT INTO logs(id, red_score, blue_score, length, game_mode, map, type, date)\ [INFO] [stdout] 13 | | VALUES($1, $2, $3, $4, $5, $6, $7, $8)", [INFO] [stdout] 14 | | id, [INFO] [stdout] ... | [INFO] [stdout] 21 | | log.info.date() as DateTime [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/database.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let round_id: i32 = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 28 | | r#"INSERT INTO rounds( [INFO] [stdout] 29 | | round, log_id, length, winner, first_cap, red_score, blue_score, [INFO] [stdout] 30 | | red_kills, blue_kills, red_dmg, blue_dmg, red_ubers, blue_ubers [INFO] [stdout] ... | [INFO] [stdout] 46 | | round.team.blue.charges as i32, [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/database.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | / sqlx::query!( [INFO] [stdout] 57 | | "INSERT INTO events_point_cap(round_id, time, team, point)\ [INFO] [stdout] 58 | | VALUES($1, $2, $3, $4)", [INFO] [stdout] 59 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 62 | | *point as i32, [INFO] [stdout] 63 | | ) [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/database.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query!( [INFO] [stdout] 71 | | "INSERT INTO events_round_win(round_id, time, team)\ [INFO] [stdout] 72 | | VALUES($1, $2, $3)", [INFO] [stdout] 73 | | round_id, [INFO] [stdout] 74 | | *time as i32, [INFO] [stdout] 75 | | team.unwrap_or_default() as TeamId, [INFO] [stdout] 76 | | ) [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/database.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | / sqlx::query!( [INFO] [stdout] 89 | | "INSERT INTO events_medic_death(round_id, time, team, steam_id, killer)\ [INFO] [stdout] 90 | | VALUES($1, $2, $3, $4, $5)", [INFO] [stdout] 91 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 95 | | u64::from(*killer) as i64, [INFO] [stdout] 96 | | ) [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/database.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | / sqlx::query!( [INFO] [stdout] 108 | | "INSERT INTO events_drop(round_id, time, team, steam_id)\ [INFO] [stdout] 109 | | VALUES($1, $2, $3, $4)", [INFO] [stdout] 110 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 113 | | u64::from(*steamid) as i64, [INFO] [stdout] 114 | | ) [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/database.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "INSERT INTO events_charge(round_id, time, team, medigun, steam_id)\ [INFO] [stdout] 128 | | VALUES($1, $2, $3, $4, $5)", [INFO] [stdout] 129 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 133 | | u64::from(*steamid) as i64, [INFO] [stdout] 134 | | ) [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/database.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | let player_id: i64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 158 | | "INSERT INTO players (\ [INFO] [stdout] 159 | | log_id, steam_id, name, team, kills, deaths, assists,\ [INFO] [stdout] 160 | | suicides, dmg, damage_taken, ubers, medigun_ubers,\ [INFO] [stdout] ... | [INFO] [stdout] 220 | | kills.spy as i32 [INFO] [stdout] 221 | | ) [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/database.rs:228:46 [INFO] [stdout] | [INFO] [stdout] 228 | let class_stat_id: i64 = sqlx::query!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 229 | | "INSERT INTO class_stats(player_id, type, time, kills, deaths, assists, dmg)\ [INFO] [stdout] 230 | | VALUES($1, $2, $3, $4, $5, $6, $7)\ [INFO] [stdout] 231 | | RETURNING id", [INFO] [stdout] ... | [INFO] [stdout] 238 | | class.dmg as i32, [INFO] [stdout] 239 | | ) [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/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | / sqlx::query!( [INFO] [stdout] 12 | | "INSERT INTO logs(id, red_score, blue_score, length, game_mode, map, type, date)\ [INFO] [stdout] 13 | | VALUES($1, $2, $3, $4, $5, $6, $7, $8)", [INFO] [stdout] 14 | | id, [INFO] [stdout] ... | [INFO] [stdout] 21 | | log.info.date() as DateTime [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/database.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | / sqlx::query!( [INFO] [stdout] 246 | | "INSERT INTO player_weapon_stats(class_stat_id, weapon, kills, shots, hits, dmg)\ [INFO] [stdout] 247 | | VALUES($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 248 | | class_stat_id, [INFO] [stdout] ... | [INFO] [stdout] 253 | | stats.dmg as i32, [INFO] [stdout] 254 | | ) [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/database.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | let round_id: i32 = sqlx::query!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 28 | | r#"INSERT INTO rounds( [INFO] [stdout] 29 | | round, log_id, length, winner, first_cap, red_score, blue_score, [INFO] [stdout] 30 | | red_kills, blue_kills, red_dmg, blue_dmg, red_ubers, blue_ubers [INFO] [stdout] ... | [INFO] [stdout] 46 | | round.team.blue.charges as i32, [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/database.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | / sqlx::query!( [INFO] [stdout] 57 | | "INSERT INTO events_point_cap(round_id, time, team, point)\ [INFO] [stdout] 58 | | VALUES($1, $2, $3, $4)", [INFO] [stdout] 59 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 62 | | *point as i32, [INFO] [stdout] 63 | | ) [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/database.rs:70:25 [INFO] [stdout] | [INFO] [stdout] 70 | / sqlx::query!( [INFO] [stdout] 71 | | "INSERT INTO events_round_win(round_id, time, team)\ [INFO] [stdout] 72 | | VALUES($1, $2, $3)", [INFO] [stdout] 73 | | round_id, [INFO] [stdout] 74 | | *time as i32, [INFO] [stdout] 75 | | team.unwrap_or_default() as TeamId, [INFO] [stdout] 76 | | ) [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/database.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | / sqlx::query!( [INFO] [stdout] 89 | | "INSERT INTO events_medic_death(round_id, time, team, steam_id, killer)\ [INFO] [stdout] 90 | | VALUES($1, $2, $3, $4, $5)", [INFO] [stdout] 91 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 95 | | u64::from(*killer) as i64, [INFO] [stdout] 96 | | ) [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/database.rs:107:25 [INFO] [stdout] | [INFO] [stdout] 107 | / sqlx::query!( [INFO] [stdout] 108 | | "INSERT INTO events_drop(round_id, time, team, steam_id)\ [INFO] [stdout] 109 | | VALUES($1, $2, $3, $4)", [INFO] [stdout] 110 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 113 | | u64::from(*steamid) as i64, [INFO] [stdout] 114 | | ) [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/database.rs:126:25 [INFO] [stdout] | [INFO] [stdout] 126 | / sqlx::query!( [INFO] [stdout] 127 | | "INSERT INTO events_charge(round_id, time, team, medigun, steam_id)\ [INFO] [stdout] 128 | | VALUES($1, $2, $3, $4, $5)", [INFO] [stdout] 129 | | round_id, [INFO] [stdout] ... | [INFO] [stdout] 133 | | u64::from(*steamid) as i64, [INFO] [stdout] 134 | | ) [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/database.rs:157:34 [INFO] [stdout] | [INFO] [stdout] 157 | let player_id: i64 = sqlx::query!( [INFO] [stdout] | __________________________________^ [INFO] [stdout] 158 | | "INSERT INTO players (\ [INFO] [stdout] 159 | | log_id, steam_id, name, team, kills, deaths, assists,\ [INFO] [stdout] 160 | | suicides, dmg, damage_taken, ubers, medigun_ubers,\ [INFO] [stdout] ... | [INFO] [stdout] 220 | | kills.spy as i32 [INFO] [stdout] 221 | | ) [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/database.rs:228:46 [INFO] [stdout] | [INFO] [stdout] 228 | let class_stat_id: i64 = sqlx::query!( [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 229 | | "INSERT INTO class_stats(player_id, type, time, kills, deaths, assists, dmg)\ [INFO] [stdout] 230 | | VALUES($1, $2, $3, $4, $5, $6, $7)\ [INFO] [stdout] 231 | | RETURNING id", [INFO] [stdout] ... | [INFO] [stdout] 238 | | class.dmg as i32, [INFO] [stdout] 239 | | ) [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/database.rs:245:25 [INFO] [stdout] | [INFO] [stdout] 245 | / sqlx::query!( [INFO] [stdout] 246 | | "INSERT INTO player_weapon_stats(class_stat_id, weapon, kills, shots, hits, dmg)\ [INFO] [stdout] 247 | | VALUES($1, $2, $3, $4, $5, $6)", [INFO] [stdout] 248 | | class_stat_id, [INFO] [stdout] ... | [INFO] [stdout] 253 | | stats.dmg as i32, [INFO] [stdout] 254 | | ) [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:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(sqlx::query!(r#"SELECT MAX(id) as id from logs"#) [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:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | Ok(sqlx::query!(r#"SELECT MAX(id) as id from logs"#) [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 imports: `GameMode`, `MapType`, `Medigun`, `TeamId` [INFO] [stdout] --> src/database.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::data::{Class, GameMode, MapType, Medigun, TeamId}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/database.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameMode`, `MapType`, `Medigun`, `TeamId` [INFO] [stdout] --> src/database.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::data::{Class, GameMode, MapType, Medigun, TeamId}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `Utc` [INFO] [stdout] --> src/database.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `log-analyser` [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5b153087580a22badcbff6fc2aac97335e7310602f8d40a02ad2172bff2769db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b153087580a22badcbff6fc2aac97335e7310602f8d40a02ad2172bff2769db", kill_on_drop: false }` [INFO] [stdout] 5b153087580a22badcbff6fc2aac97335e7310602f8d40a02ad2172bff2769db