[INFO] cloning repository https://github.com/fstp/discord_analyst_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fstp/discord_analyst_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffstp%2Fdiscord_analyst_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffstp%2Fdiscord_analyst_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7152d52f7a21c71396a2913c1fecce77d48cb99b [INFO] testing fstp/discord_analyst_bot against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffstp%2Fdiscord_analyst_bot" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fstp/discord_analyst_bot on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fstp/discord_analyst_bot [INFO] finished tweaking git repo https://github.com/fstp/discord_analyst_bot [INFO] tweaked toml for git repo https://github.com/fstp/discord_analyst_bot written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/fstp/discord_analyst_bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1de820b00703b3d50a3d2ac6ba6861120dd6faed855b32dde8db7437cbae6fa5 [INFO] running `Command { std: "docker" "start" "-a" "1de820b00703b3d50a3d2ac6ba6861120dd6faed855b32dde8db7437cbae6fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1de820b00703b3d50a3d2ac6ba6861120dd6faed855b32dde8db7437cbae6fa5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de820b00703b3d50a3d2ac6ba6861120dd6faed855b32dde8db7437cbae6fa5", kill_on_drop: false }` [INFO] [stdout] 1de820b00703b3d50a3d2ac6ba6861120dd6faed855b32dde8db7437cbae6fa5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a16c23b6963d318d0623b11a796119d0227bc83796bf3efee248866aa4a1bae8 [INFO] running `Command { std: "docker" "start" "-a" "a16c23b6963d318d0623b11a796119d0227bc83796bf3efee248866aa4a1bae8", 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling crc32fast v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling zeroize v1.5.0 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling sublime_fuzzy v0.7.0 [INFO] [stderr] Compiling libc v0.2.116 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling dialoguer v0.9.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling rustls v0.20.2 [INFO] [stderr] Compiling webpki-roots v0.22.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling webpki-roots v0.20.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling sqlx-rt v0.5.10 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling flume v0.10.10 [INFO] [stderr] Compiling sqlx-core v0.5.10 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.23.2 [INFO] [stderr] Compiling async-tungstenite v0.11.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling sqlx v0.5.10 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | / sqlx::query!( [INFO] [stdout] 424 | | "INSERT OR REPLACE INTO Guilds (id, name) VALUES (?, ?)", [INFO] [stdout] 425 | | guild_id, [INFO] [stdout] 426 | | name, [INFO] [stdout] 427 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | / sqlx::query!( [INFO] [stdout] 439 | | "INSERT OR REPLACE INTO Channels (id, name, guild) VALUES (?, ?, ?)", [INFO] [stdout] 440 | | channel_id, [INFO] [stdout] 441 | | name, [INFO] [stdout] 442 | | guild_id, [INFO] [stdout] 443 | | ) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | sqlx::query!("SELECT Guilds.name FROM Guilds") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 463 | sqlx::query!("SELECT Guilds.id FROM Guilds") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | / sqlx::query!( [INFO] [stdout] 477 | | " [INFO] [stdout] 478 | | SELECT Channels.name\n\ [INFO] [stdout] 479 | | FROM Channels\n\ [INFO] [stdout] ... | [INFO] [stdout] 482 | | server_name [INFO] [stdout] 483 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:611:22 [INFO] [stdout] | [INFO] [stdout] 611 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 612 | | " [INFO] [stdout] 613 | | SELECT webhook as \"webhook_id: i64\"\n\ [INFO] [stdout] 614 | | FROM Connections\n\ [INFO] [stdout] ... | [INFO] [stdout] 618 | | user, [INFO] [stdout] 619 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:712:22 [INFO] [stdout] | [INFO] [stdout] 712 | let result = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 713 | | " [INFO] [stdout] 714 | | SELECT\n\ [INFO] [stdout] 715 | | Guilds.name as guild_name,\n\ [INFO] [stdout] ... | [INFO] [stdout] 725 | | source_channel [INFO] [stdout] 726 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:1059:5 [INFO] [stdout] | [INFO] [stdout] 1059 | / sqlx::query!( [INFO] [stdout] 1060 | | " [INFO] [stdout] 1061 | | SELECT\n\ [INFO] [stdout] 1062 | | Guilds.name as guild_name,\n\ [INFO] [stdout] ... | [INFO] [stdout] 1072 | | channel_name, [INFO] [stdout] 1073 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:1092:5 [INFO] [stdout] | [INFO] [stdout] 1092 | / sqlx::query!( [INFO] [stdout] 1093 | | " [INFO] [stdout] 1094 | | SELECT id as \"webhook_id: i64\"\n\ [INFO] [stdout] 1095 | | FROM Webhooks\n\ [INFO] [stdout] ... | [INFO] [stdout] 1099 | | target, [INFO] [stdout] 1100 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:1128:18 [INFO] [stdout] | [INFO] [stdout] 1128 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 1129 | | "INSERT OR REPLACE INTO Webhooks (id, target, user) VALUES (?, ?, ?)", [INFO] [stdout] 1130 | | id, [INFO] [stdout] 1131 | | target, [INFO] [stdout] 1132 | | user, [INFO] [stdout] 1133 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:1151:43 [INFO] [stdout] | [INFO] [stdout] 1151 | let count: Result = sqlx::query!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 1152 | | " [INFO] [stdout] 1153 | | SELECT COUNT(1) as count\n\ [INFO] [stdout] 1154 | | FROM Connections\n\ [INFO] [stdout] ... | [INFO] [stdout] 1159 | | webhook [INFO] [stdout] 1160 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:1189:18 [INFO] [stdout] | [INFO] [stdout] 1189 | let result = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 1190 | | "INSERT OR REPLACE INTO Connections (source, target, webhook, user) VALUES (?, ?, ?, ?)", [INFO] [stdout] 1191 | | source, [INFO] [stdout] 1192 | | target, [INFO] [stdout] 1193 | | webhook, [INFO] [stdout] 1194 | | user [INFO] [stdout] 1195 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error returned from database: unable to open database file [INFO] [stdout] --> src/main.rs:1277:5 [INFO] [stdout] | [INFO] [stdout] 1277 | / sqlx::query!( [INFO] [stdout] 1278 | | "DELETE FROM Connections WHERE source = ? AND target = ? AND user = ?", [INFO] [stdout] 1279 | | source, [INFO] [stdout] 1280 | | target, [INFO] [stdout] 1281 | | user [INFO] [stdout] 1282 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::TryFutureExt` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use futures::TryFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bot` due to 14 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "a16c23b6963d318d0623b11a796119d0227bc83796bf3efee248866aa4a1bae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a16c23b6963d318d0623b11a796119d0227bc83796bf3efee248866aa4a1bae8", kill_on_drop: false }` [INFO] [stdout] a16c23b6963d318d0623b11a796119d0227bc83796bf3efee248866aa4a1bae8