[INFO] updating cached 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" "-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] 25d7e4bb3c7072f0043c8642ca30fc44684daa28 [INFO] testing icewind1991/log-normalizer against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ficewind1991%2Flog-normalizer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/icewind1991/log-normalizer on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-5/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be4952121dfc216825b5bc022f5c063d72801c87b1a3f61e0ac34e4f1225a319 [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" "be4952121dfc216825b5bc022f5c063d72801c87b1a3f61e0ac34e4f1225a319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be4952121dfc216825b5bc022f5c063d72801c87b1a3f61e0ac34e4f1225a319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be4952121dfc216825b5bc022f5c063d72801c87b1a3f61e0ac34e4f1225a319", kill_on_drop: false }` [INFO] [stdout] be4952121dfc216825b5bc022f5c063d72801c87b1a3f61e0ac34e4f1225a319 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37e1a00420f5dd996fc24eab1b97226556a35d37b464fb0ef21ad9dfcb4d78ce [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" "37e1a00420f5dd996fc24eab1b97226556a35d37b464fb0ef21ad9dfcb4d78ce", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Compiling main_error v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling test-case v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling sqlformat v0.1.0 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling steamid-ng v0.3.4 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling futures 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] Compiling sqlx-core v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling sqlx-macros v0.3.5 (https://github.com/icewind1991/sqlx?branch=type_override-exprgroup-0.3.5#a831d962) [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling sqlx v0.3.5 [INFO] [stderr] Compiling 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/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] 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] running `Command { std: "docker" "inspect" "37e1a00420f5dd996fc24eab1b97226556a35d37b464fb0ef21ad9dfcb4d78ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e1a00420f5dd996fc24eab1b97226556a35d37b464fb0ef21ad9dfcb4d78ce", kill_on_drop: false }` [INFO] [stdout] 37e1a00420f5dd996fc24eab1b97226556a35d37b464fb0ef21ad9dfcb4d78ce