[INFO] cloning repository https://github.com/YouXiang-Wang/data_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YouXiang-Wang/data_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a3156677ea2267616e361775a4390862b5bc9f1 [INFO] testing YouXiang-Wang/data_tools against 1.77.0 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YouXiang-Wang/data_tools on toolchain 1.77.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.77.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YouXiang-Wang/data_tools [INFO] finished tweaking git repo https://github.com/YouXiang-Wang/data_tools [INFO] tweaked toml for git repo https://github.com/YouXiang-Wang/data_tools written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YouXiang-Wang/data_tools 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.77.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 533159888fb089008ee0a68b362043345b79ca84e61536212171b42262d655d9 [INFO] running `Command { std: "docker" "start" "-a" "533159888fb089008ee0a68b362043345b79ca84e61536212171b42262d655d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "533159888fb089008ee0a68b362043345b79ca84e61536212171b42262d655d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "533159888fb089008ee0a68b362043345b79ca84e61536212171b42262d655d9", kill_on_drop: false }` [INFO] [stdout] 533159888fb089008ee0a68b362043345b79ca84e61536212171b42262d655d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8beb2f84a9557b668674e4595d63b7f513803ccdfad01f42d83209518b0be8ca [INFO] running `Command { std: "docker" "start" "-a" "8beb2f84a9557b668674e4595d63b7f513803ccdfad01f42d83209518b0be8ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling time v0.3.32 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling uuid v1.7.0 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.33 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.24 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling data_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `task`, `time` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::{task, time}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HumanDuration` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use indicatif::{HumanDuration, MultiProgress, ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::HeaderMap` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use reqwest::header::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | let _batch = if(rate <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - let _batch = if(rate <= 0) { [INFO] [stdout] 335 + let _batch = if rate <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | if(batch > count) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 336 - if(batch > count) { [INFO] [stdout] 336 + if batch > count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 347 | if(count == 0 || batch == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if(count == 0 || batch == 0) { [INFO] [stdout] 347 + if count == 0 || batch == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:359:31 [INFO] [stdout] | [INFO] [stdout] 359 | let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] 359 + let round = if count % _batch == 0 {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | if(rate > 0 && _t > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 - if(rate > 0 && _t > 0) { [INFO] [stdout] 436 + if rate > 0 && _t > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_tbl_count` [INFO] [stdout] --> src/main.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | let current_tbl_count = match get_table_count(&pool, table).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_tbl_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_clone` [INFO] [stdout] --> src/main.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | let table_clone = table.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:429:28 [INFO] [stdout] | [INFO] [stdout] 429 | Ok(r) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let action = &args.action; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replica_group` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let replica_group = &args.replica_group; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replica_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let key = "string"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_count_thread` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let get_count_thread = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_count_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec_1` [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut vec_1 = Vec::<(&str, &str, &str)>::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vec_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let progress = for (index, r) in peers.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let mut vec_1 = Vec::<(&str, &str, &str)>::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllTypesTest` is never constructed [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct AllTypesTest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `apiName`, and `message` are never read [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct ApiError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 99 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | apiName: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | message: Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `database`, `query`, and `apiError` are never read [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct QueryResultCountResponse { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | database: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | query: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | count: u64, [INFO] [stdout] 111 | apiError: Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResultCountResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `message` are never read [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct CommonMessageResult { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 117 | status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonMessageResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRUCK` is never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | static TRUCK: Emoji<'_, '_> = Emoji("🚚 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOOKING_GLASS` is never used [INFO] [stdout] --> src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLIP` is never used [INFO] [stdout] --> src/main.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | static CLIP: Emoji<'_, '_> = Emoji("🔗 ", ""); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PAPER` is never used [INFO] [stdout] --> src/main.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | static PAPER: Emoji<'_, '_> = Emoji("📃 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HOST` is never used [INFO] [stdout] --> src/main.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | static HOST: Emoji<'_, '_> = Emoji("🖥️ ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PORT` is never used [INFO] [stdout] --> src/main.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | static PORT: Emoji<'_, '_> = Emoji("🔌 ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_dir` is never used [INFO] [stdout] --> src/main.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn load_dir(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_record` is never used [INFO] [stdout] --> src/main.rs:475:4 [INFO] [stdout] | [INFO] [stdout] 475 | fn load_record(record: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_record` is never used [INFO] [stdout] --> src/main.rs:481:4 [INFO] [stdout] | [INFO] [stdout] 481 | fn append_to_record(path: &str, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_batch_delete` is never used [INFO] [stdout] --> src/main.rs:491:10 [INFO] [stdout] | [INFO] [stdout] 491 | async fn execute_batch_delete(id_file: &str, pool: &Pool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:504:10 [INFO] [stdout] | [INFO] [stdout] 504 | async fn test() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | apiName: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataServerId` should have a snake case name [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | dataServerId: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `data_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiError` should have a snake case name [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | apiError: Option [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `api_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 272 | let _ = insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 43.36s [INFO] running `Command { std: "docker" "inspect" "8beb2f84a9557b668674e4595d63b7f513803ccdfad01f42d83209518b0be8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8beb2f84a9557b668674e4595d63b7f513803ccdfad01f42d83209518b0be8ca", kill_on_drop: false }` [INFO] [stdout] 8beb2f84a9557b668674e4595d63b7f513803ccdfad01f42d83209518b0be8ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02d4fb32532f077a4a8c5b5cb0537aabe34ccc3fbd86f127b303e80ecaf53b6b [INFO] running `Command { std: "docker" "start" "-a" "02d4fb32532f077a4a8c5b5cb0537aabe34ccc3fbd86f127b303e80ecaf53b6b", kill_on_drop: false }` [INFO] [stderr] Compiling data_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `task`, `time` [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use tokio::{task, time}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Rng`, `thread_rng` [INFO] [stdout] --> src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HumanDuration` [INFO] [stdout] --> src/main.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use indicatif::{HumanDuration, MultiProgress, ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::HeaderMap` [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use reqwest::header::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | let _batch = if(rate <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 335 - let _batch = if(rate <= 0) { [INFO] [stdout] 335 + let _batch = if rate <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:336:11 [INFO] [stdout] | [INFO] [stdout] 336 | if(batch > count) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 336 - if(batch > count) { [INFO] [stdout] 336 + if batch > count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:347:15 [INFO] [stdout] | [INFO] [stdout] 347 | if(count == 0 || batch == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 347 - if(count == 0 || batch == 0) { [INFO] [stdout] 347 + if count == 0 || batch == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:359:31 [INFO] [stdout] | [INFO] [stdout] 359 | let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 359 - let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] 359 + let round = if count % _batch == 0 {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 436 | if(rate > 0 && _t > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 436 - if(rate > 0 && _t > 0) { [INFO] [stdout] 436 + if rate > 0 && _t > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_tbl_count` [INFO] [stdout] --> src/main.rs:350:21 [INFO] [stdout] | [INFO] [stdout] 350 | let current_tbl_count = match get_table_count(&pool, table).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_tbl_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_clone` [INFO] [stdout] --> src/main.rs:358:21 [INFO] [stdout] | [INFO] [stdout] 358 | let table_clone = table.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:429:28 [INFO] [stdout] | [INFO] [stdout] 429 | Ok(r) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let action = &args.action; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replica_group` [INFO] [stdout] --> src/main.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | let replica_group = &args.replica_group; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replica_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let key = "string"; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `get_count_thread` [INFO] [stdout] --> src/main.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | let get_count_thread = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_count_thread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec_1` [INFO] [stdout] --> src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut vec_1 = Vec::<(&str, &str, &str)>::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vec_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress` [INFO] [stdout] --> src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | let progress = for (index, r) in peers.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let mut vec_1 = Vec::<(&str, &str, &str)>::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllTypesTest` is never constructed [INFO] [stdout] --> src/main.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | struct AllTypesTest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code`, `apiName`, and `message` are never read [INFO] [stdout] --> src/main.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 98 | struct ApiError { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 99 | code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 100 | apiName: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 101 | message: Option [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `database`, `query`, and `apiError` are never read [INFO] [stdout] --> src/main.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct QueryResultCountResponse { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | database: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 109 | query: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | count: u64, [INFO] [stdout] 111 | apiError: Option [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResultCountResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `status` and `message` are never read [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | struct CommonMessageResult { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 117 | status: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 118 | message: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommonMessageResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRUCK` is never used [INFO] [stdout] --> src/main.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | static TRUCK: Emoji<'_, '_> = Emoji("🚚 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOOKING_GLASS` is never used [INFO] [stdout] --> src/main.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 122 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLIP` is never used [INFO] [stdout] --> src/main.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | static CLIP: Emoji<'_, '_> = Emoji("🔗 ", ""); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PAPER` is never used [INFO] [stdout] --> src/main.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | static PAPER: Emoji<'_, '_> = Emoji("📃 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HOST` is never used [INFO] [stdout] --> src/main.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | static HOST: Emoji<'_, '_> = Emoji("🖥️ ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PORT` is never used [INFO] [stdout] --> src/main.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | static PORT: Emoji<'_, '_> = Emoji("🔌 ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_dir` is never used [INFO] [stdout] --> src/main.rs:461:4 [INFO] [stdout] | [INFO] [stdout] 461 | fn load_dir(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_record` is never used [INFO] [stdout] --> src/main.rs:475:4 [INFO] [stdout] | [INFO] [stdout] 475 | fn load_record(record: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_record` is never used [INFO] [stdout] --> src/main.rs:481:4 [INFO] [stdout] | [INFO] [stdout] 481 | fn append_to_record(path: &str, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_batch_delete` is never used [INFO] [stdout] --> src/main.rs:491:10 [INFO] [stdout] | [INFO] [stdout] 491 | async fn execute_batch_delete(id_file: &str, pool: &Pool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:504:10 [INFO] [stdout] | [INFO] [stdout] 504 | async fn test() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | apiName: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataServerId` should have a snake case name [INFO] [stdout] --> src/main.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | dataServerId: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `data_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiError` should have a snake case name [INFO] [stdout] --> src/main.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | apiError: Option [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `api_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 272 | let _ = insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "02d4fb32532f077a4a8c5b5cb0537aabe34ccc3fbd86f127b303e80ecaf53b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02d4fb32532f077a4a8c5b5cb0537aabe34ccc3fbd86f127b303e80ecaf53b6b", kill_on_drop: false }` [INFO] [stdout] 02d4fb32532f077a4a8c5b5cb0537aabe34ccc3fbd86f127b303e80ecaf53b6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.77.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a836dac72b1485ed4c8129858c5c24ed6e5916eb7bcc10ddf7467dc74950f281 [INFO] running `Command { std: "docker" "start" "-a" "a836dac72b1485ed4c8129858c5c24ed6e5916eb7bcc10ddf7467dc74950f281", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `chrono::Utc` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::Utc; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread::sleep` [INFO] [stderr] --> src/main.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::thread::sleep; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::sync::Mutex` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use tokio::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `task`, `time` [INFO] [stderr] --> src/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use tokio::{task, time}; [INFO] [stderr] | ^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Rng`, `thread_rng` [INFO] [stderr] --> src/main.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | use rand::{thread_rng, Rng}; [INFO] [stderr] | ^^^^^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HumanDuration` [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | use indicatif::{HumanDuration, MultiProgress, ProgressBar, ProgressStyle}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `reqwest::header::HeaderMap` [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | use reqwest::header::HeaderMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:335:20 [INFO] [stderr] | [INFO] [stderr] 335 | let _batch = if(rate <= 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 335 - let _batch = if(rate <= 0) { [INFO] [stderr] 335 + let _batch = if rate <= 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:336:11 [INFO] [stderr] | [INFO] [stderr] 336 | if(batch > count) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 336 - if(batch > count) { [INFO] [stderr] 336 + if batch > count { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:347:15 [INFO] [stderr] | [INFO] [stderr] 347 | if(count == 0 || batch == 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 347 - if(count == 0 || batch == 0) { [INFO] [stderr] 347 + if count == 0 || batch == 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:359:31 [INFO] [stderr] | [INFO] [stderr] 359 | let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 359 - let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stderr] 359 + let round = if count % _batch == 0 {count / _batch} else {count / _batch + 1}; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:436:23 [INFO] [stderr] | [INFO] [stderr] 436 | if(rate > 0 && _t > 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 436 - if(rate > 0 && _t > 0) { [INFO] [stderr] 436 + if rate > 0 && _t > 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_tbl_count` [INFO] [stderr] --> src/main.rs:350:21 [INFO] [stderr] | [INFO] [stderr] 350 | let current_tbl_count = match get_table_count(&pool, table).await { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_tbl_count` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `table_clone` [INFO] [stderr] --> src/main.rs:358:21 [INFO] [stderr] | [INFO] [stderr] 358 | let table_clone = table.clone(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_clone` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r` [INFO] [stderr] --> src/main.rs:429:28 [INFO] [stderr] | [INFO] [stderr] 429 | Ok(r) => {}, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `action` [INFO] [stderr] --> src/main.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | let action = &args.action; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `replica_group` [INFO] [stderr] --> src/main.rs:148:9 [INFO] [stderr] | [INFO] [stderr] 148 | let replica_group = &args.replica_group; [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replica_group` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/main.rs:157:9 [INFO] [stderr] | [INFO] [stderr] 157 | let key = "string"; [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `get_count_thread` [INFO] [stderr] --> src/main.rs:178:9 [INFO] [stderr] | [INFO] [stderr] 178 | let get_count_thread = tokio::spawn(async move { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_get_count_thread` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `vec_1` [INFO] [stderr] --> src/main.rs:204:13 [INFO] [stderr] | [INFO] [stderr] 204 | let mut vec_1 = Vec::<(&str, &str, &str)>::new(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_vec_1` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `progress` [INFO] [stderr] --> src/main.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 214 | let progress = for (index, r) in peers.iter().enumerate() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:204:9 [INFO] [stderr] | [INFO] [stderr] 204 | let mut vec_1 = Vec::<(&str, &str, &str)>::new(); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `AllTypesTest` is never constructed [INFO] [stderr] --> src/main.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | struct AllTypesTest { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `code`, `apiName`, and `message` are never read [INFO] [stderr] --> src/main.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 98 | struct ApiError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 99 | code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 100 | apiName: Option, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 101 | message: Option [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ApiError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `database`, `query`, and `apiError` are never read [INFO] [stderr] --> src/main.rs:108:5 [INFO] [stderr] | [INFO] [stderr] 104 | struct QueryResultCountResponse { [INFO] [stderr] | ------------------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 108 | database: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 109 | query: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 110 | count: u64, [INFO] [stderr] 111 | apiError: Option [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QueryResultCountResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `status` and `message` are never read [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 116 | struct CommonMessageResult { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 117 | status: i32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 118 | message: String [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CommonMessageResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: static `TRUCK` is never used [INFO] [stderr] --> src/main.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | static TRUCK: Emoji<'_, '_> = Emoji("🚚 ", ""); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `LOOKING_GLASS` is never used [INFO] [stderr] --> src/main.rs:122:8 [INFO] [stderr] | [INFO] [stderr] 122 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `CLIP` is never used [INFO] [stderr] --> src/main.rs:124:8 [INFO] [stderr] | [INFO] [stderr] 124 | static CLIP: Emoji<'_, '_> = Emoji("🔗 ", ""); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `PAPER` is never used [INFO] [stderr] --> src/main.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | static PAPER: Emoji<'_, '_> = Emoji("📃 ", ""); [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `HOST` is never used [INFO] [stderr] --> src/main.rs:133:8 [INFO] [stderr] | [INFO] [stderr] 133 | static HOST: Emoji<'_, '_> = Emoji("🖥️ ", ":-)"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: static `PORT` is never used [INFO] [stderr] --> src/main.rs:135:8 [INFO] [stderr] | [INFO] [stderr] 135 | static PORT: Emoji<'_, '_> = Emoji("🔌 ", ":-)"); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_dir` is never used [INFO] [stderr] --> src/main.rs:461:4 [INFO] [stderr] | [INFO] [stderr] 461 | fn load_dir(dir: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_record` is never used [INFO] [stderr] --> src/main.rs:475:4 [INFO] [stderr] | [INFO] [stderr] 475 | fn load_record(record: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `append_to_record` is never used [INFO] [stdout] [INFO] [stderr] --> src/main.rs:481:4 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 481 | fn append_to_record(path: &str, content: &str) -> Result<()> { [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: function `execute_batch_delete` is never used [INFO] [stderr] --> src/main.rs:491:10 [INFO] [stderr] | [INFO] [stderr] 491 | async fn execute_batch_delete(id_file: &str, pool: &Pool) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `test` is never used [INFO] [stderr] --> src/main.rs:504:10 [INFO] [stderr] | [INFO] [stderr] 504 | async fn test() -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `apiName` should have a snake case name [INFO] [stderr] --> src/main.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | apiName: Option, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `dataServerId` should have a snake case name [INFO] [stderr] --> src/main.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | dataServerId: String, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `data_server_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `apiError` should have a snake case name [INFO] [stderr] --> src/main.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | apiError: Option [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `api_error` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | insert_into(&args, &pool_for_insert).await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 272 | let _ = insert_into(&args, &pool_for_insert).await; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `data_tools` (bin "data_tools" test) generated 43 warnings (run `cargo fix --bin "data_tools" --tests` to apply 24 suggestions) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/data_tools-d76d1361cf290bb0) [INFO] running `Command { std: "docker" "inspect" "a836dac72b1485ed4c8129858c5c24ed6e5916eb7bcc10ddf7467dc74950f281", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a836dac72b1485ed4c8129858c5c24ed6e5916eb7bcc10ddf7467dc74950f281", kill_on_drop: false }` [INFO] [stdout] a836dac72b1485ed4c8129858c5c24ed6e5916eb7bcc10ddf7467dc74950f281 [INFO] testing YouXiang-Wang/data_tools against beta-2024-03-24 for beta-1.78-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YouXiang-Wang/data_tools on toolchain beta-2024-03-24 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/YouXiang-Wang/data_tools [INFO] finished tweaking git repo https://github.com/YouXiang-Wang/data_tools [INFO] tweaked toml for git repo https://github.com/YouXiang-Wang/data_tools written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/YouXiang-Wang/data_tools 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" "+beta-2024-03-24" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09492353f7cd01b4db5e1982a4be252a6cd36b534f44592854902ef98db4a4df [INFO] running `Command { std: "docker" "start" "-a" "09492353f7cd01b4db5e1982a4be252a6cd36b534f44592854902ef98db4a4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09492353f7cd01b4db5e1982a4be252a6cd36b534f44592854902ef98db4a4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09492353f7cd01b4db5e1982a4be252a6cd36b534f44592854902ef98db4a4df", kill_on_drop: false }` [INFO] [stdout] 09492353f7cd01b4db5e1982a4be252a6cd36b534f44592854902ef98db4a4df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-03-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a7ac8b4276c9f11a8f94ad950271df1da25acfd71ef193635b5ca9f54731bc7 [INFO] running `Command { std: "docker" "start" "-a" "1a7ac8b4276c9f11a8f94ad950271df1da25acfd71ef193635b5ca9f54731bc7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling allocator-api2 v0.2.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling ahash v0.7.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling indexmap v2.2.2 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling iana-time-zone v0.1.59 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling time v0.3.32 [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-03-24-x86_64-unknown-linux-gnu/bin/rustc --crate-name tokio --edition=2021 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.35.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="num_cpus"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' -C metadata=5bb16ba79f73304b -C extra-filename=-5bb16ba79f73304b --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-d5ef6100ae69ca23.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-bf41f70c54b8b7aa.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-025281486db649c8.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-3f165689c8327eb7.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-085b19c93bbb2231.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-a61c41972549b4b1.rmeta --cap-lints allow --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/beta-2024-03-24-x86_64-unknown-linux-gnu/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="derive"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' -C metadata=c0cf43f5d581151f -C extra-filename=-c0cf43f5d581151f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-b8e8a5d5cca7118d.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-ddd163f0e0b0a4be.rmeta --extern unicode_ident=/opt/rustwide/target/debug/deps/libunicode_ident-074c333503047827.rmeta --cap-lints allow --cap-lints=warn --cfg syn_disable_nightly_tests` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "1a7ac8b4276c9f11a8f94ad950271df1da25acfd71ef193635b5ca9f54731bc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a7ac8b4276c9f11a8f94ad950271df1da25acfd71ef193635b5ca9f54731bc7", kill_on_drop: false }` [INFO] [stdout] 1a7ac8b4276c9f11a8f94ad950271df1da25acfd71ef193635b5ca9f54731bc7