[INFO] cloning repository https://github.com/bluecupcoffee/rust_api
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bluecupcoffee/rust_api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluecupcoffee%2Frust_api", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluecupcoffee%2Frust_api'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1440dd83f555d3e18e106fe62e2790401340d6c7
[INFO] testing bluecupcoffee/rust_api against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbluecupcoffee%2Frust_api" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/bluecupcoffee/rust_api
[INFO] finished tweaking git repo https://github.com/bluecupcoffee/rust_api
[INFO] tweaked toml for git repo https://github.com/bluecupcoffee/rust_api written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bluecupcoffee/rust_api on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bluecupcoffee/rust_api already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f
[INFO] running `Command { std: "docker" "start" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: rust_api v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `runtime-tokio` which is missing a lib target
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling value-bag v1.9.0
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling bytes v1.6.1
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling parking v2.2.0
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling tinyvec v1.8.0
[INFO] [stderr]    Compiling cc v1.1.6
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling tracing-core v0.1.32
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling futures-lite v2.3.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling piper v0.2.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.65
[INFO] [stderr]    Compiling rustix v0.37.27
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling unicode-bidi v0.3.15
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling event-listener v5.3.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling async-executor v1.13.0
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling event-listener-strategy v0.5.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling async-lock v3.4.0
[INFO] [stderr]    Compiling async-channel v2.3.1
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling blocking v1.6.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling base64ct v1.6.0
[INFO] [stderr]    Compiling sqlformat v0.2.4
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling pem-rfc7468 v0.7.0
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling crossbeam-queue v0.3.11
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling der v0.7.9
[INFO] [stderr]    Compiling tokio v1.38.1
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling spki v0.7.3
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling pkcs8 v0.10.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling multer v2.1.0
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling pkcs1 v0.7.5
[INFO] [stderr]    Compiling num-bigint-dig v0.8.4
[INFO] [stderr]    Compiling headers-core v0.2.0
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling signature v2.2.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling encoding_rs v0.8.34
[INFO] [stderr]    Compiling unicode-properties v0.1.1
[INFO] [stderr]    Compiling hkdf v0.12.4
[INFO] [stderr]    Compiling headers v0.3.9
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]    Compiling whoami v1.5.1
[INFO] [stderr]    Compiling rsa v0.9.6
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio-macros v2.3.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling polling v3.7.2
[INFO] [stderr]    Compiling tungstenite v0.21.0
[INFO] [stderr]    Compiling async-io v2.3.3
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling async-std v1.12.0
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-tungstenite v0.21.0
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling hyper v0.14.30
[INFO] [stderr]    Compiling sqlx-mysql v0.7.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling warp v0.3.7
[INFO] [stderr]    Compiling rust_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/models.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models`
[INFO] [stdout]  --> src/models.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::models;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `red` should have an upper camel case name
[INFO] [stdout]   --> src/models.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     red,
[INFO] [stdout]    |     ^^^ help: convert the identifier to upper camel case: `Red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `blue` should have an upper camel case name
[INFO] [stdout]   --> src/models.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     blue,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Blue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `yellow` should have an upper camel case name
[INFO] [stdout]   --> src/models.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     yellow,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Yellow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs` and `io`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, io};
[INFO] [stdout]   |           ^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pool`
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::{Pool, Error};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MySql`
[INFO] [stdout]  --> src/main.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlx_mysql::{MySql, MySqlPool, MySqlQueryResult};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Colors`
[INFO] [stdout]   --> src/main.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::models::{Person, PersonGenerator, Colors};
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/main.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |     if let mut max_conn = pool.options().get_max_connections() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/models.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         for i in 0..self.population {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Ok(r) => println!("{:#?}", i),
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `max_conn` is never read
[INFO] [stdout]   --> src/main.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             max_conn =1;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_test_table` is never used
[INFO] [stdout]   --> src/main.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | async fn replace_test_table(pool: &MySqlPool) -> Result<MySqlQueryResult, Error> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/threadpool.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ThreadPool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/threadpool.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn execute<F>(&self, f: F)
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/threadpool.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Worker {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/threadpool.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 39 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/threadpool.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | type Job = Box<dyn FnOnce() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: rust_api v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `runtime-tokio` which is missing a lib target
[INFO] [stderr]    Compiling rust_api v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Path`
[INFO] [stdout]  --> src/models.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::path::{Path, PathBuf};
[INFO] [stdout]   |                 ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::models`
[INFO] [stdout]  --> src/models.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use crate::models;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `red` should have an upper camel case name
[INFO] [stdout]   --> src/models.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     red,
[INFO] [stdout]    |     ^^^ help: convert the identifier to upper camel case: `Red`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `blue` should have an upper camel case name
[INFO] [stdout]   --> src/models.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 30 |     blue,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Blue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `yellow` should have an upper camel case name
[INFO] [stdout]   --> src/models.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     yellow,
[INFO] [stdout]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Yellow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `fs` and `io`
[INFO] [stdout]  --> src/main.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{fs, io};
[INFO] [stdout]   |           ^^  ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Pool`
[INFO] [stdout]  --> src/main.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::{Pool, Error};
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MySql`
[INFO] [stdout]  --> src/main.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sqlx_mysql::{MySql, MySqlPool, MySqlQueryResult};
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Colors`
[INFO] [stdout]   --> src/main.rs:10:46
[INFO] [stdout]    |
[INFO] [stdout] 10 | use crate::models::{Person, PersonGenerator, Colors};
[INFO] [stdout]    |                                              ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: irrefutable `if let` pattern
[INFO] [stdout]   --> src/main.rs:76:8
[INFO] [stdout]    |
[INFO] [stdout] 76 |     if let mut max_conn = pool.options().get_max_connections() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stdout]    = help: consider replacing the `if let` with a `let`
[INFO] [stdout]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/models.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         for i in 0..self.population {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/main.rs:32:16
[INFO] [stdout]    |
[INFO] [stdout] 32 |             Ok(r) => println!("{:#?}", i),
[INFO] [stdout]    |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `max_conn` is never read
[INFO] [stdout]   --> src/main.rs:78:13
[INFO] [stdout]    |
[INFO] [stdout] 78 |             max_conn =1;
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `replace_test_table` is never used
[INFO] [stdout]   --> src/main.rs:57:10
[INFO] [stdout]    |
[INFO] [stdout] 57 | async fn replace_test_table(pool: &MySqlPool) -> Result<MySqlQueryResult, Error> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ThreadPool` is never constructed
[INFO] [stdout]  --> src/threadpool.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ThreadPool {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `execute` are never used
[INFO] [stdout]   --> src/threadpool.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl ThreadPool {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 10 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     pub fn execute<F>(&self, f: F)
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Worker` is never constructed
[INFO] [stdout]   --> src/threadpool.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub struct Worker {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/threadpool.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | impl Worker {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 39 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Job` is never used
[INFO] [stdout]   --> src/threadpool.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | type Job = Box<dyn FnOnce() + Send + 'static>;
[INFO] [stdout]    |      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.95s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: rust_api v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `runtime-tokio` which is missing a lib target
[INFO] [stderr] warning: unused import: `Path`
[INFO] [stderr]  --> src/models.rs:5:17
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::path::{Path, PathBuf};
[INFO] [stderr]   |                 ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::models`
[INFO] [stderr]  --> src/models.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use crate::models;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `red` should have an upper camel case name
[INFO] [stderr]   --> src/models.rs:29:5
[INFO] [stderr]    |
[INFO] [stderr] 29 |     red,
[INFO] [stderr]    |     ^^^ help: convert the identifier to upper camel case: `Red`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `blue` should have an upper camel case name
[INFO] [stderr]   --> src/models.rs:30:5
[INFO] [stderr]    |
[INFO] [stderr] 30 |     blue,
[INFO] [stderr]    |     ^^^^ help: convert the identifier to upper camel case: `Blue`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `yellow` should have an upper camel case name
[INFO] [stderr]   --> src/models.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     yellow,
[INFO] [stderr]    |     ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Yellow`
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `fs` and `io`
[INFO] [stderr]  --> src/main.rs:4:11
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::{fs, io};
[INFO] [stderr]   |           ^^  ^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]  --> src/main.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::fs::File;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::io::BufRead`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::io::BufRead;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::path::Path`
[INFO] [stderr]  --> src/main.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 | use std::path::Path;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Pool`
[INFO] [stderr]  --> src/main.rs:8:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | use sqlx::{Pool, Error};
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `MySql`
[INFO] [stderr]  --> src/main.rs:9:18
[INFO] [stderr]   |
[INFO] [stderr] 9 | use sqlx_mysql::{MySql, MySqlPool, MySqlQueryResult};
[INFO] [stderr]   |                  ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Colors`
[INFO] [stderr]   --> src/main.rs:10:46
[INFO] [stderr]    |
[INFO] [stderr] 10 | use crate::models::{Person, PersonGenerator, Colors};
[INFO] [stderr]    |                                              ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: irrefutable `if let` pattern
[INFO] [stderr]   --> src/main.rs:76:8
[INFO] [stderr]    |
[INFO] [stderr] 76 |     if let mut max_conn = pool.options().get_max_connections() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this pattern will always match, so the `if let` is useless
[INFO] [stderr]    = help: consider replacing the `if let` with a `let`
[INFO] [stderr]    = note: `#[warn(irrefutable_let_patterns)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> src/models.rs:107:13
[INFO] [stderr]     |
[INFO] [stderr] 107 |         for i in 0..self.population {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]   --> src/main.rs:32:16
[INFO] [stderr]    |
[INFO] [stderr] 32 |             Ok(r) => println!("{:#?}", i),
[INFO] [stderr]    |                ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `max_conn` is never read
[INFO] [stderr]   --> src/main.rs:78:13
[INFO] [stderr]    |
[INFO] [stderr] 78 |             max_conn =1;
[INFO] [stderr]    |             ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `replace_test_table` is never used
[INFO] [stderr]   --> src/main.rs:57:10
[INFO] [stderr]    |
[INFO] [stderr] 57 | async fn replace_test_table(pool: &MySqlPool) -> Result<MySqlQueryResult, Error> {
[INFO] [stderr]    |          ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ThreadPool` is never constructed
[INFO] [stderr]  --> src/threadpool.rs:4:12
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct ThreadPool {
[INFO] [stderr]   |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new` and `execute` are never used
[INFO] [stderr]   --> src/threadpool.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl ThreadPool {
[INFO] [stderr]    | --------------- associated items in this implementation
[INFO] [stderr] 10 |     pub fn new(size: usize) -> ThreadPool {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     pub fn execute<F>(&self, f: F)
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Worker` is never constructed
[INFO] [stderr]   --> src/threadpool.rs:33:12
[INFO] [stderr]    |
[INFO] [stderr] 33 | pub struct Worker {
[INFO] [stderr]    |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/threadpool.rs:39:8
[INFO] [stderr]    |
[INFO] [stderr] 38 | impl Worker {
[INFO] [stderr]    | ----------- associated function in this implementation
[INFO] [stderr] 39 |     fn new(id: usize, receiver: Arc<Mutex<mpsc::Receiver<Job>>>) -> Worker {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: type alias `Job` is never used
[INFO] [stderr]   --> src/threadpool.rs:52:6
[INFO] [stderr]    |
[INFO] [stderr] 52 | type Job = Box<dyn FnOnce() + Send + 'static>;
[INFO] [stderr]    |      ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `rust_api` (bin "rust_api" test) generated 22 warnings (run `cargo fix --bin "rust_api" -p rust_api --tests` to apply 11 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_api-bf24d3c2cc446e24)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f", kill_on_drop: false }`
[INFO] [stdout] bd201d5d6f1be5002ee86824bb6090fbf645cd17df5c1d7e6f61fb294b3d4a1f
