[INFO] cloning repository https://github.com/neiskip/Rust-queue-worker-with-mysql-as-storage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neiskip/Rust-queue-worker-with-mysql-as-storage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneiskip%2FRust-queue-worker-with-mysql-as-storage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneiskip%2FRust-queue-worker-with-mysql-as-storage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ab97fd0837d95dec9327801c57b0d734fac3a6a [INFO] checking neiskip/Rust-queue-worker-with-mysql-as-storage against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneiskip%2FRust-queue-worker-with-mysql-as-storage" "/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/neiskip/Rust-queue-worker-with-mysql-as-storage on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/neiskip/Rust-queue-worker-with-mysql-as-storage [INFO] finished tweaking git repo https://github.com/neiskip/Rust-queue-worker-with-mysql-as-storage [INFO] tweaked toml for git repo https://github.com/neiskip/Rust-queue-worker-with-mysql-as-storage written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/neiskip/Rust-queue-worker-with-mysql-as-storage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ulid v0.5.0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22c8481e744b7a5322c06ff1e37ce0855dad25da48f45f5dad8aa78b26d399b3 [INFO] running `Command { std: "docker" "start" "-a" "22c8481e744b7a5322c06ff1e37ce0855dad25da48f45f5dad8aa78b26d399b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22c8481e744b7a5322c06ff1e37ce0855dad25da48f45f5dad8aa78b26d399b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c8481e744b7a5322c06ff1e37ce0855dad25da48f45f5dad8aa78b26d399b3", kill_on_drop: false }` [INFO] [stdout] 22c8481e744b7a5322c06ff1e37ce0855dad25da48f45f5dad8aa78b26d399b3 [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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e54f7a7917d9a80377f1978c86dbb9a9b008dd2a4f4016cbe7ebe69b3bfb3b04 [INFO] running `Command { std: "docker" "start" "-a" "e54f7a7917d9a80377f1978c86dbb9a9b008dd2a4f4016cbe7ebe69b3bfb3b04", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling const-oid v0.6.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling num-bigint-dig v0.7.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling base64ct v1.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling pem-rfc7468 v0.2.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking crypto-bigint v0.2.11 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking der v0.4.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Checking spki v0.4.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling zeroize_derive v1.3.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling zeroize v1.4.3 [INFO] [stderr] Compiling pkcs1 v0.2.4 [INFO] [stderr] Checking pkcs8 v0.7.6 [INFO] [stderr] Checking rsa v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking ulid v0.5.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking sqlx-rt v0.5.10 [INFO] [stderr] Checking sqlx-core v0.5.10 [INFO] [stderr] Compiling sqlx-macros v0.5.10 [INFO] [stderr] Checking sqlx v0.5.10 [INFO] [stderr] Checking rust_queue v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::char::MAX` [INFO] [stdout] --> src/mysqljob.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::char::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/mysqljob.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{self, types::Json, query}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Standard` [INFO] [stdout] --> src/main.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::distributions::{Alphanumeric, Standard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::MAX` [INFO] [stdout] --> src/mysqljob.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::char::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/mysqljob.rs:4:31 [INFO] [stdout] | [INFO] [stdout] 4 | use sqlx::{self, types::Json, query}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Standard` [INFO] [stdout] --> src/main.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | use rand::distributions::{Alphanumeric, Standard}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_attempts` is never read [INFO] [stdout] --> src/mysqljob.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MySqlQueue{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | db: DB, [INFO] [stdout] 16 | max_attempts: u32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `MySqlQueue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_at`, `updated_at`, `scheduled_for`, `failed_attempts` and `status` are never read [INFO] [stdout] --> src/mysqljob.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct MySqlJob { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | id: uuid::Uuid, [INFO] [stdout] 24 | created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | updated_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | scheduled_for: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | failed_attempts: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | status: MySqlJobStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MySqlJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_attempts` is never read [INFO] [stdout] --> src/mysqljob.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MySqlQueue{ [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | db: DB, [INFO] [stdout] 16 | max_attempts: u32 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `MySqlQueue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_at`, `updated_at`, `scheduled_for`, `failed_attempts` and `status` are never read [INFO] [stdout] --> src/mysqljob.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct MySqlJob { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 23 | id: uuid::Uuid, [INFO] [stdout] 24 | created_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | updated_at: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | [INFO] [stdout] 27 | scheduled_for: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 28 | failed_attempts: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | status: MySqlJobStatus, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MySqlJob` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.72s [INFO] running `Command { std: "docker" "inspect" "e54f7a7917d9a80377f1978c86dbb9a9b008dd2a4f4016cbe7ebe69b3bfb3b04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e54f7a7917d9a80377f1978c86dbb9a9b008dd2a4f4016cbe7ebe69b3bfb3b04", kill_on_drop: false }` [INFO] [stdout] e54f7a7917d9a80377f1978c86dbb9a9b008dd2a4f4016cbe7ebe69b3bfb3b04