[INFO] cloning repository https://github.com/88IO/snipers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/88IO/snipers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F88IO%2Fsnipers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F88IO%2Fsnipers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cb7fe849a1c41fb6fdb462e4b0eeb92f7286357 [INFO] testing 88IO/snipers against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F88IO%2Fsnipers" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/88IO/snipers on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/88IO/snipers [INFO] finished tweaking git repo https://github.com/88IO/snipers [INFO] tweaked toml for git repo https://github.com/88IO/snipers written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/88IO/snipers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] [stderr] Downloaded serenity v0.10.10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76fbe675ede6859b0584d39fd9c59c1fc9fe4c082b809d458a814fa1991b4641 [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" "76fbe675ede6859b0584d39fd9c59c1fc9fe4c082b809d458a814fa1991b4641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76fbe675ede6859b0584d39fd9c59c1fc9fe4c082b809d458a814fa1991b4641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76fbe675ede6859b0584d39fd9c59c1fc9fe4c082b809d458a814fa1991b4641", kill_on_drop: false }` [INFO] [stdout] 76fbe675ede6859b0584d39fd9c59c1fc9fe4c082b809d458a814fa1991b4641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ce84ce1bd4077fc3bf11aaf159f943bf593857b2842aa647b46dc311e5235be2 [INFO] running `Command { std: "docker" "start" "-a" "ce84ce1bd4077fc3bf11aaf159f943bf593857b2842aa647b46dc311e5235be2", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serenity) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling typemap_rev v0.1.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling spin v0.9.2 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio v1.17.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 rand v0.7.3 [INFO] [stderr] Compiling hashlink v0.7.0 [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.4 [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 futures-executor v0.3.21 [INFO] [stderr] Compiling tungstenite v0.11.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling sqlx-rt v0.5.11 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling flume v0.10.12 [INFO] [stderr] Compiling tracing v0.1.31 [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 h2 v0.3.11 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling sqlx-core v0.5.11 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling sqlx-macros v0.5.11 [INFO] [stderr] Compiling hyper-rustls v0.23.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling sqlx v0.5.11 [INFO] [stderr] Compiling snipe v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | if let Err(why) = sqlx::query!( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 79 | | "INSERT INTO setting (guild_id, utc_offset) VALUES (?, ?)", [INFO] [stdout] 80 | | guild_id, 0 [INFO] [stdout] 81 | | ) [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | ... if let Err(why) = sqlx::query!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 118 | | ... "INSERT INTO job (naive_utc, user_id, guild_id, event_type, utc_offset) SELECT ?, ?, ?, ?, utc_offset FROM setting WHERE guild_... [INFO] [stdout] 119 | | ... naive_utc, user_id, guild_id, EventType::Disconnect, guild_id [INFO] [stdout] 120 | | ... ) [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | ... let jobs = sqlx::query_as!( [INFO] [stdout] | __________________^ [INFO] [stdout] 144 | | ... Job, [INFO] [stdout] 145 | | ... r#"DELETE FROM job WHERE naive_utc <= CURRENT_TIMESTAMP RETURNING naive_utc, user_id, guild_id, event_type as "event_type!: Eve... [INFO] [stdout] 146 | | ... ) [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: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros [INFO] [stdout] --> src/main.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | if let Ok(_) = sqlx::query!("DELETE FROM job WHERE naive_utc <= CURRENT_TIMESTAMP") [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 imports: `EventType`, `Job` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use job::{Job, EventType}; [INFO] [stdout] | ^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/job.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `snipe` due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce84ce1bd4077fc3bf11aaf159f943bf593857b2842aa647b46dc311e5235be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce84ce1bd4077fc3bf11aaf159f943bf593857b2842aa647b46dc311e5235be2", kill_on_drop: false }` [INFO] [stdout] ce84ce1bd4077fc3bf11aaf159f943bf593857b2842aa647b46dc311e5235be2