[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-normalizer" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/icewind1991/log-normalizer on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddb1b256bd6c022a16c92d462792a5f4bbfe9715c9941a8342d2bb9db583bd30 [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" "ddb1b256bd6c022a16c92d462792a5f4bbfe9715c9941a8342d2bb9db583bd30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddb1b256bd6c022a16c92d462792a5f4bbfe9715c9941a8342d2bb9db583bd30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddb1b256bd6c022a16c92d462792a5f4bbfe9715c9941a8342d2bb9db583bd30", kill_on_drop: false }` [INFO] [stdout] ddb1b256bd6c022a16c92d462792a5f4bbfe9715c9941a8342d2bb9db583bd30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d235b2330f1a86296fc7827c196d31f2a3ea9548ada8c54244a89b0416496ce [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" "5d235b2330f1a86296fc7827c196d31f2a3ea9548ada8c54244a89b0416496ce", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Checking base64 v0.12.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling test-case v1.0.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking encoding_rs v0.8.23 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [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] Compiling native-tls v0.2.4 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking md-5 v0.8.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sqlformat v0.1.0 [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 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] Checking 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] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking reqwest v0.10.6 [INFO] [stderr] Compiling sqlx-core v0.3.5 (https://github.com/icewind1991/sqlx?branch=type_override-exprgroup-0.3.5#a831d962) [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: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: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: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" "5d235b2330f1a86296fc7827c196d31f2a3ea9548ada8c54244a89b0416496ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d235b2330f1a86296fc7827c196d31f2a3ea9548ada8c54244a89b0416496ce", kill_on_drop: false }` [INFO] [stdout] 5d235b2330f1a86296fc7827c196d31f2a3ea9548ada8c54244a89b0416496ce